├── .gitignore ├── .project ├── .settings ├── .jsdtscope ├── org.eclipse.core.resources.prefs ├── org.eclipse.jdt.core.prefs ├── org.eclipse.wst.common.component ├── org.eclipse.wst.common.project.facet.core.xml ├── org.eclipse.wst.jsdt.ui.superType.container └── org.eclipse.wst.jsdt.ui.superType.name ├── LICENSE ├── README.md ├── WebContent ├── META-INF │ └── MANIFEST.MF ├── WEB-INF │ ├── lib │ │ ├── alipay-sdk-java20170324180803-source.jar │ │ ├── alipay-sdk-java20170324180803.jar │ │ ├── commons-beanutils-1.7.0.jar │ │ ├── commons-beanutils.jar │ │ ├── commons-collections-3.2.1.jar │ │ ├── commons-collections.jar │ │ ├── commons-fileupload-1.3.2.jar │ │ ├── commons-io-2.5.jar │ │ ├── commons-lang-2.3.jar │ │ ├── commons-logging-1.1.1.jar │ │ ├── commons-logging.jar │ │ ├── ezmorph-1.0.3.jar │ │ ├── gson-2.2.4.jar │ │ ├── javax.servlet.jsp.jstl.jar │ │ ├── json-lib-2.2.3-jdk15.jar │ │ ├── jstl-impl.jar │ │ ├── mysql-connector-java-5.1.18-bin.jar │ │ └── org.apache.httpcomponents.httpclient_4.3.5.jar │ └── upload │ │ ├── 2 │ │ └── 3 │ │ │ └── cef9e8c0-03cc-433a-b76a-f0260eff0f8f_pic-3.png │ │ └── 15 │ │ └── 2 │ │ └── 09c64672-c948-4224-946d-9119d7caebdd_pic-2.png ├── admin │ ├── StoreAnalysis.jsp │ ├── adminAdd.jsp │ ├── adminList.jsp │ ├── css │ │ ├── basictable.css │ │ ├── bootstrap.min.css │ │ ├── component.css │ │ ├── demo.css │ │ ├── font-awesome.css │ │ ├── icon-font.min.css │ │ ├── jqcandlestick.css │ │ ├── jquery-ui.css │ │ ├── lightbox.css │ │ ├── monthly.css │ │ ├── morris.css │ │ ├── normalize.css │ │ ├── style.css │ │ └── table-style.css │ ├── fonts │ │ ├── FontAwesome.otf │ │ ├── fontawesome-webfont.eot │ │ ├── fontawesome-webfont.svg │ │ ├── fontawesome-webfont.ttf │ │ ├── fontawesome-webfont.woff │ │ ├── fontawesome-webfont.woff2 │ │ ├── glyphicons-halflings-regular.woff │ │ └── glyphicons-halflings-regular.woff2 │ ├── foot.jsp │ ├── goodsAdd.jsp │ ├── goodsList.jsp │ ├── headnav.jsp │ ├── images │ │ ├── close.png │ │ ├── closew.gif │ │ ├── cross.png │ │ ├── g1.jpg │ │ ├── g2.jpg │ │ ├── g3.jpg │ │ ├── g4.jpg │ │ ├── g5.jpg │ │ ├── g6.jpg │ │ ├── g7.jpg │ │ ├── g8.jpg │ │ ├── g9.jpg │ │ ├── grid.png │ │ ├── icon_sprite.png │ │ ├── in.jpg │ │ ├── in1.jpg │ │ ├── in10.jpg │ │ ├── in11.jpg │ │ ├── in2.jpg │ │ ├── in3.jpg │ │ ├── in4.jpg │ │ ├── in5.jpg │ │ ├── in6.jpg │ │ ├── in7.jpg │ │ ├── in8.jpg │ │ ├── in9.jpg │ │ ├── leftw.gif │ │ ├── next.png │ │ ├── phon.png │ │ ├── prev.png │ │ ├── right_arrow.png │ │ ├── rightw.gif │ │ ├── search.png │ │ ├── smile.png │ │ ├── tick.png │ │ └── tick1.png │ ├── img │ │ ├── demo-1-bg.jpg │ │ └── login_ico.png │ ├── index.html │ ├── index.jsp │ ├── js │ │ ├── Chart.js │ │ ├── EasePack.min.js │ │ ├── TweenLite.min.js │ │ ├── admin.js │ │ ├── bootstrap.min.js │ │ ├── demo-1.js │ │ ├── html5.js │ │ ├── jquery-2.1.4.min.js │ │ ├── jquery-ui.js │ │ ├── jquery.basictable.min.js │ │ ├── jquery.jqcandlestick.min.js │ │ ├── jquery.nicescroll.js │ │ ├── lightbox-plus-jquery.min.js │ │ ├── monthly.js │ │ ├── morris.js │ │ ├── rAF.js │ │ ├── raphael-min.js │ │ ├── scripts.js │ │ └── userAdd.js │ ├── layui │ │ ├── css │ │ │ ├── layui.css │ │ │ ├── layui.mobile.css │ │ │ └── modules │ │ │ │ ├── code.css │ │ │ │ ├── laydate │ │ │ │ └── default │ │ │ │ │ └── laydate.css │ │ │ │ └── layer │ │ │ │ └── default │ │ │ │ ├── icon-ext.png │ │ │ │ ├── icon.png │ │ │ │ ├── layer.css │ │ │ │ ├── loading-0.gif │ │ │ │ ├── loading-1.gif │ │ │ │ └── loading-2.gif │ │ ├── font │ │ │ ├── iconfont.eot │ │ │ ├── iconfont.svg │ │ │ ├── iconfont.ttf │ │ │ └── iconfont.woff │ │ ├── images │ │ │ └── face │ │ │ │ ├── 0.gif │ │ │ │ ├── 1.gif │ │ │ │ ├── 10.gif │ │ │ │ ├── 11.gif │ │ │ │ ├── 12.gif │ │ │ │ ├── 13.gif │ │ │ │ ├── 14.gif │ │ │ │ ├── 15.gif │ │ │ │ ├── 16.gif │ │ │ │ ├── 17.gif │ │ │ │ ├── 18.gif │ │ │ │ ├── 19.gif │ │ │ │ ├── 2.gif │ │ │ │ ├── 20.gif │ │ │ │ ├── 21.gif │ │ │ │ ├── 22.gif │ │ │ │ ├── 23.gif │ │ │ │ ├── 24.gif │ │ │ │ ├── 25.gif │ │ │ │ ├── 26.gif │ │ │ │ ├── 27.gif │ │ │ │ ├── 28.gif │ │ │ │ ├── 29.gif │ │ │ │ ├── 3.gif │ │ │ │ ├── 30.gif │ │ │ │ ├── 31.gif │ │ │ │ ├── 32.gif │ │ │ │ ├── 33.gif │ │ │ │ ├── 34.gif │ │ │ │ ├── 35.gif │ │ │ │ ├── 36.gif │ │ │ │ ├── 37.gif │ │ │ │ ├── 38.gif │ │ │ │ ├── 39.gif │ │ │ │ ├── 4.gif │ │ │ │ ├── 40.gif │ │ │ │ ├── 41.gif │ │ │ │ ├── 42.gif │ │ │ │ ├── 43.gif │ │ │ │ ├── 44.gif │ │ │ │ ├── 45.gif │ │ │ │ ├── 46.gif │ │ │ │ ├── 47.gif │ │ │ │ ├── 48.gif │ │ │ │ ├── 49.gif │ │ │ │ ├── 5.gif │ │ │ │ ├── 50.gif │ │ │ │ ├── 51.gif │ │ │ │ ├── 52.gif │ │ │ │ ├── 53.gif │ │ │ │ ├── 54.gif │ │ │ │ ├── 55.gif │ │ │ │ ├── 56.gif │ │ │ │ ├── 57.gif │ │ │ │ ├── 58.gif │ │ │ │ ├── 59.gif │ │ │ │ ├── 6.gif │ │ │ │ ├── 60.gif │ │ │ │ ├── 61.gif │ │ │ │ ├── 62.gif │ │ │ │ ├── 63.gif │ │ │ │ ├── 64.gif │ │ │ │ ├── 65.gif │ │ │ │ ├── 66.gif │ │ │ │ ├── 67.gif │ │ │ │ ├── 68.gif │ │ │ │ ├── 69.gif │ │ │ │ ├── 7.gif │ │ │ │ ├── 70.gif │ │ │ │ ├── 71.gif │ │ │ │ ├── 8.gif │ │ │ │ └── 9.gif │ │ ├── lay │ │ │ └── modules │ │ │ │ ├── carousel.js │ │ │ │ ├── code.js │ │ │ │ ├── colorpicker.js │ │ │ │ ├── element.js │ │ │ │ ├── flow.js │ │ │ │ ├── form.js │ │ │ │ ├── jquery.js │ │ │ │ ├── laydate.js │ │ │ │ ├── layedit.js │ │ │ │ ├── layer.js │ │ │ │ ├── laypage.js │ │ │ │ ├── laytpl.js │ │ │ │ ├── mobile.js │ │ │ │ ├── rate.js │ │ │ │ ├── slider.js │ │ │ │ ├── table.js │ │ │ │ ├── tree.js │ │ │ │ ├── upload.js │ │ │ │ └── util.js │ │ ├── layui.all.js │ │ └── layui.js │ ├── left.jsp │ ├── login.jsp │ ├── message.jsp │ ├── orderList.jsp │ ├── portGoods.jsp │ ├── typeAdd.jsp │ ├── typeList.jsp │ ├── userAdd.jsp │ ├── userList.jsp │ └── 说明.txt ├── alipay.trade.close.jsp ├── alipay.trade.fastpay.refund.query.jsp ├── alipay.trade.page.pay.jsp ├── alipay.trade.query.jsp ├── alipay.trade.refund.jsp ├── index.jsp ├── index │ ├── .project │ ├── about.jsp │ ├── buy.jsp │ ├── cart.jsp │ ├── contact.jsp │ ├── css │ │ ├── animate.css │ │ ├── bootstrap.min.css │ │ ├── font-awesome.min.css │ │ ├── j-forms.css │ │ ├── jquery-ui.min.css │ │ ├── meanmenu.min.css │ │ ├── nivo-slider.css │ │ ├── owl.carousel.css │ │ ├── p-forms.css │ │ ├── responsive.css │ │ ├── style.css │ │ ├── style2.css │ │ └── style3.css │ ├── fonts │ │ ├── fontawesome-webfont.eot │ │ ├── fontawesome-webfont.ttf │ │ ├── fontawesome-webfont.woff │ │ └── fontawesome-webfont.woff2 │ ├── foot.jsp │ ├── headhav.jsp │ ├── images │ │ ├── 1.jpg │ │ ├── 2.jpg │ │ ├── 3.jpg │ │ ├── Thumbs.db │ │ ├── bg02.jpg │ │ ├── img1.jpg │ │ └── p1.jpg │ ├── img │ │ ├── banner │ │ │ ├── 1.png │ │ │ ├── 11.jpg │ │ │ ├── 12.jpg │ │ │ ├── 2.png │ │ │ ├── 3.png │ │ │ ├── bane.jpg │ │ │ ├── bg3.jpg │ │ │ ├── 戴安娜粉玫瑰.jpg │ │ │ ├── 粉百合.jpg │ │ │ ├── 金枝玉叶玫瑰.jpg │ │ │ └── 香槟玫瑰.jpg │ │ ├── bg │ │ │ ├── 404.jpg │ │ │ ├── 4body.png │ │ │ ├── about.jpg │ │ │ ├── about2.jpg │ │ │ ├── best1.jpg │ │ │ ├── bg01.jpg │ │ │ ├── blog.jpg │ │ │ ├── blogdet.jpg │ │ │ ├── check.jpg │ │ │ ├── contact.jpg │ │ │ ├── login.jpg │ │ │ ├── prodet.jpg │ │ │ └── wish.jpg │ │ ├── bg03.jpg │ │ ├── blog │ │ │ ├── 1.jpg │ │ │ ├── 2.jpg │ │ │ ├── 3.jpg │ │ │ └── 4.jpg │ │ ├── brand │ │ │ └── 1.png │ │ ├── cart │ │ │ ├── a01.jpg │ │ │ ├── a03.jpg │ │ │ ├── 粉色满天星.jpg │ │ │ └── 紫色小雏菊.jpg │ │ ├── lang │ │ │ ├── 1.jpg │ │ │ ├── 2.jpg │ │ │ ├── 3.jpg │ │ │ ├── 4.jpg │ │ │ ├── 5.jpg │ │ │ ├── 6.jpg │ │ │ └── 7.jpg │ │ ├── logo.png │ │ ├── payment.png │ │ ├── pro-tab │ │ │ ├── 1.jpg │ │ │ ├── 2.jpg │ │ │ ├── 3.jpg │ │ │ ├── 4.jpg │ │ │ └── a01.jpg │ │ ├── singlepro │ │ │ ├── 多头黄百合.jpg │ │ │ ├── 戴安娜粉玫瑰.jpg │ │ │ ├── 明亮向日葵.jpg │ │ │ ├── 浅香槟玫瑰.jpg │ │ │ ├── 白玫瑰.jpg │ │ │ ├── 白色多头香水百合.jpg │ │ │ ├── 白色郁金香.jpg │ │ │ ├── 粉百合.jpg │ │ │ ├── 粉紫色郁金香.png │ │ │ ├── 粉色多头康乃馨.jpg │ │ │ ├── 粉色康乃馨.jpg │ │ │ ├── 粉色扶郎.jpg │ │ │ ├── 粉色洋桔梗.jpg │ │ │ ├── 粉色满天星.jpg │ │ │ ├── 粉色非洲菊.jpg │ │ │ ├── 紫玫瑰.jpg │ │ │ ├── 紫色小雏菊.jpg │ │ │ ├── 紫色桔梗.jpg │ │ │ ├── 红玫瑰.jpg │ │ │ ├── 红色康乃馨.jpg │ │ │ ├── 红色扶郎.jpg │ │ │ ├── 蓝色满天星.jpg │ │ │ ├── 金枝玉叶玫瑰.jpg │ │ │ └── 香槟玫瑰.jpg │ │ ├── slider │ │ │ ├── 41.jpg │ │ │ ├── 42.jpg │ │ │ ├── hua1.jpg │ │ │ └── hua2.jpg │ │ ├── team │ │ │ ├── 1.jpg │ │ │ ├── 2.jpg │ │ │ ├── 3.jpg │ │ │ └── 4.jpg │ │ └── we2.png │ ├── index.jsp │ ├── js │ │ ├── bootstrap-3.3.7-dist │ │ │ ├── css │ │ │ │ ├── bootstrap-theme.css │ │ │ │ ├── bootstrap-theme.css.map │ │ │ │ ├── bootstrap-theme.min.css │ │ │ │ ├── bootstrap-theme.min.css.map │ │ │ │ ├── bootstrap.css │ │ │ │ ├── bootstrap.css.map │ │ │ │ ├── bootstrap.min.css │ │ │ │ └── bootstrap.min.css.map │ │ │ ├── fonts │ │ │ │ ├── glyphicons-halflings-regular.eot │ │ │ │ ├── glyphicons-halflings-regular.svg │ │ │ │ ├── glyphicons-halflings-regular.ttf │ │ │ │ ├── glyphicons-halflings-regular.woff │ │ │ │ └── glyphicons-halflings-regular.woff2 │ │ │ └── js │ │ │ │ ├── bootstrap.js │ │ │ │ ├── bootstrap.min.js │ │ │ │ └── npm.js │ │ ├── bootstrap.min.js │ │ ├── cart.js │ │ ├── common.js │ │ ├── countdown.js │ │ ├── flowershow.js │ │ ├── jquery-ui.min.js │ │ ├── jquery.1.11.1.min.js │ │ ├── jquery.meanmenu.js │ │ ├── jquery.min.js │ │ ├── jquery.nivo.slider.pack.js │ │ ├── jquery.validate.min.js │ │ ├── main.js │ │ ├── owl.carousel.min.js │ │ ├── plugins.js │ │ ├── supersized-init.js │ │ ├── supersized.3.2.7.min.js │ │ ├── vendor │ │ │ └── jquery-1.12.0.min.js │ │ └── wow.min.js │ ├── layui │ │ ├── css │ │ │ ├── layui.css │ │ │ ├── layui.mobile.css │ │ │ └── modules │ │ │ │ ├── code.css │ │ │ │ ├── laydate │ │ │ │ └── default │ │ │ │ │ └── laydate.css │ │ │ │ └── layer │ │ │ │ └── default │ │ │ │ ├── icon-ext.png │ │ │ │ ├── icon.png │ │ │ │ ├── layer.css │ │ │ │ ├── loading-0.gif │ │ │ │ ├── loading-1.gif │ │ │ │ └── loading-2.gif │ │ ├── font │ │ │ ├── iconfont.eot │ │ │ ├── iconfont.svg │ │ │ ├── iconfont.ttf │ │ │ └── iconfont.woff │ │ ├── images │ │ │ └── face │ │ │ │ ├── 0.gif │ │ │ │ ├── 1.gif │ │ │ │ ├── 10.gif │ │ │ │ ├── 11.gif │ │ │ │ ├── 12.gif │ │ │ │ ├── 13.gif │ │ │ │ ├── 14.gif │ │ │ │ ├── 15.gif │ │ │ │ ├── 16.gif │ │ │ │ ├── 17.gif │ │ │ │ ├── 18.gif │ │ │ │ ├── 19.gif │ │ │ │ ├── 2.gif │ │ │ │ ├── 20.gif │ │ │ │ ├── 21.gif │ │ │ │ ├── 22.gif │ │ │ │ ├── 23.gif │ │ │ │ ├── 24.gif │ │ │ │ ├── 25.gif │ │ │ │ ├── 26.gif │ │ │ │ ├── 27.gif │ │ │ │ ├── 28.gif │ │ │ │ ├── 29.gif │ │ │ │ ├── 3.gif │ │ │ │ ├── 30.gif │ │ │ │ ├── 31.gif │ │ │ │ ├── 32.gif │ │ │ │ ├── 33.gif │ │ │ │ ├── 34.gif │ │ │ │ ├── 35.gif │ │ │ │ ├── 36.gif │ │ │ │ ├── 37.gif │ │ │ │ ├── 38.gif │ │ │ │ ├── 39.gif │ │ │ │ ├── 4.gif │ │ │ │ ├── 40.gif │ │ │ │ ├── 41.gif │ │ │ │ ├── 42.gif │ │ │ │ ├── 43.gif │ │ │ │ ├── 44.gif │ │ │ │ ├── 45.gif │ │ │ │ ├── 46.gif │ │ │ │ ├── 47.gif │ │ │ │ ├── 48.gif │ │ │ │ ├── 49.gif │ │ │ │ ├── 5.gif │ │ │ │ ├── 50.gif │ │ │ │ ├── 51.gif │ │ │ │ ├── 52.gif │ │ │ │ ├── 53.gif │ │ │ │ ├── 54.gif │ │ │ │ ├── 55.gif │ │ │ │ ├── 56.gif │ │ │ │ ├── 57.gif │ │ │ │ ├── 58.gif │ │ │ │ ├── 59.gif │ │ │ │ ├── 6.gif │ │ │ │ ├── 60.gif │ │ │ │ ├── 61.gif │ │ │ │ ├── 62.gif │ │ │ │ ├── 63.gif │ │ │ │ ├── 64.gif │ │ │ │ ├── 65.gif │ │ │ │ ├── 66.gif │ │ │ │ ├── 67.gif │ │ │ │ ├── 68.gif │ │ │ │ ├── 69.gif │ │ │ │ ├── 7.gif │ │ │ │ ├── 70.gif │ │ │ │ ├── 71.gif │ │ │ │ ├── 8.gif │ │ │ │ └── 9.gif │ │ ├── lay │ │ │ └── modules │ │ │ │ ├── carousel.js │ │ │ │ ├── code.js │ │ │ │ ├── colorpicker.js │ │ │ │ ├── element.js │ │ │ │ ├── flow.js │ │ │ │ ├── form.js │ │ │ │ ├── jquery.js │ │ │ │ ├── laydate.js │ │ │ │ ├── layedit.js │ │ │ │ ├── layer.js │ │ │ │ ├── laypage.js │ │ │ │ ├── laytpl.js │ │ │ │ ├── mobile.js │ │ │ │ ├── rate.js │ │ │ │ ├── slider.js │ │ │ │ ├── table.js │ │ │ │ ├── tree.js │ │ │ │ ├── upload.js │ │ │ │ └── util.js │ │ ├── layui.all.js │ │ └── layui.js │ ├── login.jsp │ ├── music │ │ ├── 七里香.mp3 │ │ └── 晴天.mp3 │ ├── myAddress.jsp │ ├── myOrder.jsp │ ├── personal.jsp │ ├── productionDetail.jsp │ ├── pwd.jsp │ ├── register.jsp │ ├── shop.jsp │ ├── style.css │ └── success.jsp ├── message.jsp ├── notify_url.jsp ├── return_url.jsp └── upload.jsp ├── rosemary.sql └── src └── com ├── alipay └── config │ └── AlipayConfig.java └── ros ├── api ├── HttpDeleteWithBody.java ├── MessageSend.java └── RequestEncoder.java ├── controller ├── AddressServlet.java ├── CartServlet.java ├── FlowerInfoServlet.java ├── ManagerServlet.java ├── MessageServlet.java ├── OrderServlet.java ├── TypesServlet.java ├── UpLoadPhotoServlet.java ├── UploadHandleServlet.java ├── UserBeanServlet.java └── UserServlet.java ├── dao ├── AddressDao.java ├── CommentDao.java ├── FlowerInfoDao.java ├── ManagerDao.java ├── MessageDao.java ├── MyOrdersDao.java ├── TypesDao.java ├── UserBeanDao.java └── UserDao.java ├── dao_impl ├── AddressDaoImpl.java ├── CommentDaoImpl.java ├── FlowerInfoDaoImpl.java ├── ManagerDaoImpl.java ├── MessageDaoImpl.java ├── MyOrdersDaoImpl.java ├── TypesDaoImpl.java ├── UserBeanDaoImpl.java └── UserDaoImpl.java ├── entity ├── Address.java ├── Cart.java ├── CartItem.java ├── Comment.java ├── FlowerInfo.java ├── FlowerType.java ├── Manager.java ├── Message.java ├── OrderInfo.java ├── OrderInfo_Re_FlowerInfo.java ├── Orders.java ├── Types.java ├── UserBasicInfo.java ├── UserBean.java └── UserDetailInfo.java ├── service ├── AddressService.java ├── CommentService.java ├── FlowerInfoService.java ├── ManagerService.java ├── MessageService.java ├── MyOrdersService.java ├── TypesService.java ├── UserBeanService.java └── UserService.java ├── service_impl ├── AddressServiceImpl.java ├── CommentServiceImpl.java ├── FlowerInfoServiceImpl.java ├── ManagerServiceImpl.java ├── MessageServiceImpl.java ├── MyOrdersServiceImpl.java ├── TypesServiceImpl.java ├── UserBeanServiceImpl.java └── UserServiceImpl.java ├── test ├── AddressServiceTest.java ├── FlowerTest.java ├── MangerServiceTest.java ├── OrderTest.java └── UserTest.java └── util ├── BaseDao.java ├── ITransaction.java ├── MD5Util.java └── PageData.java /.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled class file 2 | *.class 3 | 4 | # Log file 5 | *.log 6 | 7 | # BlueJ files 8 | *.ctxt 9 | 10 | # Mobile Tools for Java (J2ME) 11 | .mtj.tmp/ 12 | 13 | # Package Files # 14 | # *.jar 15 | *.war 16 | *.nar 17 | *.ear 18 | *.zip 19 | *.tar.gz 20 | *.rar 21 | 22 | # virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml 23 | hs_err_pid* 24 | /bin/ 25 | -------------------------------------------------------------------------------- /.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | Rosemary 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.wst.common.project.facet.core.builder 15 | 16 | 17 | 18 | 19 | org.eclipse.wst.validation.validationbuilder 20 | 21 | 22 | 23 | 24 | 25 | org.eclipse.jem.workbench.JavaEMFNature 26 | org.eclipse.wst.common.modulecore.ModuleCoreNature 27 | org.eclipse.wst.common.project.facet.core.nature 28 | org.eclipse.jdt.core.javanature 29 | org.eclipse.wst.jsdt.core.jsNature 30 | 31 | 32 | -------------------------------------------------------------------------------- /.settings/.jsdtscope: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | encoding//WebContent/admin/headnav.jsp=UTF-8 3 | encoding//src/com/ros/dao/UserDao.java=UTF-8 4 | encoding//src/com/ros/service_impl/UserServiceImpl.java=UTF-8 5 | encoding/=UTF-8 6 | -------------------------------------------------------------------------------- /.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 3 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 4 | org.eclipse.jdt.core.compiler.compliance=1.8 5 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error 6 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 7 | org.eclipse.jdt.core.compiler.source=1.8 8 | -------------------------------------------------------------------------------- /.settings/org.eclipse.wst.common.component: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /.settings/org.eclipse.wst.common.project.facet.core.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /.settings/org.eclipse.wst.jsdt.ui.superType.container: -------------------------------------------------------------------------------- 1 | org.eclipse.wst.jsdt.launching.baseBrowserLibrary -------------------------------------------------------------------------------- /.settings/org.eclipse.wst.jsdt.ui.superType.name: -------------------------------------------------------------------------------- 1 | Window -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2018 hyf8989 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Rosemary 2 | 基于JAVAEE开发的网上花店商城及后台管理系统 3 | 测试提交 -------------------------------------------------------------------------------- /WebContent/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /WebContent/WEB-INF/lib/alipay-sdk-java20170324180803-source.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/WEB-INF/lib/alipay-sdk-java20170324180803-source.jar -------------------------------------------------------------------------------- /WebContent/WEB-INF/lib/alipay-sdk-java20170324180803.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/WEB-INF/lib/alipay-sdk-java20170324180803.jar -------------------------------------------------------------------------------- /WebContent/WEB-INF/lib/commons-beanutils-1.7.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/WEB-INF/lib/commons-beanutils-1.7.0.jar -------------------------------------------------------------------------------- /WebContent/WEB-INF/lib/commons-beanutils.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/WEB-INF/lib/commons-beanutils.jar -------------------------------------------------------------------------------- /WebContent/WEB-INF/lib/commons-collections-3.2.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/WEB-INF/lib/commons-collections-3.2.1.jar -------------------------------------------------------------------------------- /WebContent/WEB-INF/lib/commons-collections.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/WEB-INF/lib/commons-collections.jar -------------------------------------------------------------------------------- /WebContent/WEB-INF/lib/commons-fileupload-1.3.2.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/WEB-INF/lib/commons-fileupload-1.3.2.jar -------------------------------------------------------------------------------- /WebContent/WEB-INF/lib/commons-io-2.5.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/WEB-INF/lib/commons-io-2.5.jar -------------------------------------------------------------------------------- /WebContent/WEB-INF/lib/commons-lang-2.3.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/WEB-INF/lib/commons-lang-2.3.jar -------------------------------------------------------------------------------- /WebContent/WEB-INF/lib/commons-logging-1.1.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/WEB-INF/lib/commons-logging-1.1.1.jar -------------------------------------------------------------------------------- /WebContent/WEB-INF/lib/commons-logging.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/WEB-INF/lib/commons-logging.jar -------------------------------------------------------------------------------- /WebContent/WEB-INF/lib/ezmorph-1.0.3.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/WEB-INF/lib/ezmorph-1.0.3.jar -------------------------------------------------------------------------------- /WebContent/WEB-INF/lib/gson-2.2.4.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/WEB-INF/lib/gson-2.2.4.jar -------------------------------------------------------------------------------- /WebContent/WEB-INF/lib/javax.servlet.jsp.jstl.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/WEB-INF/lib/javax.servlet.jsp.jstl.jar -------------------------------------------------------------------------------- /WebContent/WEB-INF/lib/json-lib-2.2.3-jdk15.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/WEB-INF/lib/json-lib-2.2.3-jdk15.jar -------------------------------------------------------------------------------- /WebContent/WEB-INF/lib/jstl-impl.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/WEB-INF/lib/jstl-impl.jar -------------------------------------------------------------------------------- /WebContent/WEB-INF/lib/mysql-connector-java-5.1.18-bin.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/WEB-INF/lib/mysql-connector-java-5.1.18-bin.jar -------------------------------------------------------------------------------- /WebContent/WEB-INF/lib/org.apache.httpcomponents.httpclient_4.3.5.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/WEB-INF/lib/org.apache.httpcomponents.httpclient_4.3.5.jar -------------------------------------------------------------------------------- /WebContent/WEB-INF/upload/15/2/09c64672-c948-4224-946d-9119d7caebdd_pic-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/WEB-INF/upload/15/2/09c64672-c948-4224-946d-9119d7caebdd_pic-2.png -------------------------------------------------------------------------------- /WebContent/WEB-INF/upload/2/3/cef9e8c0-03cc-433a-b76a-f0260eff0f8f_pic-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/WEB-INF/upload/2/3/cef9e8c0-03cc-433a-b76a-f0260eff0f8f_pic-3.png -------------------------------------------------------------------------------- /WebContent/admin/css/basictable.css: -------------------------------------------------------------------------------- 1 | /* 2 | * jQuery Basic Table 3 | * Author: Jerry Low 4 | */ 5 | 6 | table.bt thead, 7 | table.bt tbody th { 8 | display: none; 9 | } 10 | 11 | table.bt tfoot th, 12 | table.bt tfoot td, 13 | table.bt tbody td { 14 | border: none; 15 | display: block; 16 | display: -webkit-box; 17 | display: -webkit-flex; 18 | display: -ms-flexbox; 19 | display: flex; 20 | vertical-align: top; 21 | 22 | /* IE 9 */ 23 | float: left\9; 24 | width: 100%\9; 25 | } 26 | 27 | table.bt tfoot th::before, 28 | table.bt tfoot td::before, 29 | table.bt tbody td::before { 30 | content: attr(data-th) ": "; 31 | display: inline-block; 32 | -webkit-flex-shrink: 0; 33 | -ms-flex-shrink: 0; 34 | flex-shrink: 0; 35 | font-weight: bold; 36 | width: 6.5em; 37 | } 38 | 39 | table.bt tfoot th.bt-hide, 40 | table.bt tfoot td.bt-hide, 41 | table.bt tbody td.bt-hide { 42 | display: none; 43 | } 44 | 45 | table.bt tfoot th .bt-content, 46 | table.bt tfoot td .bt-content, 47 | table.bt tbody td .bt-content { 48 | vertical-align: top; 49 | } 50 | 51 | .bt-wrapper.active { 52 | max-height: 310px; 53 | overflow: auto; 54 | -webkit-overflow-scrolling: touch; 55 | } 56 | -------------------------------------------------------------------------------- /WebContent/admin/css/component.css: -------------------------------------------------------------------------------- 1 | /* Header */ 2 | .large-header { 3 | position: relative; 4 | width: 100%; 5 | background: #333; 6 | overflow: hidden; 7 | background-size: cover; 8 | background-position: center center; 9 | z-index: 1; 10 | } 11 | 12 | .demo-1 .large-header { 13 | background-image: url('../img/demo-1-bg.jpg'); 14 | } 15 | .logo_box{ 16 | width: 400px; 17 | height: 500px; 18 | padding: 35px; 19 | color: #EEE; 20 | position: absolute; 21 | left: 50%; 22 | top:50%; 23 | margin-left: -200px; 24 | margin-top: -250px; 25 | } 26 | .logo_box h3{ 27 | text-align: center; 28 | height: 20px; 29 | font: 20px "microsoft yahei",Helvetica,Tahoma,Arial,"Microsoft jhengHei",sans-serif; 30 | color: #FFFFFF; 31 | height: 20px; 32 | line-height: 20px; 33 | padding:0 0 35px 0; 34 | } 35 | .forms{ 36 | width: 280px; 37 | height: 485px; 38 | } 39 | .logon_inof{ 40 | width: 100%; 41 | min-height: 450px; 42 | padding-top: 35px; 43 | position: relative; 44 | } 45 | .input_outer{ 46 | height: 46px; 47 | padding: 0 5px; 48 | margin-bottom: 30px; 49 | border-radius: 50px; 50 | position: relative; 51 | border: rgba(255,255,255,0.2) 2px solid !important; 52 | } 53 | .u_user{ 54 | width: 25px; 55 | height: 25px; 56 | background: url(../img/login_ico.png); 57 | background-position: -125px 0; 58 | position: absolute; 59 | margin: 10px 13px; 60 | } 61 | .us_uer{ 62 | width: 25px; 63 | height: 25px; 64 | background-image: url(../img/login_ico.png); 65 | background-position: -125px -34px; 66 | position: absolute; 67 | margin: 10px 13px; 68 | } 69 | .l-login{ 70 | position: absolute; 71 | z-index: 1; 72 | left: 50px; 73 | top: 0; 74 | height: 46px; 75 | font: 14px "microsoft yahei",Helvetica,Tahoma,Arial,"Microsoft jhengHei"; 76 | line-height: 46px; 77 | } 78 | .text{ 79 | width: 220px; 80 | height: 46px; 81 | outline: none; 82 | display: inline-block; 83 | font: 14px "microsoft yahei",Helvetica,Tahoma,Arial,"Microsoft jhengHei"; 84 | margin-left: 50px; 85 | border: none; 86 | background: none; 87 | line-height: 46px; 88 | } 89 | /*///*/ 90 | .mb2{ 91 | margin-bottom: 20px 92 | } 93 | .mb2 a{ 94 | text-decoration: none; 95 | outline: none; 96 | } 97 | .submit { 98 | padding: 15px; 99 | margin-top: 20px; 100 | display: block; 101 | } 102 | .act-but{ 103 | line-height: 20px; 104 | text-align: center; 105 | font-size: 20px; 106 | border-radius: 50px; 107 | background: #0096e6; 108 | } -------------------------------------------------------------------------------- /WebContent/admin/css/demo.css: -------------------------------------------------------------------------------- 1 | *, *:after, *:before { -webkit-box-sizing: border-box; box-sizing: border-box; } 2 | .clearfix:before, .clearfix:after { content: ''; display: table; } 3 | .clearfix:after { clear: both; } 4 | 5 | body { 6 | background: #fff; 7 | color: #383a3c; 8 | font-weight: 400; 9 | font-size: 1em; 10 | line-height: 1.25; 11 | font-family: 'Raleway', Calibri, Arial, sans-serif; 12 | } 13 | 14 | a, button { 15 | outline: none; 16 | } 17 | 18 | a { 19 | color: #566473; 20 | text-decoration: none; 21 | } 22 | 23 | a:hover, a:focus { 24 | color: #34495e; 25 | } 26 | 27 | section { 28 | padding: 1em; 29 | text-align: center; 30 | } 31 | 32 | p.ref { 33 | text-align: center; 34 | padding: 2em 1em; 35 | } -------------------------------------------------------------------------------- /WebContent/admin/css/jqcandlestick.css: -------------------------------------------------------------------------------- 1 | .jqcandlestick-container { 2 | position: relative; 3 | cursor: none; 4 | } 5 | .jqcandlestick-canvas { 6 | position: absolute; 7 | display: block; 8 | height: 100%; 9 | width: 100%; 10 | } 11 | -------------------------------------------------------------------------------- /WebContent/admin/css/morris.css: -------------------------------------------------------------------------------- 1 | .morris-hover{position:absolute;z-index:1000}.morris-hover.morris-default-style{border-radius:10px;padding:6px;color:#666;background:rgba(255,255,255,0.8);border:solid 2px rgba(230,230,230,0.8);font-family:sans-serif;font-size:12px;text-align:center}.morris-hover.morris-default-style .morris-hover-row-label{font-weight:bold;margin:0.25em 0}.morris-hover.morris-default-style .morris-hover-point{white-space:nowrap;margin:0.1em 0} -------------------------------------------------------------------------------- /WebContent/admin/css/normalize.css: -------------------------------------------------------------------------------- 1 | article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block;}audio,canvas,video{display:inline-block;}audio:not([controls]){display:none;height:0;}[hidden]{display:none;}html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;}body{margin:0;}a:focus{outline:thin dotted;}a:active,a:hover{outline:0;}h1{font-size:2em;margin:0.67em 0;}abbr[title]{border-bottom:1px dotted;}b,strong{font-weight:bold;}dfn{font-style:italic;}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0;}mark{background:#ff0;color:#000;}code,kbd,pre,samp{font-family:monospace,serif;font-size:1em;}pre{white-space:pre-wrap;}q{quotes:"\201C" "\201D" "\2018" "\2019";}small{font-size:80%;}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline;}sup{top:-0.5em;}sub{bottom:-0.25em;}img{border:0;}svg:not(:root){overflow:hidden;}figure{margin:0;}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:0.35em 0.625em 0.75em;}legend{border:0;padding:0;}button,input,select,textarea{font-family:inherit;font-size:100%;margin:0;}button,input{line-height:normal;}button,select{text-transform:none;}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer;}button[disabled],html input[disabled]{cursor:default;}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0;}input[type="search"]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box;}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none;}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0;}textarea{overflow:auto;vertical-align:top;}table{border-collapse:collapse;border-spacing:0;} -------------------------------------------------------------------------------- /WebContent/admin/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /WebContent/admin/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /WebContent/admin/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /WebContent/admin/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /WebContent/admin/fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /WebContent/admin/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /WebContent/admin/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /WebContent/admin/foot.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" contentType="text/html; charset=utf-8" 2 | pageEncoding="utf-8"%> 3 | 4 | 5 | 6 | 7 | Insert title here 8 | 9 | 10 |
11 |

Copyright © 2018.Company name All rights reserved. 12 | Rosemary - Collect from 13 | Join us 14 |

15 |
16 | 17 | -------------------------------------------------------------------------------- /WebContent/admin/images/close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/images/close.png -------------------------------------------------------------------------------- /WebContent/admin/images/closew.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/images/closew.gif -------------------------------------------------------------------------------- /WebContent/admin/images/cross.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/images/cross.png -------------------------------------------------------------------------------- /WebContent/admin/images/g1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/images/g1.jpg -------------------------------------------------------------------------------- /WebContent/admin/images/g2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/images/g2.jpg -------------------------------------------------------------------------------- /WebContent/admin/images/g3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/images/g3.jpg -------------------------------------------------------------------------------- /WebContent/admin/images/g4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/images/g4.jpg -------------------------------------------------------------------------------- /WebContent/admin/images/g5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/images/g5.jpg -------------------------------------------------------------------------------- /WebContent/admin/images/g6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/images/g6.jpg -------------------------------------------------------------------------------- /WebContent/admin/images/g7.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/images/g7.jpg -------------------------------------------------------------------------------- /WebContent/admin/images/g8.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/images/g8.jpg -------------------------------------------------------------------------------- /WebContent/admin/images/g9.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/images/g9.jpg -------------------------------------------------------------------------------- /WebContent/admin/images/grid.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/images/grid.png -------------------------------------------------------------------------------- /WebContent/admin/images/icon_sprite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/images/icon_sprite.png -------------------------------------------------------------------------------- /WebContent/admin/images/in.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/images/in.jpg -------------------------------------------------------------------------------- /WebContent/admin/images/in1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/images/in1.jpg -------------------------------------------------------------------------------- /WebContent/admin/images/in10.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/images/in10.jpg -------------------------------------------------------------------------------- /WebContent/admin/images/in11.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/images/in11.jpg -------------------------------------------------------------------------------- /WebContent/admin/images/in2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/images/in2.jpg -------------------------------------------------------------------------------- /WebContent/admin/images/in3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/images/in3.jpg -------------------------------------------------------------------------------- /WebContent/admin/images/in4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/images/in4.jpg -------------------------------------------------------------------------------- /WebContent/admin/images/in5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/images/in5.jpg -------------------------------------------------------------------------------- /WebContent/admin/images/in6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/images/in6.jpg -------------------------------------------------------------------------------- /WebContent/admin/images/in7.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/images/in7.jpg -------------------------------------------------------------------------------- /WebContent/admin/images/in8.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/images/in8.jpg -------------------------------------------------------------------------------- /WebContent/admin/images/in9.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/images/in9.jpg -------------------------------------------------------------------------------- /WebContent/admin/images/leftw.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/images/leftw.gif -------------------------------------------------------------------------------- /WebContent/admin/images/next.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/images/next.png -------------------------------------------------------------------------------- /WebContent/admin/images/phon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/images/phon.png -------------------------------------------------------------------------------- /WebContent/admin/images/prev.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/images/prev.png -------------------------------------------------------------------------------- /WebContent/admin/images/right_arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/images/right_arrow.png -------------------------------------------------------------------------------- /WebContent/admin/images/rightw.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/images/rightw.gif -------------------------------------------------------------------------------- /WebContent/admin/images/search.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/images/search.png -------------------------------------------------------------------------------- /WebContent/admin/images/smile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/images/smile.png -------------------------------------------------------------------------------- /WebContent/admin/images/tick.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/images/tick.png -------------------------------------------------------------------------------- /WebContent/admin/images/tick1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/images/tick1.png -------------------------------------------------------------------------------- /WebContent/admin/img/demo-1-bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/img/demo-1-bg.jpg -------------------------------------------------------------------------------- /WebContent/admin/img/login_ico.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/img/login_ico.png -------------------------------------------------------------------------------- /WebContent/admin/js/admin.js: -------------------------------------------------------------------------------- 1 | 2 | layui.use([ 'laypage', 'layer' ], function() { 3 | var laypage = layui.laypage, layer = layui.layer; 4 | }); 5 | 6 | $(".layui-btn-normal").click(function() { 7 | var adminName =$(this).parents("tr").find("h6").text(); 8 | layer.open({ 9 | title : "友情提醒?", 10 | skin : "layui-layer-lan", 11 | content : "确定要解锁吗?", 12 | anim : 0, 13 | btn : [ '确定', '取消' ], 14 | yes : function(index, layero) { 15 | $.get("/Rosemary/manager.action","op=clearManagerStatus&adminName=" + adminName, function(data, status) { 16 | layer.msg(data, { 17 | icon : 4, 18 | time : 3000 19 | }); 20 | location.reload(true); 21 | }); 22 | /* layer.msg('成功释放用户权限', { 23 | icon : 6, 24 | time : 3000 25 | }); */ 26 | } 27 | }); 28 | }); 29 | $(".pwd-reset").click(function() { 30 | var adminName =$(this).parents("tr").find("h6").text(); 31 | layer.open({ 32 | title : "友情提醒?", 33 | skin : "layui-layer-lan", 34 | content : "确定重置该管理员密码?(密码默认为admin)", 35 | anim : 0, 36 | btn : [ '确定', '取消' ], 37 | yes : function(index, layero) { 38 | //...ajax请求 39 | //location.href = "/Rosemary/manager.action?op=updateManagerPwd"; 40 | $.get("/Rosemary/manager.action","op=updateManagerPwd&adminName=" + adminName, function(data, status) { 41 | layer.msg(data, { 42 | icon : 6, 43 | time : 3000 44 | }); 45 | location.reload(true); 46 | }); 47 | //var adminName =$(this).parents("tr").find("h6").text(); 48 | //location.href = "/Rosemary/manager.action?op=updateManagerPwd&adminName=" + adminName; 49 | 50 | } 51 | }); 52 | }); 53 | $(".layui-btn-danger").click(function() { 54 | //console.log($(this).parents("tr").find("span").text()); 55 | var adminName =$(this).parents("tr").find("h6").text(); 56 | layer.confirm("请问是否确定锁定?", { 57 | btn : [ "确定", "取消" ], 58 | icon : 4 59 | //按钮 60 | }, function(index) { 61 | $.get("/Rosemary/manager.action","op=lockManagerStatus&adminName=" + adminName, function(data, status) { 62 | layer.msg(data, { 63 | icon : 4, 64 | time : 3000 65 | }); 66 | location.reload(true); 67 | }); 68 | 69 | layer.close(index); 70 | }, function() { 71 | 72 | }); 73 | }); -------------------------------------------------------------------------------- /WebContent/admin/js/html5.js: -------------------------------------------------------------------------------- 1 | /* 2 | HTML5 Shiv v3.7.0 | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed 3 | */ 4 | (function(l,f){function m(){var a=e.elements;return"string"==typeof a?a.split(" "):a}function i(a){var b=n[a[o]];b||(b={},h++,a[o]=h,n[h]=b);return b}function p(a,b,c){b||(b=f);if(g)return b.createElement(a);c||(c=i(b));b=c.cache[a]?c.cache[a].cloneNode():r.test(a)?(c.cache[a]=c.createElem(a)).cloneNode():c.createElem(a);return b.canHaveChildren&&!s.test(a)?c.frag.appendChild(b):b}function t(a,b){if(!b.cache)b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag(); 5 | a.createElement=function(c){return!e.shivMethods?b.createElem(c):p(c,a,b)};a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+m().join().replace(/[\w\-]+/g,function(a){b.createElem(a);b.frag.createElement(a);return'c("'+a+'")'})+");return n}")(e,b.frag)}function q(a){a||(a=f);var b=i(a);if(e.shivCSS&&!j&&!b.hasCSS){var c,d=a;c=d.createElement("p");d=d.getElementsByTagName("head")[0]||d.documentElement;c.innerHTML="x"; 6 | c=d.insertBefore(c.lastChild,d.firstChild);b.hasCSS=!!c}g||t(a,b);return a}var k=l.html5||{},s=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,r=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,j,o="_html5shiv",h=0,n={},g;(function(){try{var a=f.createElement("a");a.innerHTML="";j="hidden"in a;var b;if(!(b=1==a.childNodes.length)){f.createElement("a");var c=f.createDocumentFragment();b="undefined"==typeof c.cloneNode|| 7 | "undefined"==typeof c.createDocumentFragment||"undefined"==typeof c.createElement}g=b}catch(d){g=j=!0}})();var e={elements:k.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output progress section summary template time video",version:"3.7.0",shivCSS:!1!==k.shivCSS,supportsUnknownElements:g,shivMethods:!1!==k.shivMethods,type:"default",shivDocument:q,createElement:p,createDocumentFragment:function(a,b){a||(a=f); 8 | if(g)return a.createDocumentFragment();for(var b=b||i(a),c=b.frag.cloneNode(),d=0,e=m(),h=e.length;d');var s="";t.find("thead tr th").length?s="thead th":t.find("tbody tr th").length?s="tbody tr th":t.find("th").length?s="tr:first th":s="tr:first td",e.each(t.find(s),function(){var t=e(this),n=parseInt(t.attr("colspan"),10)||1,r=t.closest("tr").index();i[r]||(i[r]=[]);for(var s=0;s')}else t.addClass("bt-hide")})},i=function(t){e.each(t.find("td"),function(){var t=e(this),n=t.children(".bt-content").html();t.html(n)})},s=function(t,n){n.forceResponsive?e(window).width()<=n.breakpoint?o(t,n):u(t,n):t.removeClass("bt").outerWidth()>t.parent().width()?o(t,n):u(t,n)},o=function(e,t){e.addClass("bt"),t.tableWrap&&e.parent(".bt-wrapper").addClass("active")},u=function(e,t){e.removeClass("bt"),t.tableWrap&&e.parent(".bt-wrapper").removeClass("active")},a=function(e,t){e.find("td").removeAttr("data-th"),t.tableWrap&&e.unwrap(),t.contentWrap&&i(e),e.removeData("basictable")},f=function(e){e.data("basictable")&&s(e,e.data("basictable"))};this.each(function(){var r=e(this);if(r.length===0||r.data("basictable"))return r.data("basictable")&&(t=="destroy"?a(r,r.data("basictable")):t==="start"?o(r,r.data("basictable")):t==="stop"?u(r,r.data("basictable")):s(r,r.data("basictable"))),!1;var i=e.extend({},e.fn.basictable.defaults,t),l={breakpoint:i.breakpoint,contentWrap:i.contentWrap,forceResponsive:i.forceResponsive,noResize:i.noResize,tableWrap:i.tableWrap,showEmptyCells:i.showEmptyCells};r.data("basictable",l),n(r,r.data("basictable")),l.noResize||(s(r,r.data("basictable")),e(window).bind("resize.basictable",function(){f(r)}))})},e.fn.basictable.defaults={breakpoint:568,contentWrap:!0,forceResponsive:!0,noResize:!1,tableWrap:!1,showEmptyCells:!1}})(jQuery); -------------------------------------------------------------------------------- /WebContent/admin/js/rAF.js: -------------------------------------------------------------------------------- 1 | // http://paulirish.com/2011/requestanimationframe-for-smart-animating/ 2 | // http://my.opera.com/emoller/blog/2011/12/20/requestanimationframe-for-smart-er-animating 3 | 4 | // requestAnimationFrame polyfill by Erik Möller. fixes from Paul Irish and Tino Zijdel 5 | 6 | // MIT license 7 | 8 | (function() { 9 | var lastTime = 0; 10 | var vendors = ['ms', 'moz', 'webkit', 'o']; 11 | for(var x = 0; x < vendors.length && !window.requestAnimationFrame; ++x) { 12 | window.requestAnimationFrame = window[vendors[x]+'RequestAnimationFrame']; 13 | window.cancelAnimationFrame = window[vendors[x]+'CancelAnimationFrame'] 14 | || window[vendors[x]+'CancelRequestAnimationFrame']; 15 | } 16 | 17 | if (!window.requestAnimationFrame) 18 | window.requestAnimationFrame = function(callback, element) { 19 | var currTime = new Date().getTime(); 20 | var timeToCall = Math.max(0, 16 - (currTime - lastTime)); 21 | var id = window.setTimeout(function() { callback(currTime + timeToCall); }, 22 | timeToCall); 23 | lastTime = currTime + timeToCall; 24 | return id; 25 | }; 26 | 27 | if (!window.cancelAnimationFrame) 28 | window.cancelAnimationFrame = function(id) { 29 | clearTimeout(id); 30 | }; 31 | }()); -------------------------------------------------------------------------------- /WebContent/admin/js/scripts.js: -------------------------------------------------------------------------------- 1 | (function() { 2 | "use strict"; 3 | 4 | // custom scrollbar 5 | 6 | $("html").niceScroll({styler:"fb",cursorcolor:"#1b93e1", cursorwidth: '6', cursorborderradius: '10px', background: '#FFFFFF', spacebarenabled:false, cursorborder: '0', zindex: '1000'}); 7 | 8 | $(".scrollbar1").niceScroll({styler:"fb",cursorcolor:"#1b93e1", cursorwidth: '6', cursorborderradius: '0',autohidemode: 'false', background: '#FFFFFF', spacebarenabled:false, cursorborder: '0'}); 9 | 10 | 11 | 12 | $(".scrollbar1").getNiceScroll(); 13 | if ($('body').hasClass('scrollbar1-collapsed')) { 14 | $(".scrollbar1").getNiceScroll().hide(); 15 | } 16 | 17 | })(jQuery); 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /WebContent/admin/layui/css/modules/code.css: -------------------------------------------------------------------------------- 1 | /** layui-v2.4.3 MIT License By https://www.layui.com */ 2 | html #layuicss-skincodecss{display:none;position:absolute;width:1989px}.layui-code-h3,.layui-code-view{position:relative;font-size:12px}.layui-code-view{display:block;margin:10px 0;padding:0;border:1px solid #e2e2e2;border-left-width:6px;background-color:#F2F2F2;color:#333;font-family:Courier New}.layui-code-h3{padding:0 10px;height:32px;line-height:32px;border-bottom:1px solid #e2e2e2}.layui-code-h3 a{position:absolute;right:10px;top:0;color:#999}.layui-code-view .layui-code-ol{position:relative;overflow:auto}.layui-code-view .layui-code-ol li{position:relative;margin-left:45px;line-height:20px;padding:0 5px;border-left:1px solid #e2e2e2;list-style-type:decimal-leading-zero;*list-style-type:decimal;background-color:#fff}.layui-code-view pre{margin:0}.layui-code-notepad{border:1px solid #0C0C0C;border-left-color:#3F3F3F;background-color:#0C0C0C;color:#C2BE9E}.layui-code-notepad .layui-code-h3{border-bottom:none}.layui-code-notepad .layui-code-ol li{background-color:#3F3F3F;border-left:none} -------------------------------------------------------------------------------- /WebContent/admin/layui/css/modules/layer/default/icon-ext.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/layui/css/modules/layer/default/icon-ext.png -------------------------------------------------------------------------------- /WebContent/admin/layui/css/modules/layer/default/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/layui/css/modules/layer/default/icon.png -------------------------------------------------------------------------------- /WebContent/admin/layui/css/modules/layer/default/loading-0.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/layui/css/modules/layer/default/loading-0.gif -------------------------------------------------------------------------------- /WebContent/admin/layui/css/modules/layer/default/loading-1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/layui/css/modules/layer/default/loading-1.gif -------------------------------------------------------------------------------- /WebContent/admin/layui/css/modules/layer/default/loading-2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/layui/css/modules/layer/default/loading-2.gif -------------------------------------------------------------------------------- /WebContent/admin/layui/font/iconfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/layui/font/iconfont.eot -------------------------------------------------------------------------------- /WebContent/admin/layui/font/iconfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/layui/font/iconfont.ttf -------------------------------------------------------------------------------- /WebContent/admin/layui/font/iconfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/layui/font/iconfont.woff -------------------------------------------------------------------------------- /WebContent/admin/layui/images/face/0.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/layui/images/face/0.gif -------------------------------------------------------------------------------- /WebContent/admin/layui/images/face/1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/layui/images/face/1.gif -------------------------------------------------------------------------------- /WebContent/admin/layui/images/face/10.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/layui/images/face/10.gif -------------------------------------------------------------------------------- /WebContent/admin/layui/images/face/11.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/layui/images/face/11.gif -------------------------------------------------------------------------------- /WebContent/admin/layui/images/face/12.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/layui/images/face/12.gif -------------------------------------------------------------------------------- /WebContent/admin/layui/images/face/13.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/layui/images/face/13.gif -------------------------------------------------------------------------------- /WebContent/admin/layui/images/face/14.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/layui/images/face/14.gif -------------------------------------------------------------------------------- /WebContent/admin/layui/images/face/15.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/layui/images/face/15.gif -------------------------------------------------------------------------------- /WebContent/admin/layui/images/face/16.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/layui/images/face/16.gif -------------------------------------------------------------------------------- /WebContent/admin/layui/images/face/17.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/layui/images/face/17.gif -------------------------------------------------------------------------------- /WebContent/admin/layui/images/face/18.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/layui/images/face/18.gif -------------------------------------------------------------------------------- /WebContent/admin/layui/images/face/19.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/layui/images/face/19.gif -------------------------------------------------------------------------------- /WebContent/admin/layui/images/face/2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/layui/images/face/2.gif -------------------------------------------------------------------------------- /WebContent/admin/layui/images/face/20.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/layui/images/face/20.gif -------------------------------------------------------------------------------- /WebContent/admin/layui/images/face/21.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/layui/images/face/21.gif -------------------------------------------------------------------------------- /WebContent/admin/layui/images/face/22.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/layui/images/face/22.gif -------------------------------------------------------------------------------- /WebContent/admin/layui/images/face/23.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/layui/images/face/23.gif -------------------------------------------------------------------------------- /WebContent/admin/layui/images/face/24.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/layui/images/face/24.gif -------------------------------------------------------------------------------- /WebContent/admin/layui/images/face/25.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/layui/images/face/25.gif -------------------------------------------------------------------------------- /WebContent/admin/layui/images/face/26.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/layui/images/face/26.gif -------------------------------------------------------------------------------- /WebContent/admin/layui/images/face/27.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/layui/images/face/27.gif -------------------------------------------------------------------------------- /WebContent/admin/layui/images/face/28.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/layui/images/face/28.gif -------------------------------------------------------------------------------- /WebContent/admin/layui/images/face/29.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/layui/images/face/29.gif -------------------------------------------------------------------------------- /WebContent/admin/layui/images/face/3.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/layui/images/face/3.gif -------------------------------------------------------------------------------- /WebContent/admin/layui/images/face/30.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/layui/images/face/30.gif -------------------------------------------------------------------------------- /WebContent/admin/layui/images/face/31.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/layui/images/face/31.gif -------------------------------------------------------------------------------- /WebContent/admin/layui/images/face/32.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/layui/images/face/32.gif -------------------------------------------------------------------------------- /WebContent/admin/layui/images/face/33.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/layui/images/face/33.gif -------------------------------------------------------------------------------- /WebContent/admin/layui/images/face/34.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/layui/images/face/34.gif -------------------------------------------------------------------------------- /WebContent/admin/layui/images/face/35.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/layui/images/face/35.gif -------------------------------------------------------------------------------- /WebContent/admin/layui/images/face/36.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/layui/images/face/36.gif -------------------------------------------------------------------------------- /WebContent/admin/layui/images/face/37.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/layui/images/face/37.gif -------------------------------------------------------------------------------- /WebContent/admin/layui/images/face/38.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/layui/images/face/38.gif -------------------------------------------------------------------------------- /WebContent/admin/layui/images/face/39.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/layui/images/face/39.gif -------------------------------------------------------------------------------- /WebContent/admin/layui/images/face/4.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/layui/images/face/4.gif -------------------------------------------------------------------------------- /WebContent/admin/layui/images/face/40.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/layui/images/face/40.gif -------------------------------------------------------------------------------- /WebContent/admin/layui/images/face/41.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/layui/images/face/41.gif -------------------------------------------------------------------------------- /WebContent/admin/layui/images/face/42.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/layui/images/face/42.gif -------------------------------------------------------------------------------- /WebContent/admin/layui/images/face/43.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/layui/images/face/43.gif -------------------------------------------------------------------------------- /WebContent/admin/layui/images/face/44.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/layui/images/face/44.gif -------------------------------------------------------------------------------- /WebContent/admin/layui/images/face/45.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/layui/images/face/45.gif -------------------------------------------------------------------------------- /WebContent/admin/layui/images/face/46.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/layui/images/face/46.gif -------------------------------------------------------------------------------- /WebContent/admin/layui/images/face/47.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/layui/images/face/47.gif -------------------------------------------------------------------------------- /WebContent/admin/layui/images/face/48.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/layui/images/face/48.gif -------------------------------------------------------------------------------- /WebContent/admin/layui/images/face/49.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/layui/images/face/49.gif -------------------------------------------------------------------------------- /WebContent/admin/layui/images/face/5.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/layui/images/face/5.gif -------------------------------------------------------------------------------- /WebContent/admin/layui/images/face/50.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/layui/images/face/50.gif -------------------------------------------------------------------------------- /WebContent/admin/layui/images/face/51.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/layui/images/face/51.gif -------------------------------------------------------------------------------- /WebContent/admin/layui/images/face/52.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/layui/images/face/52.gif -------------------------------------------------------------------------------- /WebContent/admin/layui/images/face/53.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/layui/images/face/53.gif -------------------------------------------------------------------------------- /WebContent/admin/layui/images/face/54.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/layui/images/face/54.gif -------------------------------------------------------------------------------- /WebContent/admin/layui/images/face/55.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/layui/images/face/55.gif -------------------------------------------------------------------------------- /WebContent/admin/layui/images/face/56.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/layui/images/face/56.gif -------------------------------------------------------------------------------- /WebContent/admin/layui/images/face/57.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/layui/images/face/57.gif -------------------------------------------------------------------------------- /WebContent/admin/layui/images/face/58.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/layui/images/face/58.gif -------------------------------------------------------------------------------- /WebContent/admin/layui/images/face/59.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/layui/images/face/59.gif -------------------------------------------------------------------------------- /WebContent/admin/layui/images/face/6.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/layui/images/face/6.gif -------------------------------------------------------------------------------- /WebContent/admin/layui/images/face/60.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/layui/images/face/60.gif -------------------------------------------------------------------------------- /WebContent/admin/layui/images/face/61.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/layui/images/face/61.gif -------------------------------------------------------------------------------- /WebContent/admin/layui/images/face/62.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/layui/images/face/62.gif -------------------------------------------------------------------------------- /WebContent/admin/layui/images/face/63.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/layui/images/face/63.gif -------------------------------------------------------------------------------- /WebContent/admin/layui/images/face/64.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/layui/images/face/64.gif -------------------------------------------------------------------------------- /WebContent/admin/layui/images/face/65.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/layui/images/face/65.gif -------------------------------------------------------------------------------- /WebContent/admin/layui/images/face/66.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/layui/images/face/66.gif -------------------------------------------------------------------------------- /WebContent/admin/layui/images/face/67.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/layui/images/face/67.gif -------------------------------------------------------------------------------- /WebContent/admin/layui/images/face/68.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/layui/images/face/68.gif -------------------------------------------------------------------------------- /WebContent/admin/layui/images/face/69.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/layui/images/face/69.gif -------------------------------------------------------------------------------- /WebContent/admin/layui/images/face/7.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/layui/images/face/7.gif -------------------------------------------------------------------------------- /WebContent/admin/layui/images/face/70.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/layui/images/face/70.gif -------------------------------------------------------------------------------- /WebContent/admin/layui/images/face/71.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/layui/images/face/71.gif -------------------------------------------------------------------------------- /WebContent/admin/layui/images/face/8.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/layui/images/face/8.gif -------------------------------------------------------------------------------- /WebContent/admin/layui/images/face/9.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/layui/images/face/9.gif -------------------------------------------------------------------------------- /WebContent/admin/layui/lay/modules/code.js: -------------------------------------------------------------------------------- 1 | /** layui-v2.4.3 MIT License By https://www.layui.com */ 2 | ;layui.define("jquery",function(e){"use strict";var a=layui.$,l="http://www.layui.com/doc/modules/code.html";e("code",function(e){var t=[];e=e||{},e.elem=a(e.elem||".layui-code"),e.about=!("about"in e)||e.about,e.elem.each(function(){t.push(this)}),layui.each(t.reverse(),function(t,i){var c=a(i),o=c.html();(c.attr("lay-encode")||e.encode)&&(o=o.replace(/&(?!#?[a-zA-Z0-9]+;)/g,"&").replace(//g,">").replace(/'/g,"'").replace(/"/g,""")),c.html('
  1. '+o.replace(/[\r\t\n]+/g,"
  2. ")+"
"),c.find(">.layui-code-h3")[0]||c.prepend('

'+(c.attr("lay-title")||e.title||"code")+(e.about?'layui.code':"")+"

");var d=c.find(">.layui-code-ol");c.addClass("layui-box layui-code-view"),(c.attr("lay-skin")||e.skin)&&c.addClass("layui-code-"+(c.attr("lay-skin")||e.skin)),(d.find("li").length/100|0)>0&&d.css("margin-left",(d.find("li").length/100|0)+"px"),(c.attr("lay-height")||e.height)&&d.css("max-height",c.attr("lay-height")||e.height)})})}).addcss("modules/code.css","skincodecss"); -------------------------------------------------------------------------------- /WebContent/admin/layui/lay/modules/flow.js: -------------------------------------------------------------------------------- 1 | /** layui-v2.4.3 MIT License By https://www.layui.com */ 2 | ;layui.define("jquery",function(e){"use strict";var l=layui.$,o=function(e){},t='';o.prototype.load=function(e){var o,i,n,r,a=this,c=0;e=e||{};var f=l(e.elem);if(f[0]){var m=l(e.scrollElem||document),u=e.mb||50,s=!("isAuto"in e)||e.isAuto,v=e.end||"没有更多了",y=e.scrollElem&&e.scrollElem!==document,d="加载更多",h=l('");f.find(".layui-flow-more")[0]||f.append(h);var p=function(e,t){e=l(e),h.before(e),t=0==t||null,t?h.html(v):h.find("a").html(d),i=t,o=null,n&&n()},g=function(){o=!0,h.find("a").html(t),"function"==typeof e.done&&e.done(++c,p)};if(g(),h.find("a").on("click",function(){l(this);i||o||g()}),e.isLazyimg)var n=a.lazyimg({elem:e.elem+" img",scrollElem:e.scrollElem});return s?(m.on("scroll",function(){var e=l(this),t=e.scrollTop();r&&clearTimeout(r),i||(r=setTimeout(function(){var i=y?e.height():l(window).height(),n=y?e.prop("scrollHeight"):document.documentElement.scrollHeight;n-t-i<=u&&(o||g())},100))}),a):a}},o.prototype.lazyimg=function(e){var o,t=this,i=0;e=e||{};var n=l(e.scrollElem||document),r=e.elem||"img",a=e.scrollElem&&e.scrollElem!==document,c=function(e,l){var o=n.scrollTop(),r=o+l,c=a?function(){return e.offset().top-n.offset().top+o}():e.offset().top;if(c>=o&&c<=r&&!e.attr("src")){var m=e.attr("lay-src");layui.img(m,function(){var l=t.lazyimg.elem.eq(i);e.attr("src",m).removeAttr("lay-src"),l[0]&&f(l),i++})}},f=function(e,o){var f=a?(o||n).height():l(window).height(),m=n.scrollTop(),u=m+f;if(t.lazyimg.elem=l(r),e)c(e,f);else for(var s=0;su)break}};if(f(),!o){var m;n.on("scroll",function(){var e=l(this);m&&clearTimeout(m),m=setTimeout(function(){f(null,e)},50)}),o=!0}return f},e("flow",new o)}); -------------------------------------------------------------------------------- /WebContent/admin/layui/lay/modules/laytpl.js: -------------------------------------------------------------------------------- 1 | /** layui-v2.4.3 MIT License By https://www.layui.com */ 2 | ;layui.define(function(e){"use strict";var r={open:"{{",close:"}}"},c={exp:function(e){return new RegExp(e,"g")},query:function(e,c,t){var o=["#([\\s\\S])+?","([^{#}])*?"][e||0];return n((c||"")+r.open+o+r.close+(t||""))},escape:function(e){return String(e||"").replace(/&(?!#?[a-zA-Z0-9]+;)/g,"&").replace(//g,">").replace(/'/g,"'").replace(/"/g,""")},error:function(e,r){var c="Laytpl Error:";return"object"==typeof console&&console.error(c+e+"\n"+(r||"")),c+e}},n=c.exp,t=function(e){this.tpl=e};t.pt=t.prototype,window.errors=0,t.pt.parse=function(e,t){var o=this,p=e,a=n("^"+r.open+"#",""),l=n(r.close+"$","");e=e.replace(/\s+|\r|\t|\n/g," ").replace(n(r.open+"#"),r.open+"# ").replace(n(r.close+"}"),"} "+r.close).replace(/\\/g,"\\\\").replace(n(r.open+"!(.+?)!"+r.close),function(e){return e=e.replace(n("^"+r.open+"!"),"").replace(n("!"+r.close),"").replace(n(r.open+"|"+r.close),function(e){return e.replace(/(.)/g,"\\$1")})}).replace(/(?="|')/g,"\\").replace(c.query(),function(e){return e=e.replace(a,"").replace(l,""),'";'+e.replace(/\\/g,"")+';view+="'}).replace(c.query(1),function(e){var c='"+(';return e.replace(/\s/g,"")===r.open+r.close?"":(e=e.replace(n(r.open+"|"+r.close),""),/^=/.test(e)&&(e=e.replace(/^=/,""),c='"+_escape_('),c+e.replace(/\\/g,"")+')+"')}),e='"use strict";var view = "'+e+'";return view;';try{return o.cache=e=new Function("d, _escape_",e),e(t,c.escape)}catch(u){return delete o.cache,c.error(u,p)}},t.pt.render=function(e,r){var n,t=this;return e?(n=t.cache?t.cache(e,c.escape):t.parse(t.tpl,e),r?void r(n):n):c.error("no data")};var o=function(e){return"string"!=typeof e?c.error("Template not found"):new t(e)};o.config=function(e){e=e||{};for(var c in e)r[c]=e[c]},o.v="1.2.0",e("laytpl",o)}); -------------------------------------------------------------------------------- /WebContent/admin/说明.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/admin/说明.txt -------------------------------------------------------------------------------- /WebContent/alipay.trade.close.jsp: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 交易关闭 6 | 7 | <%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> 8 | <%@ page import="com.alipay.config.*"%> 9 | <%@ page import="com.alipay.api.*"%> 10 | <%@ page import="com.alipay.api.request.*"%> 11 | <% 12 | //获得初始化的AlipayClient 13 | AlipayClient alipayClient = new DefaultAlipayClient(AlipayConfig.gatewayUrl, AlipayConfig.app_id, AlipayConfig.merchant_private_key, "json", AlipayConfig.charset, AlipayConfig.alipay_public_key, AlipayConfig.sign_type); 14 | 15 | //设置请求参数 16 | AlipayTradeCloseRequest alipayRequest = new AlipayTradeCloseRequest(); 17 | //商户订单号,商户网站订单系统中唯一订单号 18 | String out_trade_no = new String(request.getParameter("WIDTCout_trade_no").getBytes("ISO-8859-1"),"UTF-8"); 19 | //支付宝交易号 20 | String trade_no = new String(request.getParameter("WIDTCtrade_no").getBytes("ISO-8859-1"),"UTF-8"); 21 | //请二选一设置 22 | 23 | alipayRequest.setBizContent("{\"out_trade_no\":\""+ out_trade_no +"\"," +"\"trade_no\":\""+ trade_no +"\"}"); 24 | 25 | //请求 26 | String result = alipayClient.execute(alipayRequest).getBody(); 27 | 28 | //输出 29 | out.println(result); 30 | %> 31 | 32 | 33 | -------------------------------------------------------------------------------- /WebContent/alipay.trade.fastpay.refund.query.jsp: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 退款查询 6 | 7 | <%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> 8 | <%@ page import="com.alipay.config.*"%> 9 | <%@ page import="com.alipay.api.*"%> 10 | <%@ page import="com.alipay.api.request.*"%> 11 | <% 12 | //获得初始化的AlipayClient 13 | AlipayClient alipayClient = new DefaultAlipayClient(AlipayConfig.gatewayUrl, AlipayConfig.app_id, AlipayConfig.merchant_private_key, "json", AlipayConfig.charset, AlipayConfig.alipay_public_key, AlipayConfig.sign_type); 14 | 15 | //设置请求参数 16 | AlipayTradeFastpayRefundQueryRequest alipayRequest = new AlipayTradeFastpayRefundQueryRequest(); 17 | 18 | //商户订单号,商户网站订单系统中唯一订单号 19 | String out_trade_no = new String(request.getParameter("WIDRQout_trade_no").getBytes("ISO-8859-1"),"UTF-8"); 20 | //支付宝交易号 21 | String trade_no = new String(request.getParameter("WIDRQtrade_no").getBytes("ISO-8859-1"),"UTF-8"); 22 | //请二选一设置 23 | //请求退款接口时,传入的退款请求号,如果在退款请求时未传入,则该值为创建交易时的外部交易号,必填 24 | String out_request_no = new String(request.getParameter("WIDRQout_request_no").getBytes("ISO-8859-1"),"UTF-8"); 25 | 26 | alipayRequest.setBizContent("{\"out_trade_no\":\""+ out_trade_no +"\"," 27 | +"\"trade_no\":\""+ trade_no +"\"," 28 | +"\"out_request_no\":\""+ out_request_no +"\"}"); 29 | 30 | //请求 31 | String result = alipayClient.execute(alipayRequest).getBody(); 32 | 33 | //输出 34 | out.println(result); 35 | %> 36 | 37 | 38 | -------------------------------------------------------------------------------- /WebContent/alipay.trade.page.pay.jsp: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 付款 6 | 7 | <%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> 8 | <%@ page import="com.alipay.config.*"%> 9 | <%@ page import="com.alipay.api.*"%> 10 | <%@ page import="com.alipay.api.request.*"%> 11 | <% 12 | //获得初始化的AlipayClient 13 | AlipayClient alipayClient = new DefaultAlipayClient(AlipayConfig.gatewayUrl, AlipayConfig.app_id, AlipayConfig.merchant_private_key, "json", AlipayConfig.charset, AlipayConfig.alipay_public_key, AlipayConfig.sign_type); 14 | 15 | //设置请求参数 16 | AlipayTradePagePayRequest alipayRequest = new AlipayTradePagePayRequest(); 17 | alipayRequest.setReturnUrl(AlipayConfig.return_url); 18 | alipayRequest.setNotifyUrl(AlipayConfig.notify_url); 19 | 20 | //商户订单号,商户网站订单系统中唯一订单号,必填 21 | String out_trade_no = new String(request.getParameter("WIDout_trade_no").getBytes("ISO-8859-1"),"UTF-8"); 22 | //付款金额,必填 23 | String total_amount = new String(request.getParameter("WIDtotal_amount").getBytes("ISO-8859-1"),"UTF-8"); 24 | //订单名称,必填 25 | String subject = new String(request.getParameter("WIDsubject").getBytes("ISO-8859-1"),"UTF-8"); 26 | //商品描述,可空 27 | String body = new String(request.getParameter("WIDbody").getBytes("ISO-8859-1"),"UTF-8"); 28 | 29 | alipayRequest.setBizContent("{\"out_trade_no\":\""+ out_trade_no +"\"," 30 | + "\"total_amount\":\""+ total_amount +"\"," 31 | + "\"subject\":\""+ subject +"\"," 32 | + "\"body\":\""+ body +"\"," 33 | + "\"product_code\":\"FAST_INSTANT_TRADE_PAY\"}"); 34 | 35 | //若想给BizContent增加其他可选请求参数,以增加自定义超时时间参数timeout_express来举例说明 36 | //alipayRequest.setBizContent("{\"out_trade_no\":\""+ out_trade_no +"\"," 37 | // + "\"total_amount\":\""+ total_amount +"\"," 38 | // + "\"subject\":\""+ subject +"\"," 39 | // + "\"body\":\""+ body +"\"," 40 | // + "\"timeout_express\":\"10m\"," 41 | // + "\"product_code\":\"FAST_INSTANT_TRADE_PAY\"}"); 42 | //请求参数可查阅【电脑网站支付的API文档-alipay.trade.page.pay-请求参数】章节 43 | 44 | //请求 45 | String result = alipayClient.pageExecute(alipayRequest).getBody(); 46 | 47 | //输出 48 | out.println(result); 49 | %> 50 | 51 | 52 | -------------------------------------------------------------------------------- /WebContent/alipay.trade.query.jsp: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 交易查询 6 | 7 | <%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> 8 | <%@ page import="com.alipay.config.*"%> 9 | <%@ page import="com.alipay.api.*"%> 10 | <%@ page import="com.alipay.api.request.*"%> 11 | <% 12 | //获得初始化的AlipayClient 13 | AlipayClient alipayClient = new DefaultAlipayClient(AlipayConfig.gatewayUrl, AlipayConfig.app_id, AlipayConfig.merchant_private_key, "json", AlipayConfig.charset, AlipayConfig.alipay_public_key, AlipayConfig.sign_type); 14 | 15 | //设置请求参数 16 | AlipayTradeQueryRequest alipayRequest = new AlipayTradeQueryRequest(); 17 | 18 | //商户订单号,商户网站订单系统中唯一订单号 19 | String out_trade_no = new String(request.getParameter("WIDTQout_trade_no").getBytes("ISO-8859-1"),"UTF-8"); 20 | //支付宝交易号 21 | String trade_no = new String(request.getParameter("WIDTQtrade_no").getBytes("ISO-8859-1"),"UTF-8"); 22 | //请二选一设置 23 | 24 | alipayRequest.setBizContent("{\"out_trade_no\":\""+ out_trade_no +"\","+"\"trade_no\":\""+ trade_no +"\"}"); 25 | 26 | //请求 27 | String result = alipayClient.execute(alipayRequest).getBody(); 28 | 29 | //输出 30 | out.println(result); 31 | %> 32 | 33 | 34 | -------------------------------------------------------------------------------- /WebContent/alipay.trade.refund.jsp: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 退款 6 | 7 | <%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> 8 | <%@ page import="com.alipay.config.*"%> 9 | <%@ page import="com.alipay.api.*"%> 10 | <%@ page import="com.alipay.api.request.*"%> 11 | <% 12 | //获得初始化的AlipayClient 13 | AlipayClient alipayClient = new DefaultAlipayClient(AlipayConfig.gatewayUrl, AlipayConfig.app_id, AlipayConfig.merchant_private_key, "json", AlipayConfig.charset, AlipayConfig.alipay_public_key, AlipayConfig.sign_type); 14 | 15 | //设置请求参数 16 | AlipayTradeRefundRequest alipayRequest = new AlipayTradeRefundRequest(); 17 | 18 | //商户订单号,商户网站订单系统中唯一订单号 19 | String out_trade_no = new String(request.getParameter("WIDTRout_trade_no").getBytes("ISO-8859-1"),"UTF-8"); 20 | //支付宝交易号 21 | String trade_no = new String(request.getParameter("WIDTRtrade_no").getBytes("ISO-8859-1"),"UTF-8"); 22 | //请二选一设置 23 | //需要退款的金额,该金额不能大于订单金额,必填 24 | String refund_amount = new String(request.getParameter("WIDTRrefund_amount").getBytes("ISO-8859-1"),"UTF-8"); 25 | //退款的原因说明 26 | String refund_reason = new String(request.getParameter("WIDTRrefund_reason").getBytes("ISO-8859-1"),"UTF-8"); 27 | //标识一次退款请求,同一笔交易多次退款需要保证唯一,如需部分退款,则此参数必传 28 | String out_request_no = new String(request.getParameter("WIDTRout_request_no").getBytes("ISO-8859-1"),"UTF-8"); 29 | 30 | alipayRequest.setBizContent("{\"out_trade_no\":\""+ out_trade_no +"\"," 31 | + "\"trade_no\":\""+ trade_no +"\"," 32 | + "\"refund_amount\":\""+ refund_amount +"\"," 33 | + "\"refund_reason\":\""+ refund_reason +"\"," 34 | + "\"out_request_no\":\""+ out_request_no +"\"}"); 35 | 36 | //请求 37 | String result = alipayClient.execute(alipayRequest).getBody(); 38 | 39 | //输出 40 | out.println(result); 41 | %> 42 | 43 | 44 | -------------------------------------------------------------------------------- /WebContent/index/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | Rosemary项目原型 4 | 5 | 6 | 7 | 8 | 9 | com.aptana.ide.core.unifiedBuilder 10 | 11 | 12 | 13 | 14 | 15 | com.aptana.projects.webnature 16 | 17 | 18 | 19 | 1538996819585 20 | 21 | 26 22 | 23 | org.eclipse.ui.ide.multiFilter 24 | 1.0-name-matches-false-false-node_modules 25 | 26 | 27 | 28 | 1539055039451 29 | 30 | 26 31 | 32 | org.eclipse.ui.ide.multiFilter 33 | 1.0-name-matches-false-false-node_modules 34 | 35 | 36 | 37 | 1539218844961 38 | 39 | 26 40 | 41 | org.eclipse.ui.ide.multiFilter 42 | 1.0-name-matches-false-false-node_modules 43 | 44 | 45 | 46 | 47 | -------------------------------------------------------------------------------- /WebContent/index/css/nivo-slider.css: -------------------------------------------------------------------------------- 1 | .nivoSlider{position:relative;width:100%;height:auto;overflow:hidden}.nivoSlider img{position:absolute;top:0;left:0;max-width:none}.nivo-main-image{display:block!important;position:relative!important;width:100%!important}.nivoSlider a.nivo-imageLink{position:absolute;top:0;left:0;width:100%;height:100%;border:0;padding:0;margin:0;z-index:6;display:none;background:white;filter:alpha(opacity=0);opacity:0}.nivo-slice{display:block;position:absolute;z-index:5;height:100%;top:0}.nivo-box{display:block;position:absolute;z-index:5;overflow:hidden}.nivo-box img{display:block}.nivo-caption{position:absolute;left:0;bottom:0;background:#000;color:#fff;width:100%;z-index:8;padding:5px 10px;opacity:.8;overflow:hidden;display:none;-moz-opacity:.8;filter:alpha(opacity=8);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.nivo-caption p{padding:5px;margin:0}.nivo-caption a{display:inline!important}.nivo-html-caption{display:none}.nivo-directionNav a{position:absolute;top:45%;z-index:9;cursor:pointer}.nivo-prevNav{left:0}.nivo-nextNav{right:0}.nivo-controlNav{text-align:center;padding:15px 0}.nivo-controlNav a{cursor:pointer}.nivo-controlNav a.active{font-weight:bold} 2 | -------------------------------------------------------------------------------- /WebContent/index/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /WebContent/index/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /WebContent/index/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /WebContent/index/fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /WebContent/index/images/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/images/1.jpg -------------------------------------------------------------------------------- /WebContent/index/images/2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/images/2.jpg -------------------------------------------------------------------------------- /WebContent/index/images/3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/images/3.jpg -------------------------------------------------------------------------------- /WebContent/index/images/Thumbs.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/images/Thumbs.db -------------------------------------------------------------------------------- /WebContent/index/images/bg02.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/images/bg02.jpg -------------------------------------------------------------------------------- /WebContent/index/images/img1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/images/img1.jpg -------------------------------------------------------------------------------- /WebContent/index/images/p1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/images/p1.jpg -------------------------------------------------------------------------------- /WebContent/index/img/banner/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/img/banner/1.png -------------------------------------------------------------------------------- /WebContent/index/img/banner/11.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/img/banner/11.jpg -------------------------------------------------------------------------------- /WebContent/index/img/banner/12.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/img/banner/12.jpg -------------------------------------------------------------------------------- /WebContent/index/img/banner/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/img/banner/2.png -------------------------------------------------------------------------------- /WebContent/index/img/banner/3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/img/banner/3.png -------------------------------------------------------------------------------- /WebContent/index/img/banner/bane.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/img/banner/bane.jpg -------------------------------------------------------------------------------- /WebContent/index/img/banner/bg3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/img/banner/bg3.jpg -------------------------------------------------------------------------------- /WebContent/index/img/banner/戴安娜粉玫瑰.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/img/banner/戴安娜粉玫瑰.jpg -------------------------------------------------------------------------------- /WebContent/index/img/banner/粉百合.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/img/banner/粉百合.jpg -------------------------------------------------------------------------------- /WebContent/index/img/banner/金枝玉叶玫瑰.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/img/banner/金枝玉叶玫瑰.jpg -------------------------------------------------------------------------------- /WebContent/index/img/banner/香槟玫瑰.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/img/banner/香槟玫瑰.jpg -------------------------------------------------------------------------------- /WebContent/index/img/bg/404.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/img/bg/404.jpg -------------------------------------------------------------------------------- /WebContent/index/img/bg/4body.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/img/bg/4body.png -------------------------------------------------------------------------------- /WebContent/index/img/bg/about.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/img/bg/about.jpg -------------------------------------------------------------------------------- /WebContent/index/img/bg/about2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/img/bg/about2.jpg -------------------------------------------------------------------------------- /WebContent/index/img/bg/best1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/img/bg/best1.jpg -------------------------------------------------------------------------------- /WebContent/index/img/bg/bg01.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/img/bg/bg01.jpg -------------------------------------------------------------------------------- /WebContent/index/img/bg/blog.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/img/bg/blog.jpg -------------------------------------------------------------------------------- /WebContent/index/img/bg/blogdet.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/img/bg/blogdet.jpg -------------------------------------------------------------------------------- /WebContent/index/img/bg/check.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/img/bg/check.jpg -------------------------------------------------------------------------------- /WebContent/index/img/bg/contact.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/img/bg/contact.jpg -------------------------------------------------------------------------------- /WebContent/index/img/bg/login.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/img/bg/login.jpg -------------------------------------------------------------------------------- /WebContent/index/img/bg/prodet.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/img/bg/prodet.jpg -------------------------------------------------------------------------------- /WebContent/index/img/bg/wish.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/img/bg/wish.jpg -------------------------------------------------------------------------------- /WebContent/index/img/bg03.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/img/bg03.jpg -------------------------------------------------------------------------------- /WebContent/index/img/blog/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/img/blog/1.jpg -------------------------------------------------------------------------------- /WebContent/index/img/blog/2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/img/blog/2.jpg -------------------------------------------------------------------------------- /WebContent/index/img/blog/3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/img/blog/3.jpg -------------------------------------------------------------------------------- /WebContent/index/img/blog/4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/img/blog/4.jpg -------------------------------------------------------------------------------- /WebContent/index/img/brand/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/img/brand/1.png -------------------------------------------------------------------------------- /WebContent/index/img/cart/a01.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/img/cart/a01.jpg -------------------------------------------------------------------------------- /WebContent/index/img/cart/a03.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/img/cart/a03.jpg -------------------------------------------------------------------------------- /WebContent/index/img/cart/粉色满天星.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/img/cart/粉色满天星.jpg -------------------------------------------------------------------------------- /WebContent/index/img/cart/紫色小雏菊.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/img/cart/紫色小雏菊.jpg -------------------------------------------------------------------------------- /WebContent/index/img/lang/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/img/lang/1.jpg -------------------------------------------------------------------------------- /WebContent/index/img/lang/2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/img/lang/2.jpg -------------------------------------------------------------------------------- /WebContent/index/img/lang/3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/img/lang/3.jpg -------------------------------------------------------------------------------- /WebContent/index/img/lang/4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/img/lang/4.jpg -------------------------------------------------------------------------------- /WebContent/index/img/lang/5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/img/lang/5.jpg -------------------------------------------------------------------------------- /WebContent/index/img/lang/6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/img/lang/6.jpg -------------------------------------------------------------------------------- /WebContent/index/img/lang/7.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/img/lang/7.jpg -------------------------------------------------------------------------------- /WebContent/index/img/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/img/logo.png -------------------------------------------------------------------------------- /WebContent/index/img/payment.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/img/payment.png -------------------------------------------------------------------------------- /WebContent/index/img/pro-tab/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/img/pro-tab/1.jpg -------------------------------------------------------------------------------- /WebContent/index/img/pro-tab/2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/img/pro-tab/2.jpg -------------------------------------------------------------------------------- /WebContent/index/img/pro-tab/3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/img/pro-tab/3.jpg -------------------------------------------------------------------------------- /WebContent/index/img/pro-tab/4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/img/pro-tab/4.jpg -------------------------------------------------------------------------------- /WebContent/index/img/pro-tab/a01.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/img/pro-tab/a01.jpg -------------------------------------------------------------------------------- /WebContent/index/img/singlepro/多头黄百合.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/img/singlepro/多头黄百合.jpg -------------------------------------------------------------------------------- /WebContent/index/img/singlepro/戴安娜粉玫瑰.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/img/singlepro/戴安娜粉玫瑰.jpg -------------------------------------------------------------------------------- /WebContent/index/img/singlepro/明亮向日葵.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/img/singlepro/明亮向日葵.jpg -------------------------------------------------------------------------------- /WebContent/index/img/singlepro/浅香槟玫瑰.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/img/singlepro/浅香槟玫瑰.jpg -------------------------------------------------------------------------------- /WebContent/index/img/singlepro/白玫瑰.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/img/singlepro/白玫瑰.jpg -------------------------------------------------------------------------------- /WebContent/index/img/singlepro/白色多头香水百合.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/img/singlepro/白色多头香水百合.jpg -------------------------------------------------------------------------------- /WebContent/index/img/singlepro/白色郁金香.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/img/singlepro/白色郁金香.jpg -------------------------------------------------------------------------------- /WebContent/index/img/singlepro/粉百合.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/img/singlepro/粉百合.jpg -------------------------------------------------------------------------------- /WebContent/index/img/singlepro/粉紫色郁金香.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/img/singlepro/粉紫色郁金香.png -------------------------------------------------------------------------------- /WebContent/index/img/singlepro/粉色多头康乃馨.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/img/singlepro/粉色多头康乃馨.jpg -------------------------------------------------------------------------------- /WebContent/index/img/singlepro/粉色康乃馨.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/img/singlepro/粉色康乃馨.jpg -------------------------------------------------------------------------------- /WebContent/index/img/singlepro/粉色扶郎.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/img/singlepro/粉色扶郎.jpg -------------------------------------------------------------------------------- /WebContent/index/img/singlepro/粉色洋桔梗.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/img/singlepro/粉色洋桔梗.jpg -------------------------------------------------------------------------------- /WebContent/index/img/singlepro/粉色满天星.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/img/singlepro/粉色满天星.jpg -------------------------------------------------------------------------------- /WebContent/index/img/singlepro/粉色非洲菊.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/img/singlepro/粉色非洲菊.jpg -------------------------------------------------------------------------------- /WebContent/index/img/singlepro/紫玫瑰.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/img/singlepro/紫玫瑰.jpg -------------------------------------------------------------------------------- /WebContent/index/img/singlepro/紫色小雏菊.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/img/singlepro/紫色小雏菊.jpg -------------------------------------------------------------------------------- /WebContent/index/img/singlepro/紫色桔梗.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/img/singlepro/紫色桔梗.jpg -------------------------------------------------------------------------------- /WebContent/index/img/singlepro/红玫瑰.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/img/singlepro/红玫瑰.jpg -------------------------------------------------------------------------------- /WebContent/index/img/singlepro/红色康乃馨.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/img/singlepro/红色康乃馨.jpg -------------------------------------------------------------------------------- /WebContent/index/img/singlepro/红色扶郎.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/img/singlepro/红色扶郎.jpg -------------------------------------------------------------------------------- /WebContent/index/img/singlepro/蓝色满天星.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/img/singlepro/蓝色满天星.jpg -------------------------------------------------------------------------------- /WebContent/index/img/singlepro/金枝玉叶玫瑰.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/img/singlepro/金枝玉叶玫瑰.jpg -------------------------------------------------------------------------------- /WebContent/index/img/singlepro/香槟玫瑰.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/img/singlepro/香槟玫瑰.jpg -------------------------------------------------------------------------------- /WebContent/index/img/slider/41.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/img/slider/41.jpg -------------------------------------------------------------------------------- /WebContent/index/img/slider/42.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/img/slider/42.jpg -------------------------------------------------------------------------------- /WebContent/index/img/slider/hua1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/img/slider/hua1.jpg -------------------------------------------------------------------------------- /WebContent/index/img/slider/hua2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/img/slider/hua2.jpg -------------------------------------------------------------------------------- /WebContent/index/img/team/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/img/team/1.jpg -------------------------------------------------------------------------------- /WebContent/index/img/team/2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/img/team/2.jpg -------------------------------------------------------------------------------- /WebContent/index/img/team/3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/img/team/3.jpg -------------------------------------------------------------------------------- /WebContent/index/img/team/4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/img/team/4.jpg -------------------------------------------------------------------------------- /WebContent/index/img/we2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/img/we2.png -------------------------------------------------------------------------------- /WebContent/index/js/bootstrap-3.3.7-dist/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/js/bootstrap-3.3.7-dist/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /WebContent/index/js/bootstrap-3.3.7-dist/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/js/bootstrap-3.3.7-dist/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /WebContent/index/js/bootstrap-3.3.7-dist/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/js/bootstrap-3.3.7-dist/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /WebContent/index/js/bootstrap-3.3.7-dist/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/js/bootstrap-3.3.7-dist/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /WebContent/index/js/bootstrap-3.3.7-dist/js/npm.js: -------------------------------------------------------------------------------- 1 | // This file is autogenerated via the `commonjs` Grunt task. You can require() this file in a CommonJS environment. 2 | require('../../js/transition.js') 3 | require('../../js/alert.js') 4 | require('../../js/button.js') 5 | require('../../js/carousel.js') 6 | require('../../js/collapse.js') 7 | require('../../js/dropdown.js') 8 | require('../../js/modal.js') 9 | require('../../js/tooltip.js') 10 | require('../../js/popover.js') 11 | require('../../js/scrollspy.js') 12 | require('../../js/tab.js') 13 | require('../../js/affix.js') -------------------------------------------------------------------------------- /WebContent/index/js/supersized-init.js: -------------------------------------------------------------------------------- 1 | jQuery(function($){ 2 | 3 | $.supersized({ 4 | 5 | // 功能 6 | slide_interval : 4000, // 转换之间的长度 7 | transition : 1, // 0 - 无,1 - 淡入淡出,2 - 滑动顶,3 - 滑动向右,4 - 滑底,5 - 滑块向左,6 - 旋转木马右键,7 - 左旋转木马 8 | transition_speed : 1000, // 转型速度 9 | performance : 1, // 0 - 正常,1 - 混合速度/质量,2 - 更优的图像质量,三优的转换速度//(仅适用于火狐/ IE浏览器,而不是Webkit的) 10 | 11 | // 大小和位置 12 | min_width : 0, // 最小允许宽度(以像素为单位) 13 | min_height : 0, // 最小允许高度(以像素为单位) 14 | vertical_center : 1, // 垂直居中背景 15 | horizontal_center : 1, // 水平中心的背景 16 | fit_always : 0, // 图像绝不会超过浏览器的宽度或高度(忽略分钟。尺寸) 17 | fit_portrait : 1, // 纵向图像将不超过浏览器高度 18 | fit_landscape : 0, // 景观的图像将不超过宽度的浏览器 19 | 20 | // 组件 21 | slide_links : 'blank', // 个别环节为每张幻灯片(选项:假的,'民','名','空') 22 | slides : [ // 幻灯片影像 23 | {image : './images/1.jpg'}, 24 | {image : './images/2.jpg'}, 25 | {image : './images/3.jpg'} 26 | ] 27 | 28 | }); 29 | 30 | }); 31 | /* 32 | 本代码由js代码收集并编辑整理; 33 | 尊重他人劳动成果; 34 | 转载请保留js代码链接 - www.jsdaima.com 35 | */ -------------------------------------------------------------------------------- /WebContent/index/layui/css/modules/code.css: -------------------------------------------------------------------------------- 1 | /** layui-v2.4.3 MIT License By https://www.layui.com */ 2 | html #layuicss-skincodecss{display:none;position:absolute;width:1989px}.layui-code-h3,.layui-code-view{position:relative;font-size:12px}.layui-code-view{display:block;margin:10px 0;padding:0;border:1px solid #e2e2e2;border-left-width:6px;background-color:#F2F2F2;color:#333;font-family:Courier New}.layui-code-h3{padding:0 10px;height:32px;line-height:32px;border-bottom:1px solid #e2e2e2}.layui-code-h3 a{position:absolute;right:10px;top:0;color:#999}.layui-code-view .layui-code-ol{position:relative;overflow:auto}.layui-code-view .layui-code-ol li{position:relative;margin-left:45px;line-height:20px;padding:0 5px;border-left:1px solid #e2e2e2;list-style-type:decimal-leading-zero;*list-style-type:decimal;background-color:#fff}.layui-code-view pre{margin:0}.layui-code-notepad{border:1px solid #0C0C0C;border-left-color:#3F3F3F;background-color:#0C0C0C;color:#C2BE9E}.layui-code-notepad .layui-code-h3{border-bottom:none}.layui-code-notepad .layui-code-ol li{background-color:#3F3F3F;border-left:none} -------------------------------------------------------------------------------- /WebContent/index/layui/css/modules/layer/default/icon-ext.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/layui/css/modules/layer/default/icon-ext.png -------------------------------------------------------------------------------- /WebContent/index/layui/css/modules/layer/default/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/layui/css/modules/layer/default/icon.png -------------------------------------------------------------------------------- /WebContent/index/layui/css/modules/layer/default/loading-0.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/layui/css/modules/layer/default/loading-0.gif -------------------------------------------------------------------------------- /WebContent/index/layui/css/modules/layer/default/loading-1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/layui/css/modules/layer/default/loading-1.gif -------------------------------------------------------------------------------- /WebContent/index/layui/css/modules/layer/default/loading-2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/layui/css/modules/layer/default/loading-2.gif -------------------------------------------------------------------------------- /WebContent/index/layui/font/iconfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/layui/font/iconfont.eot -------------------------------------------------------------------------------- /WebContent/index/layui/font/iconfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/layui/font/iconfont.ttf -------------------------------------------------------------------------------- /WebContent/index/layui/font/iconfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/layui/font/iconfont.woff -------------------------------------------------------------------------------- /WebContent/index/layui/images/face/0.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/layui/images/face/0.gif -------------------------------------------------------------------------------- /WebContent/index/layui/images/face/1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/layui/images/face/1.gif -------------------------------------------------------------------------------- /WebContent/index/layui/images/face/10.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/layui/images/face/10.gif -------------------------------------------------------------------------------- /WebContent/index/layui/images/face/11.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/layui/images/face/11.gif -------------------------------------------------------------------------------- /WebContent/index/layui/images/face/12.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/layui/images/face/12.gif -------------------------------------------------------------------------------- /WebContent/index/layui/images/face/13.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/layui/images/face/13.gif -------------------------------------------------------------------------------- /WebContent/index/layui/images/face/14.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/layui/images/face/14.gif -------------------------------------------------------------------------------- /WebContent/index/layui/images/face/15.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/layui/images/face/15.gif -------------------------------------------------------------------------------- /WebContent/index/layui/images/face/16.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/layui/images/face/16.gif -------------------------------------------------------------------------------- /WebContent/index/layui/images/face/17.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/layui/images/face/17.gif -------------------------------------------------------------------------------- /WebContent/index/layui/images/face/18.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/layui/images/face/18.gif -------------------------------------------------------------------------------- /WebContent/index/layui/images/face/19.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/layui/images/face/19.gif -------------------------------------------------------------------------------- /WebContent/index/layui/images/face/2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/layui/images/face/2.gif -------------------------------------------------------------------------------- /WebContent/index/layui/images/face/20.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/layui/images/face/20.gif -------------------------------------------------------------------------------- /WebContent/index/layui/images/face/21.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/layui/images/face/21.gif -------------------------------------------------------------------------------- /WebContent/index/layui/images/face/22.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/layui/images/face/22.gif -------------------------------------------------------------------------------- /WebContent/index/layui/images/face/23.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/layui/images/face/23.gif -------------------------------------------------------------------------------- /WebContent/index/layui/images/face/24.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/layui/images/face/24.gif -------------------------------------------------------------------------------- /WebContent/index/layui/images/face/25.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/layui/images/face/25.gif -------------------------------------------------------------------------------- /WebContent/index/layui/images/face/26.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/layui/images/face/26.gif -------------------------------------------------------------------------------- /WebContent/index/layui/images/face/27.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/layui/images/face/27.gif -------------------------------------------------------------------------------- /WebContent/index/layui/images/face/28.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/layui/images/face/28.gif -------------------------------------------------------------------------------- /WebContent/index/layui/images/face/29.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/layui/images/face/29.gif -------------------------------------------------------------------------------- /WebContent/index/layui/images/face/3.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/layui/images/face/3.gif -------------------------------------------------------------------------------- /WebContent/index/layui/images/face/30.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/layui/images/face/30.gif -------------------------------------------------------------------------------- /WebContent/index/layui/images/face/31.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/layui/images/face/31.gif -------------------------------------------------------------------------------- /WebContent/index/layui/images/face/32.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/layui/images/face/32.gif -------------------------------------------------------------------------------- /WebContent/index/layui/images/face/33.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/layui/images/face/33.gif -------------------------------------------------------------------------------- /WebContent/index/layui/images/face/34.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/layui/images/face/34.gif -------------------------------------------------------------------------------- /WebContent/index/layui/images/face/35.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/layui/images/face/35.gif -------------------------------------------------------------------------------- /WebContent/index/layui/images/face/36.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/layui/images/face/36.gif -------------------------------------------------------------------------------- /WebContent/index/layui/images/face/37.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/layui/images/face/37.gif -------------------------------------------------------------------------------- /WebContent/index/layui/images/face/38.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/layui/images/face/38.gif -------------------------------------------------------------------------------- /WebContent/index/layui/images/face/39.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/layui/images/face/39.gif -------------------------------------------------------------------------------- /WebContent/index/layui/images/face/4.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/layui/images/face/4.gif -------------------------------------------------------------------------------- /WebContent/index/layui/images/face/40.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/layui/images/face/40.gif -------------------------------------------------------------------------------- /WebContent/index/layui/images/face/41.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/layui/images/face/41.gif -------------------------------------------------------------------------------- /WebContent/index/layui/images/face/42.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/layui/images/face/42.gif -------------------------------------------------------------------------------- /WebContent/index/layui/images/face/43.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/layui/images/face/43.gif -------------------------------------------------------------------------------- /WebContent/index/layui/images/face/44.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/layui/images/face/44.gif -------------------------------------------------------------------------------- /WebContent/index/layui/images/face/45.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/layui/images/face/45.gif -------------------------------------------------------------------------------- /WebContent/index/layui/images/face/46.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/layui/images/face/46.gif -------------------------------------------------------------------------------- /WebContent/index/layui/images/face/47.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/layui/images/face/47.gif -------------------------------------------------------------------------------- /WebContent/index/layui/images/face/48.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/layui/images/face/48.gif -------------------------------------------------------------------------------- /WebContent/index/layui/images/face/49.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/layui/images/face/49.gif -------------------------------------------------------------------------------- /WebContent/index/layui/images/face/5.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/layui/images/face/5.gif -------------------------------------------------------------------------------- /WebContent/index/layui/images/face/50.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/layui/images/face/50.gif -------------------------------------------------------------------------------- /WebContent/index/layui/images/face/51.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/layui/images/face/51.gif -------------------------------------------------------------------------------- /WebContent/index/layui/images/face/52.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/layui/images/face/52.gif -------------------------------------------------------------------------------- /WebContent/index/layui/images/face/53.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/layui/images/face/53.gif -------------------------------------------------------------------------------- /WebContent/index/layui/images/face/54.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/layui/images/face/54.gif -------------------------------------------------------------------------------- /WebContent/index/layui/images/face/55.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/layui/images/face/55.gif -------------------------------------------------------------------------------- /WebContent/index/layui/images/face/56.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/layui/images/face/56.gif -------------------------------------------------------------------------------- /WebContent/index/layui/images/face/57.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/layui/images/face/57.gif -------------------------------------------------------------------------------- /WebContent/index/layui/images/face/58.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/layui/images/face/58.gif -------------------------------------------------------------------------------- /WebContent/index/layui/images/face/59.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/layui/images/face/59.gif -------------------------------------------------------------------------------- /WebContent/index/layui/images/face/6.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/layui/images/face/6.gif -------------------------------------------------------------------------------- /WebContent/index/layui/images/face/60.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/layui/images/face/60.gif -------------------------------------------------------------------------------- /WebContent/index/layui/images/face/61.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/layui/images/face/61.gif -------------------------------------------------------------------------------- /WebContent/index/layui/images/face/62.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/layui/images/face/62.gif -------------------------------------------------------------------------------- /WebContent/index/layui/images/face/63.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/layui/images/face/63.gif -------------------------------------------------------------------------------- /WebContent/index/layui/images/face/64.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/layui/images/face/64.gif -------------------------------------------------------------------------------- /WebContent/index/layui/images/face/65.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/layui/images/face/65.gif -------------------------------------------------------------------------------- /WebContent/index/layui/images/face/66.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/layui/images/face/66.gif -------------------------------------------------------------------------------- /WebContent/index/layui/images/face/67.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/layui/images/face/67.gif -------------------------------------------------------------------------------- /WebContent/index/layui/images/face/68.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/layui/images/face/68.gif -------------------------------------------------------------------------------- /WebContent/index/layui/images/face/69.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/layui/images/face/69.gif -------------------------------------------------------------------------------- /WebContent/index/layui/images/face/7.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/layui/images/face/7.gif -------------------------------------------------------------------------------- /WebContent/index/layui/images/face/70.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/layui/images/face/70.gif -------------------------------------------------------------------------------- /WebContent/index/layui/images/face/71.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/layui/images/face/71.gif -------------------------------------------------------------------------------- /WebContent/index/layui/images/face/8.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/layui/images/face/8.gif -------------------------------------------------------------------------------- /WebContent/index/layui/images/face/9.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/layui/images/face/9.gif -------------------------------------------------------------------------------- /WebContent/index/layui/lay/modules/code.js: -------------------------------------------------------------------------------- 1 | /** layui-v2.4.3 MIT License By https://www.layui.com */ 2 | ;layui.define("jquery",function(e){"use strict";var a=layui.$,l="http://www.layui.com/doc/modules/code.html";e("code",function(e){var t=[];e=e||{},e.elem=a(e.elem||".layui-code"),e.about=!("about"in e)||e.about,e.elem.each(function(){t.push(this)}),layui.each(t.reverse(),function(t,i){var c=a(i),o=c.html();(c.attr("lay-encode")||e.encode)&&(o=o.replace(/&(?!#?[a-zA-Z0-9]+;)/g,"&").replace(//g,">").replace(/'/g,"'").replace(/"/g,""")),c.html('
  1. '+o.replace(/[\r\t\n]+/g,"
  2. ")+"
"),c.find(">.layui-code-h3")[0]||c.prepend('

'+(c.attr("lay-title")||e.title||"code")+(e.about?'layui.code':"")+"

");var d=c.find(">.layui-code-ol");c.addClass("layui-box layui-code-view"),(c.attr("lay-skin")||e.skin)&&c.addClass("layui-code-"+(c.attr("lay-skin")||e.skin)),(d.find("li").length/100|0)>0&&d.css("margin-left",(d.find("li").length/100|0)+"px"),(c.attr("lay-height")||e.height)&&d.css("max-height",c.attr("lay-height")||e.height)})})}).addcss("modules/code.css","skincodecss"); -------------------------------------------------------------------------------- /WebContent/index/layui/lay/modules/flow.js: -------------------------------------------------------------------------------- 1 | /** layui-v2.4.3 MIT License By https://www.layui.com */ 2 | ;layui.define("jquery",function(e){"use strict";var l=layui.$,o=function(e){},t='';o.prototype.load=function(e){var o,i,n,r,a=this,c=0;e=e||{};var f=l(e.elem);if(f[0]){var m=l(e.scrollElem||document),u=e.mb||50,s=!("isAuto"in e)||e.isAuto,v=e.end||"没有更多了",y=e.scrollElem&&e.scrollElem!==document,d="加载更多",h=l('");f.find(".layui-flow-more")[0]||f.append(h);var p=function(e,t){e=l(e),h.before(e),t=0==t||null,t?h.html(v):h.find("a").html(d),i=t,o=null,n&&n()},g=function(){o=!0,h.find("a").html(t),"function"==typeof e.done&&e.done(++c,p)};if(g(),h.find("a").on("click",function(){l(this);i||o||g()}),e.isLazyimg)var n=a.lazyimg({elem:e.elem+" img",scrollElem:e.scrollElem});return s?(m.on("scroll",function(){var e=l(this),t=e.scrollTop();r&&clearTimeout(r),i||(r=setTimeout(function(){var i=y?e.height():l(window).height(),n=y?e.prop("scrollHeight"):document.documentElement.scrollHeight;n-t-i<=u&&(o||g())},100))}),a):a}},o.prototype.lazyimg=function(e){var o,t=this,i=0;e=e||{};var n=l(e.scrollElem||document),r=e.elem||"img",a=e.scrollElem&&e.scrollElem!==document,c=function(e,l){var o=n.scrollTop(),r=o+l,c=a?function(){return e.offset().top-n.offset().top+o}():e.offset().top;if(c>=o&&c<=r&&!e.attr("src")){var m=e.attr("lay-src");layui.img(m,function(){var l=t.lazyimg.elem.eq(i);e.attr("src",m).removeAttr("lay-src"),l[0]&&f(l),i++})}},f=function(e,o){var f=a?(o||n).height():l(window).height(),m=n.scrollTop(),u=m+f;if(t.lazyimg.elem=l(r),e)c(e,f);else for(var s=0;su)break}};if(f(),!o){var m;n.on("scroll",function(){var e=l(this);m&&clearTimeout(m),m=setTimeout(function(){f(null,e)},50)}),o=!0}return f},e("flow",new o)}); -------------------------------------------------------------------------------- /WebContent/index/layui/lay/modules/laytpl.js: -------------------------------------------------------------------------------- 1 | /** layui-v2.4.3 MIT License By https://www.layui.com */ 2 | ;layui.define(function(e){"use strict";var r={open:"{{",close:"}}"},c={exp:function(e){return new RegExp(e,"g")},query:function(e,c,t){var o=["#([\\s\\S])+?","([^{#}])*?"][e||0];return n((c||"")+r.open+o+r.close+(t||""))},escape:function(e){return String(e||"").replace(/&(?!#?[a-zA-Z0-9]+;)/g,"&").replace(//g,">").replace(/'/g,"'").replace(/"/g,""")},error:function(e,r){var c="Laytpl Error:";return"object"==typeof console&&console.error(c+e+"\n"+(r||"")),c+e}},n=c.exp,t=function(e){this.tpl=e};t.pt=t.prototype,window.errors=0,t.pt.parse=function(e,t){var o=this,p=e,a=n("^"+r.open+"#",""),l=n(r.close+"$","");e=e.replace(/\s+|\r|\t|\n/g," ").replace(n(r.open+"#"),r.open+"# ").replace(n(r.close+"}"),"} "+r.close).replace(/\\/g,"\\\\").replace(n(r.open+"!(.+?)!"+r.close),function(e){return e=e.replace(n("^"+r.open+"!"),"").replace(n("!"+r.close),"").replace(n(r.open+"|"+r.close),function(e){return e.replace(/(.)/g,"\\$1")})}).replace(/(?="|')/g,"\\").replace(c.query(),function(e){return e=e.replace(a,"").replace(l,""),'";'+e.replace(/\\/g,"")+';view+="'}).replace(c.query(1),function(e){var c='"+(';return e.replace(/\s/g,"")===r.open+r.close?"":(e=e.replace(n(r.open+"|"+r.close),""),/^=/.test(e)&&(e=e.replace(/^=/,""),c='"+_escape_('),c+e.replace(/\\/g,"")+')+"')}),e='"use strict";var view = "'+e+'";return view;';try{return o.cache=e=new Function("d, _escape_",e),e(t,c.escape)}catch(u){return delete o.cache,c.error(u,p)}},t.pt.render=function(e,r){var n,t=this;return e?(n=t.cache?t.cache(e,c.escape):t.parse(t.tpl,e),r?void r(n):n):c.error("no data")};var o=function(e){return"string"!=typeof e?c.error("Template not found"):new t(e)};o.config=function(e){e=e||{};for(var c in e)r[c]=e[c]},o.v="1.2.0",e("laytpl",o)}); -------------------------------------------------------------------------------- /WebContent/index/music/七里香.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/music/七里香.mp3 -------------------------------------------------------------------------------- /WebContent/index/music/晴天.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyf8989/Rosemary/442669bebe71eaa3297628f48c80d3d484f03a07/WebContent/index/music/晴天.mp3 -------------------------------------------------------------------------------- /WebContent/index/style.css: -------------------------------------------------------------------------------- 1 | @import url("css/animate.css"); 2 | @import url("css/bootstrap.min.css"); 3 | @import url("css/font-awesome.min.css"); 4 | @import url("css/jquery-ui.min.css"); 5 | @import url("css/meanmenu.min.css"); 6 | @import url("css/nivo-slider.css"); 7 | @import url("css/owl.carousel.css"); 8 | @import url("css/style.css"); 9 | @import url("css/responsive.css"); 10 | -------------------------------------------------------------------------------- /WebContent/index/success.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" contentType="text/html; charset=utf-8" 2 | pageEncoding="utf-8"%> 3 | 4 | 5 | 6 | 7 | Insert title here 8 | 9 | 10 | 14 | 15 | -------------------------------------------------------------------------------- /WebContent/message.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" contentType="text/html; charset=utf-8" 2 | pageEncoding="utf-8"%> 3 | 4 | 5 | 6 | 7 | Insert title here 8 | 9 | 10 | ${message} 11 | 12 | -------------------------------------------------------------------------------- /WebContent/return_url.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> 2 | 3 | 4 | 5 | 6 | 电脑网站支付 7 | 8 | <%@ page import="java.util.*"%> 9 | <%@ page import="java.util.Map"%> 10 | <%@ page import="com.alipay.config.*"%> 11 | <%@ page import="com.alipay.api.*"%> 12 | <%@ page import="com.alipay.api.internal.util.*"%> 13 | <% 14 | /* * 15 | * 功能:支付宝服务器同步通知页面 16 | * 日期:2017-03-30 17 | * 说明: 18 | * 以下代码只是为了方便商户测试而提供的样例代码,商户可以根据自己网站的需要,按照技术文档编写,并非一定要使用该代码。 19 | * 该代码仅供学习和研究支付宝接口使用,只是提供一个参考。 20 | 21 | 22 | *************************页面功能说明************************* 23 | * 该页面仅做页面展示,业务逻辑处理请勿在该页面执行 24 | */ 25 | 26 | //获取支付宝GET过来反馈信息 27 | Map params = new HashMap(); 28 | Map requestParams = request.getParameterMap(); 29 | for (Iterator iter = requestParams.keySet().iterator(); iter.hasNext();) { 30 | String name = (String) iter.next(); 31 | String[] values = (String[]) requestParams.get(name); 32 | String valueStr = ""; 33 | for (int i = 0; i < values.length; i++) { 34 | valueStr = (i == values.length - 1) ? valueStr + values[i] 35 | : valueStr + values[i] + ","; 36 | } 37 | //乱码解决,这段代码在出现乱码时使用 38 | valueStr = new String(valueStr.getBytes("ISO-8859-1"), "utf-8"); 39 | params.put(name, valueStr); 40 | } 41 | 42 | boolean signVerified = AlipaySignature.rsaCheckV1(params, AlipayConfig.alipay_public_key, AlipayConfig.charset, AlipayConfig.sign_type); //调用SDK验证签名 43 | 44 | //——请在这里编写您的程序(以下代码仅作参考)—— 45 | if(signVerified) { 46 | //商户订单号 47 | String out_trade_no = new String(request.getParameter("out_trade_no").getBytes("ISO-8859-1"),"UTF-8"); 48 | 49 | //支付宝交易号 50 | String trade_no = new String(request.getParameter("trade_no").getBytes("ISO-8859-1"),"UTF-8"); 51 | 52 | //付款金额 53 | String total_amount = new String(request.getParameter("total_amount").getBytes("ISO-8859-1"),"UTF-8"); 54 | 55 | out.println(""); 56 | }else { 57 | out.println("验签失败"); 58 | } 59 | //——请在这里编写您的程序(以上代码仅作参考)—— 60 | %> 61 | 62 | 63 | -------------------------------------------------------------------------------- /WebContent/upload.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" contentType="text/html; charset=utf-8" 2 | pageEncoding="utf-8"%> 3 | 4 | 5 | 6 | 7 | Insert title here 8 | 9 | 10 |
11 | 上传用户:
12 | 上传文件1:
13 | 上传文件2:
14 | 15 |
16 | 17 | -------------------------------------------------------------------------------- /src/com/ros/api/HttpDeleteWithBody.java: -------------------------------------------------------------------------------- 1 | package com.ros.api; 2 | 3 | import java.net.URI; 4 | 5 | import org.apache.http.annotation.NotThreadSafe; 6 | import org.apache.http.client.methods.HttpEntityEnclosingRequestBase; 7 | 8 | /** 9 | * 继承自HttpEntityEnclosingRequestBase,覆盖其中的getMethod方法,使其返回“DELETE”, 10 | * 使HttpDelete可以发送body信息。 11 | */ 12 | @NotThreadSafe 13 | 14 | public class HttpDeleteWithBody extends HttpEntityEnclosingRequestBase { 15 | public static final String METHOD_NAME = "DELETE"; 16 | 17 | /** 18 | * 覆盖其中的getMethod方法,使其返回“DELETE”, 19 | */ 20 | @Override 21 | public String getMethod() { return METHOD_NAME; } 22 | 23 | public HttpDeleteWithBody(final String uri) { 24 | super(); 25 | setURI(URI.create(uri)); 26 | } 27 | public HttpDeleteWithBody(final URI uri) { 28 | super(); 29 | setURI(uri); 30 | } 31 | public HttpDeleteWithBody() { super(); } 32 | } 33 | -------------------------------------------------------------------------------- /src/com/ros/api/RequestEncoder.java: -------------------------------------------------------------------------------- 1 | package com.ros.api; 2 | 3 | import java.security.MessageDigest; 4 | import java.util.Iterator; 5 | import java.util.Map; 6 | import java.util.Set; 7 | 8 | public class RequestEncoder { 9 | 10 | 11 | private static final char[] HEX_DIGITS = { '0', '1', '2', '3', '4', '5', 12 | '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f' }; 13 | public static final String MD5 = "MD5"; 14 | public static final String SHA1 = "SHA1"; 15 | /** 16 | * encode string 17 | * 18 | * @param algorithm 19 | * @param str 20 | * @return String 21 | */ 22 | public static String encode(String algorithm, String str) { 23 | if (str == null) { 24 | return null; 25 | } 26 | try { 27 | MessageDigest messageDigest = MessageDigest.getInstance(algorithm); 28 | messageDigest.update(str.getBytes("UTF-8")); 29 | return getFormattedText(messageDigest.digest()); 30 | } catch (Exception e) { 31 | throw new RuntimeException(e); 32 | } 33 | 34 | } 35 | 36 | /** 37 | * Takes the raw bytes from the digest and formats them correct. 38 | * 39 | * @param bytes 40 | * the raw bytes from the digest. 41 | * @return the formatted bytes. 42 | */ 43 | private static String getFormattedText(byte[] bytes) { 44 | int len = bytes.length; 45 | StringBuilder buf = new StringBuilder(len * 2); 46 | for (int j = 0; j < len; j++) {buf.append(HEX_DIGITS[(bytes[j] >> 4) & 0x0f]); 47 | buf.append(HEX_DIGITS[bytes[j] & 0x0f]); 48 | } 49 | return buf.toString(); 50 | } 51 | 52 | public static String formatRequest(Map data){ 53 | Set keySet = data.keySet(); 54 | Iterator it = keySet.iterator(); 55 | StringBuffer sb = new StringBuffer(); 56 | while(it.hasNext()){ 57 | String key = it.next(); 58 | Object value = data.get(key); 59 | if(value instanceof String){ 60 | sb.append(key + "=" + value + "&"); 61 | } 62 | } 63 | if(sb.length() != 0){ 64 | return sb.substring(0, sb.length() - 1); 65 | } 66 | return null; 67 | } 68 | } 69 | -------------------------------------------------------------------------------- /src/com/ros/dao/AddressDao.java: -------------------------------------------------------------------------------- 1 | package com.ros.dao; 2 | /** 3 | * 定义AddressDao 接口 4 | * @author hyf 5 | * 6 | */ 7 | 8 | import java.util.ArrayList; 9 | import java.util.List; 10 | 11 | import com.ros.entity.Address; 12 | 13 | public interface AddressDao { 14 | 15 | 16 | List
queryAddressByUserName(String userName);//用户查询自己的收货地址 17 | boolean addAddress(Address address);//用户添加收货地址 18 | boolean deleteAddress(int addressId);//用户删除收货地址 19 | boolean updateAddress(Address address);//用户地址信息的更新 20 | } 21 | -------------------------------------------------------------------------------- /src/com/ros/dao/CommentDao.java: -------------------------------------------------------------------------------- 1 | package com.ros.dao; 2 | /** 3 | * 自定义接口CommentDao 4 | * @author hyf 5 | * 6 | */ 7 | 8 | import java.util.List; 9 | 10 | import com.ros.entity.Comment; 11 | 12 | public interface CommentDao { 13 | 14 | List queryComment(int messageId);//根据留言编号获取评论信息记录 15 | 16 | } 17 | -------------------------------------------------------------------------------- /src/com/ros/dao/FlowerInfoDao.java: -------------------------------------------------------------------------------- 1 | package com.ros.dao; 2 | 3 | import java.util.ArrayList; 4 | import java.util.List; 5 | 6 | import com.ros.entity.FlowerInfo; 7 | import com.ros.entity.FlowerType; 8 | import com.ros.util.PageData; 9 | 10 | public interface FlowerInfoDao { 11 | public ArrayList getFlowerInfoByLimit();//前台展示最新鲜花 12 | public ArrayList getFlowerInfoByPrice();//前台展示顶级鲜花 13 | public PageData queryFlowerInfoByPage(int page, int pageSize, String keyword,int priceStart,int priceEnd,int typeId1,int typeId2,String sort,String sortType);//主页显示所有鲜花 14 | public ArrayList queryFlowerType();//获取当前所有花的类别 15 | public FlowerInfo getFlowerInfoById(int flowerId);//根据鲜花ID获得鲜花的信息(生成一个鲜花实体类对象) 16 | public boolean setFlowerStockByFlowerId(int flowerId,int stock);//根据鲜花编号更改鲜花库存 17 | PageData queryFlowerByPage(int page,int pageSize,String keywords); 18 | List queryFlowerInfo(); 19 | boolean insertFlowerInfo(FlowerInfo f);//后台新品发布 20 | 21 | boolean updateFlowerStock(int flowerId,int stock);//鲜花的进货(后台) 22 | boolean updateFlower(FlowerInfo f);//后台商品修改 23 | 24 | } 25 | -------------------------------------------------------------------------------- /src/com/ros/dao/ManagerDao.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Project Name:Rosemary 3 | * File Name:ManagerDao.java 4 | * Package Name:com.ros.dao 5 | * Date:2018年10月11日下午7:23:28 6 | * Copyright (c) 2018, ***@126.com All Rights Reserved. 7 | * 8 | */ 9 | 10 | package com.ros.dao; 11 | 12 | import java.util.List; 13 | 14 | import com.ros.entity.Manager; 15 | import com.ros.util.PageData; 16 | 17 | /** 18 | * ClassName: ManagerDao
19 | * 类的作用:
20 | * 21 | * 22 | * 23 | * @author Administrator 24 | * @version 25 | * @since JDK 1.8 26 | */ 27 | 28 | public interface ManagerDao { 29 | // 登陆验证的查询 30 | public Manager queryManagerByNameAndPwd(String adminName, String adminPwd); 31 | 32 | // 添加管理员 33 | boolean addManager(Manager m); 34 | 35 | // 显示管理员信息 36 | List queryManager(); 37 | 38 | //显示管理员分页 39 | PageData queryManagerByPage(int page,int pageSize,String keywords); 40 | 41 | /*// 删除管理员 42 | boolean delManager(int adminId);*/ 43 | 44 | // 重置密码 45 | boolean updateManagerPwd(String adminName); 46 | 47 | // 锁定管理员状态 48 | boolean lockManagerStatus(String adminName); 49 | 50 | // 解锁管理员状态 51 | boolean clearManagerStatus(String adminName); 52 | 53 | //根据管理员名称查询管理员 54 | Manager queryManager(String adminName); 55 | 56 | 57 | 58 | } 59 | -------------------------------------------------------------------------------- /src/com/ros/dao/MessageDao.java: -------------------------------------------------------------------------------- 1 | package com.ros.dao; 2 | 3 | import java.util.List; 4 | 5 | import com.ros.entity.Message; 6 | import com.ros.util.PageData; 7 | 8 | /** 9 | * 自定义的MessageDao接口 10 | * @author hyf 11 | * 12 | */ 13 | public interface MessageDao { 14 | 15 | List queryMessege(int flowerId);//根据花的编号查询留言信息 16 | PageData queryMessageByPage(int page,int pageSize,String keywords);//查询所有的留言记录并分页 17 | boolean deleteMessage(int messageId);//根据留言记录的编号删除留言信息 18 | } 19 | -------------------------------------------------------------------------------- /src/com/ros/dao/MyOrdersDao.java: -------------------------------------------------------------------------------- 1 | package com.ros.dao; 2 | 3 | import java.util.ArrayList; 4 | import java.util.List; 5 | 6 | 7 | import com.ros.entity.OrderInfo; 8 | import com.ros.entity.OrderInfo_Re_FlowerInfo; 9 | import com.ros.entity.Orders; 10 | import com.ros.util.PageData; 11 | 12 | /** 13 | * 自定义接口MyOrderDao 14 | * @author Administrator 15 | * 16 | */ 17 | public interface MyOrdersDao { 18 | 19 | public PageData queryOrderByUserId(int userId,int page,int pageSize);//根据用户编号获取用户全部订单信息 20 | public boolean createOrder(Orders orders);//对订单表的插入 21 | public boolean insertOrderInfo(OrderInfo orderInfo);//对订单详情表进行插入 22 | public Orders getOrderInfoByOrderId(int orderId);//根据订单ID查询出该条订单所有信息 23 | public boolean setOrderStatus(int orderId);//支付成功之后,对订单状态设置为已付款 24 | public PageData queryOrdersByPage(int page,int pageSize,String keywords);//查询所有的订单记录并分页、模糊查找(后台) 25 | List orderQueryByStatus(int status);//根据订单状态查询订单信息(后台) 26 | boolean updateOrder(int orderId,int orderStatus,String sendTime);//根据订单编号更改订单信息(后台,只能更新订单状态和发货时间) 27 | List queryOrderDetailInfoByOrderId(int orderId);//根据订单编号查询订单的鲜花等详情信息 28 | } 29 | -------------------------------------------------------------------------------- /src/com/ros/dao/TypesDao.java: -------------------------------------------------------------------------------- 1 | package com.ros.dao; 2 | 3 | import java.util.List; 4 | 5 | import com.ros.entity.Types; 6 | import com.ros.util.PageData; 7 | 8 | /** 9 | * 自定义鲜花类型接口TypesDao 10 | * @author Administrator 11 | * 12 | */ 13 | public interface TypesDao { 14 | PageData queryType(int page,int pageSize,String keywords);//分页查询所有类型 15 | boolean updateType(Types t);//修改类型 16 | boolean delType(int typeId);//删除类型 17 | boolean addType(Types t);//增加类型 18 | List queryType(); 19 | 20 | } 21 | -------------------------------------------------------------------------------- /src/com/ros/dao/UserBeanDao.java: -------------------------------------------------------------------------------- 1 | package com.ros.dao; 2 | 3 | import java.util.List; 4 | 5 | import com.ros.entity.UserBasicInfo; 6 | import com.ros.entity.UserBean; 7 | import com.ros.entity.UserDetailInfo; 8 | 9 | /** 10 | * 自定义用户信息展示UserBean接口 11 | * @author Administrator 12 | * 13 | */ 14 | public interface UserBeanDao { 15 | //查询当前用户信息 16 | List queryUsersBean(int userId); 17 | //修改用户详细信息 18 | boolean updateUserDetailInfo(UserDetailInfo ud); 19 | } 20 | -------------------------------------------------------------------------------- /src/com/ros/dao/UserDao.java: -------------------------------------------------------------------------------- 1 | package com.ros.dao; 2 | 3 | import java.util.List; 4 | 5 | import org.apache.catalina.realm.UserDatabaseRealm; 6 | 7 | import com.ros.entity.UserBasicInfo; 8 | import com.ros.entity.UserBean; 9 | import com.ros.entity.UserDetailInfo; 10 | import com.ros.util.PageData; 11 | 12 | /** 13 | * UserDao 接口 14 | */ 15 | public interface UserDao { 16 | 17 | public boolean register(String userName);// 用户注册方法(判断) 18 | 19 | UserBasicInfo login(String userName, String userPwd);// 用户登录方法 20 | 21 | public boolean insertUser(UserBasicInfo ub);// 注册成功时进行插入 22 | 23 | boolean upatePwd(String userName, String updateTime, String newPwd);// 用户修改密码 24 | 25 | public UserBasicInfo getUserBasicInfoByUserName(String userName);// 根据用户名查询出用户信息 26 | 27 | public boolean insertUserDetail(UserDetailInfo uDI);// 注册成功时同时插入用户详情表 28 | 29 | /** 30 | * @Title: queryUsersBean 31 | * @Description: TODO(后台用户信息展示) 32 | * @return List 返回类型 33 | */ 34 | List queryUsersBean(); 35 | 36 | /** 37 | * @Title: queryUserBeanByPage 38 | * @Description: TODO(后台用户管理分页) 39 | * @param page 40 | * @param pageSize 41 | * @param keywords 42 | * @return PageData 返回类型 43 | */ 44 | PageData queryUserBeanByPage(int page, int pageSize, String keywords); 45 | 46 | public boolean addUsers(UserBasicInfo ubi);// 后台添加用户 47 | 48 | } 49 | -------------------------------------------------------------------------------- /src/com/ros/dao_impl/AddressDaoImpl.java: -------------------------------------------------------------------------------- 1 | package com.ros.dao_impl; 2 | 3 | import java.util.ArrayList; 4 | import java.util.List; 5 | 6 | import com.ros.dao.AddressDao; 7 | import com.ros.entity.Address; 8 | import com.ros.util.BaseDao; 9 | /** 10 | * 定义AddressDao接口的实现类 11 | * @author Administrator 12 | * 13 | */ 14 | public class AddressDaoImpl implements AddressDao { 15 | 16 | 17 | /** 18 | * 展示用户的收货地址方法 19 | * @param userName 用户名 20 | * return List
Address对象集合 21 | */ 22 | @Override 23 | public List
queryAddressByUserName(String userName) { 24 | 25 | String sql="select a. addressId,b.userName, a.receiverProvince,a.receiverCity,a.receiverDistrict,a.addressInfo,a.receiverName,a.receiverPhone,a.receiverZip,a.createTime,a.updateTime from address_info a inner join user_basicinfo b on a.userId=b.userId where b.userName=? "; 26 | List
list=(ArrayList
) BaseDao.select(sql, Address.class, userName); 27 | 28 | return list; 29 | } 30 | 31 | /** 32 | *用户添加收货地址 33 | * 34 | * @param address 地址信息对象 35 | * return true/添加成功 false/添加失败 36 | */ 37 | @Override 38 | public boolean addAddress(Address address) { 39 | String sql="insert into address_info(userId,receiverName,receiverPhone,receiverProvince,receiverCity,receiverDistrict,addressInfo,receiverZip,createTime,updateTime) values(?,?,?,?,?,?,?,?,?,?)"; 40 | return BaseDao.execute(sql, address.getUserId(),address.getReceiverName(),address.getReceiverPhone(),address.getReceiverProvince(),address.getReceiverCity(),address.getReceiverDistrict(),address.getAddressInfo(),address.getReceiverZip(),address.getCreateTime(),address.getUpdateTime())>0; 41 | } 42 | 43 | /** 44 | *用户删除收货地址 45 | * 46 | * @param addressId 地址信息编号 47 | * return true/删除成功 false/删除失败 48 | */ 49 | @Override 50 | public boolean deleteAddress(int addressId) { 51 | String sql="delete from address_info where addressId=?"; 52 | return BaseDao.execute(sql, addressId)>0; 53 | } 54 | 55 | /** 56 | *用户更新收货地址 57 | * 58 | * @param address 地址信息对象 59 | * return true/更新成功 false/更新失败 60 | */ 61 | @Override 62 | public boolean updateAddress(Address address) { 63 | String sql="update address_info set receiverName=?,receiverPhone=?,receiverProvince=?,receiverCity=?,receiverDistrict=?,addressInfo=?,receiverZip=?,updateTime=? where addressId=?"; 64 | 65 | return BaseDao.execute(sql, address.getReceiverName(),address.getReceiverPhone(),address.getReceiverProvince(),address.getReceiverCity(),address.getReceiverDistrict(),address.getAddressInfo(),address.getReceiverZip(),address.getUpdateTime(),address.getAddressId())>0; 66 | } 67 | } 68 | -------------------------------------------------------------------------------- /src/com/ros/dao_impl/CommentDaoImpl.java: -------------------------------------------------------------------------------- 1 | package com.ros.dao_impl; 2 | 3 | import java.util.List; 4 | 5 | import com.ros.dao.CommentDao; 6 | import com.ros.entity.Comment; 7 | import com.ros.util.BaseDao; 8 | 9 | public class CommentDaoImpl implements CommentDao { 10 | /** 11 | * 根据留言编号查询评论信息 12 | * @param messageId 花束的编号 13 | * return Comment对象的集合 14 | */ 15 | @Override 16 | public List queryComment(int messageId) { 17 | String sql="select * from comment where messageId=?"; 18 | List list=(List)BaseDao.select(sql, Comment.class, messageId); 19 | return list; 20 | } 21 | 22 | } 23 | -------------------------------------------------------------------------------- /src/com/ros/dao_impl/MessageDaoImpl.java: -------------------------------------------------------------------------------- 1 | package com.ros.dao_impl; 2 | 3 | import java.sql.Connection; 4 | import java.sql.SQLException; 5 | import java.util.List; 6 | 7 | import com.ros.dao.MessageDao; 8 | import com.ros.entity.Message; 9 | import com.ros.util.BaseDao; 10 | import com.ros.util.PageData; 11 | 12 | public class MessageDaoImpl implements MessageDao { 13 | /** 14 | * 根据花的编号查询留言信息 15 | * @param flowerId 花束的编号 16 | * return Message对象的集合 17 | */ 18 | @Override 19 | public List queryMessege(int flowerId) { 20 | String sql="select * from leave_message where flowerId=?"; 21 | List list=(List)BaseDao.select(sql, Message.class, flowerId); 22 | 23 | return list; 24 | } 25 | 26 | /** 27 | * 查询所有的留言信息 28 | */ 29 | @Override 30 | public PageData queryMessageByPage(int page, int pageSize, String keywords) { 31 | String sql="select a.messageId,a.content,a.flowerId,a.publishTime,b.userName,c.flowerName from leave_message a INNER JOIN user_basicinfo b ON a.userId=b.userId inner join flower_info c on a.flowerId=c.flowerId where a.content like ?"; 32 | PageData pageData=BaseDao.getPage(sql,page, pageSize, Message.class, "%"+keywords+"%"); 33 | 34 | return pageData; 35 | } 36 | 37 | /** 38 | * 39 | */ 40 | @Override 41 | public boolean deleteMessage(int messageId) { 42 | Connection conn = BaseDao.getConn(); 43 | 44 | try { 45 | 46 | // 在java中可以对支持事务的数据库完成事务的处理 47 | // 1设置自动提交为false 48 | //所有的sql的执行必须是同一个conn对象; 49 | conn.setAutoCommit(false); 50 | 51 | // 52 | // 1先删除该留言的评论 53 | 54 | String sql1 = "delete from comment where messageId=?"; 55 | 56 | //记得要传递第二个参数Connection对象 57 | BaseDao.execute(sql1, conn,messageId); 58 | 59 | // 2删除留言表中的记录 60 | String sql2 = "delete from leave_message where messageId=?"; 61 | 62 | BaseDao.execute(sql2, conn,messageId); 63 | 64 | 65 | // 2 手动提交 66 | conn.commit(); 67 | 68 | return true; 69 | 70 | } catch (Exception e) { 71 | // TODO Auto-generated catch block 72 | // 3 回滚 73 | try { 74 | conn.rollback(); 75 | return true; 76 | } catch (SQLException e1) { 77 | // TODO Auto-generated catch block 78 | e1.printStackTrace(); 79 | } 80 | 81 | e.printStackTrace(); 82 | } 83 | 84 | return false; 85 | } 86 | 87 | } 88 | -------------------------------------------------------------------------------- /src/com/ros/dao_impl/TypesDaoImpl.java: -------------------------------------------------------------------------------- 1 | package com.ros.dao_impl; 2 | 3 | import java.util.List; 4 | 5 | import com.ros.dao.TypesDao; 6 | import com.ros.entity.Types; 7 | import com.ros.util.BaseDao; 8 | import com.ros.util.PageData; 9 | 10 | public class TypesDaoImpl implements TypesDao { 11 | 12 | /** 13 | * 后台显示鲜花类型(分页) 14 | * @param typeId 编号 15 | * @return List 鲜花类型类 16 | */ 17 | @SuppressWarnings("unchecked") 18 | @Override 19 | public PageData queryType(int page, int pageSize, String keywords) { 20 | // TODO Auto-generated method stub 21 | String sql = "SELECT typeId,typeName,createTime,updateTime FROM flower_type WHERE typeName LIKE ? "; 22 | PageData typePd = BaseDao.getPage(sql, page, pageSize,Types.class,"%"+keywords+"%"); 23 | return typePd; 24 | } 25 | 26 | /** 27 | * 更新类型 28 | */ 29 | @Override 30 | public boolean updateType(Types t) { 31 | // TODO Auto-generated method stub 32 | String sql = "UPDATE flower_type set typeName=?,updateTime=? WHERE typeId=?"; 33 | return BaseDao.execute(sql, t.getTypeName(),t.getUpdateTime(),t.getTypeId())>0; 34 | } 35 | 36 | /** 37 | * 删除类型 38 | */ 39 | @Override 40 | public boolean delType(int typeId) { 41 | // TODO Auto-generated method stub 42 | String sql = "DELETE from flower_type WHERE typeId=?"; 43 | return BaseDao.execute(sql, typeId)>0; 44 | } 45 | 46 | /** 47 | * 增加类型 48 | */ 49 | @Override 50 | public boolean addType(Types t) { 51 | // TODO Auto-generated method stub 52 | String sql = "INSERT INTO flower_type(typeName,createTime,updateTime) VALUES(?,?,?)"; 53 | return BaseDao.execute(sql, t.getTypeName(),t.getCreateTime(),t.getUpdateTime())>0; 54 | } 55 | 56 | @SuppressWarnings("unchecked") 57 | @Override 58 | public List queryType() { 59 | // TODO Auto-generated method stub 60 | String sql = "SELECT typeId,typeName,createTime,updateTime FROM flower_type"; 61 | return (List) BaseDao.select(sql, Types.class); 62 | } 63 | 64 | } 65 | -------------------------------------------------------------------------------- /src/com/ros/dao_impl/UserBeanDaoImpl.java: -------------------------------------------------------------------------------- 1 | package com.ros.dao_impl; 2 | 3 | import java.util.List; 4 | 5 | import com.ros.dao.UserBeanDao; 6 | import com.ros.entity.UserBasicInfo; 7 | import com.ros.entity.UserBean; 8 | import com.ros.entity.UserDetailInfo; 9 | import com.ros.util.BaseDao; 10 | 11 | public class UserBeanDaoImpl implements UserBeanDao { 12 | 13 | /** 14 | * 查询用户个人信息的方法 15 | * 16 | * @param userName 17 | * 用户名 18 | * 19 | */ 20 | @SuppressWarnings("unchecked") 21 | @Override 22 | public List queryUsersBean(int userId) { 23 | // TODO Auto-generated method stub 24 | String sql = "select a.userName,a.createTime,a.updateTime,b.name,b.userEmail,b.userTel from user_basicinfo a INNER JOIN user_detailsinfo b on a.userId=b.userId where a.userId=?"; 25 | return (List) BaseDao.select(sql, UserBean.class, userId); 26 | } 27 | 28 | /** 29 | * 修改个人信息 30 | * @param ud 用户详细信息 31 | */ 32 | @Override 33 | public boolean updateUserDetailInfo(UserDetailInfo ud) { 34 | // TODO Auto-generated method stub 35 | String sql = "UPDATE user_detailsinfo SET name=?,userTel=?,userEmail=? WHERE userId=?"; 36 | return BaseDao.execute(sql, ud.getName(), ud.getUserTel(), ud.getUserEmail(), ud.getUserId()) > 0; 37 | } 38 | 39 | } 40 | -------------------------------------------------------------------------------- /src/com/ros/entity/Cart.java: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | */ 4 | package com.ros.entity; 5 | 6 | import java.util.Collection; 7 | import java.util.HashMap; 8 | 9 | /** 10 | * @author Administrator(小谢) 11 | *购物车实体类 12 | */ 13 | public class Cart { 14 | private HashMap map=new HashMap();//声明购物项容器map,键为鲜花编号,值为购物项 15 | private double totalPrice=0;//购物车商品的总价 16 | 17 | 18 | //清空购物车方法 19 | public void clearCart() { 20 | 21 | map.clear(); 22 | } 23 | //移除购物项 24 | public void removeCartItem(int flowerId) { 25 | map.remove(flowerId); 26 | 27 | } 28 | //添加购物项 29 | //第一步,传购物项对象进来,要先进行判断,之前是否已经买过此项产品 30 | //如果买过,则获取传进来的购物项的数量,在原先数量上+1 31 | //否则,则重新插入一个新的购物项记录 32 | /* 33 | * 添加购物项方法 34 | */ 35 | public void addCartItemToCart(CartItem cartItem) { 36 | //先获取传进来的鲜花的编号 37 | int flowerId=cartItem.getFlower().getFlowerId(); 38 | //进行判断之前是否买过 39 | if(map.containsKey(flowerId)) {//如果买过 40 | //获得之前买过的购物项 41 | CartItem oldCartItem=map.get(flowerId); 42 | //在原来购物项中加上你所传进来的购物项的数量 43 | oldCartItem.setQuantity(oldCartItem.getQuantity()+cartItem.getQuantity()); 44 | 45 | } 46 | //如果没有买过,直接put 47 | else { 48 | map.put(flowerId, cartItem); 49 | } 50 | } 51 | 52 | //获取总计 53 | public double getTotalPrice() { 54 | //先让总计清0 55 | totalPrice=0; 56 | //直接遍历map中的所有购物项 57 | Collection value= map.values(); 58 | //遍历所有购物项 59 | for (CartItem cartItem : value) { 60 | totalPrice+=cartItem.getTotal();//总计计算 61 | } 62 | return totalPrice;//返回总计 63 | } 64 | //返回购物车内所有购物项 65 | public Collection getCartItems(){ 66 | return map.values(); 67 | } 68 | 69 | 70 | 71 | } 72 | -------------------------------------------------------------------------------- /src/com/ros/entity/CartItem.java: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | */ 4 | package com.ros.entity; 5 | 6 | /** 7 | * @author Administrator(小谢) 8 | *购物项的实体类 9 | */ 10 | public class CartItem { 11 | private FlowerInfo flower;//声明私有属性鲜花类 12 | private int quantity;//声明数量 13 | private double total=0;//声明价格小计 14 | public FlowerInfo getFlower() { 15 | return flower; 16 | } 17 | public void setFlower(FlowerInfo flower) { 18 | this.flower = flower; 19 | } 20 | public int getQuantity() { 21 | return quantity; 22 | } 23 | public void setQuantity(int quantity) { 24 | this.quantity = quantity; 25 | } 26 | public double getTotal() { 27 | total=0; 28 | return flower.getPrice()*quantity; 29 | } 30 | 31 | @Override 32 | public String toString() { 33 | return "CartItem [flower=" + flower + ", quantity=" + quantity + ", total=" + total + "]"; 34 | } 35 | public CartItem(FlowerInfo flower, int quantity, double total) { 36 | super(); 37 | this.flower = flower; 38 | this.quantity = quantity; 39 | this.total = total; 40 | } 41 | /** 42 | * 43 | */ 44 | public CartItem() { 45 | // TODO Auto-generated constructor stub 46 | } 47 | 48 | } 49 | -------------------------------------------------------------------------------- /src/com/ros/entity/Comment.java: -------------------------------------------------------------------------------- 1 | package com.ros.entity; 2 | /** 3 | * 评论的实体类 4 | * @author hyf 5 | * 6 | */ 7 | public class Comment { 8 | 9 | private int commentId;//评论记录编号 10 | private String content;//评论的内容 11 | private int messageId;//留言记录的编号 12 | private int criticsId;//评论者编号(用户编号) 13 | private String commentTime;//评论时间 14 | public int getCommentId() { 15 | return commentId; 16 | } 17 | public void setCommentId(int commentId) { 18 | this.commentId = commentId; 19 | } 20 | public String getContent() { 21 | return content; 22 | } 23 | public void setContent(String content) { 24 | this.content = content; 25 | } 26 | public int getMessageId() { 27 | return messageId; 28 | } 29 | public void setMessageId(int messageId) { 30 | this.messageId = messageId; 31 | } 32 | public int getCriticsId() { 33 | return criticsId; 34 | } 35 | public void setCriticsId(int criticsId) { 36 | this.criticsId = criticsId; 37 | } 38 | public String getCommentTime() { 39 | return commentTime; 40 | } 41 | public void setCommentTime(String commentTime) { 42 | this.commentTime = commentTime; 43 | } 44 | @Override 45 | public String toString() { 46 | return "Comment [commentId=" + commentId + ", content=" + content + ", messageId=" + messageId + ", criticsId=" 47 | + criticsId + ", commentTime=" + commentTime + "]"; 48 | } 49 | public Comment(int commentId, String content, int messageId, int criticsId, String commentTime) { 50 | super(); 51 | this.commentId = commentId; 52 | this.content = content; 53 | this.messageId = messageId; 54 | this.criticsId = criticsId; 55 | this.commentTime = commentTime; 56 | } 57 | 58 | public Comment() { 59 | // TODO Auto-generated constructor stub 60 | } 61 | } 62 | -------------------------------------------------------------------------------- /src/com/ros/entity/FlowerType.java: -------------------------------------------------------------------------------- 1 | package com.ros.entity; 2 | /** 3 | * 鲜花类别的实体类 4 | * @author Administrator 5 | * 6 | */ 7 | public class FlowerType { 8 | 9 | private int typeId;//鲜花类型编号 10 | private String typeName;//鲜花类别名称 11 | private String createTime;//鲜花类别信息创建时间 12 | private String updateTime;//鲜花类别信息更新时间 13 | public int getTypeId() { 14 | return typeId; 15 | } 16 | public void setTypeId(int typeId) { 17 | this.typeId = typeId; 18 | } 19 | public String getTypeName() { 20 | return typeName; 21 | } 22 | public void setTypeName(String typeName) { 23 | this.typeName = typeName; 24 | } 25 | public String getCreateTime() { 26 | return createTime; 27 | } 28 | public void setCreateTime(String createTime) { 29 | this.createTime = createTime; 30 | } 31 | public String getUpdateTime() { 32 | return updateTime; 33 | } 34 | public void setUpdateTime(String updateTime) { 35 | this.updateTime = updateTime; 36 | } 37 | @Override 38 | public String toString() { 39 | return "FlowerType [typeId=" + typeId + ", typeName=" + typeName + ", createTime=" + createTime 40 | + ", updateTime=" + updateTime + "]"; 41 | } 42 | public FlowerType(int typeId, String typeName, String createTime, String updateTime) { 43 | super(); 44 | this.typeId = typeId; 45 | this.typeName = typeName; 46 | this.createTime = createTime; 47 | this.updateTime = updateTime; 48 | } 49 | 50 | public FlowerType() { 51 | // TODO Auto-generated constructor stub 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /src/com/ros/entity/Manager.java: -------------------------------------------------------------------------------- 1 | package com.ros.entity; 2 | 3 | public class Manager { 4 | private int adminId;// 管理员编号 5 | private String adminName;// 管理员账号 6 | private String adminPwd;// 密码 7 | private int adminStatus;// 管理员状态:0 :锁定 1:解锁; 8 | private int adminLevel;// 管理员身份:0:系统管理员 1:店铺管理员 9 | 10 | public int getAdminId() { 11 | return adminId; 12 | } 13 | 14 | public void setAdminId(int adminId) { 15 | this.adminId = adminId; 16 | } 17 | 18 | public String getAdminName() { 19 | return adminName; 20 | } 21 | 22 | public void setAdminName(String adminName) { 23 | this.adminName = adminName; 24 | } 25 | 26 | public String getAdminPwd() { 27 | return adminPwd; 28 | } 29 | 30 | public void setAdminPwd(String adminPwd) { 31 | this.adminPwd = adminPwd; 32 | } 33 | 34 | public int getAdminStatus() { 35 | return adminStatus; 36 | } 37 | 38 | public void setAdminStatus(int adminStatus) { 39 | this.adminStatus = adminStatus; 40 | } 41 | 42 | public int getAdminLevel() { 43 | return adminLevel; 44 | } 45 | 46 | public void setAdminLevel(int adminLevel) { 47 | this.adminLevel = adminLevel; 48 | } 49 | 50 | public Manager() { 51 | super(); 52 | } 53 | 54 | public Manager(int adminId, String adminName, String adminPwd, int adminStatus, int 55 | 56 | adminLevel) { 57 | super(); 58 | this.adminId = adminId; 59 | this.adminName = adminName; 60 | this.adminPwd = adminPwd; 61 | this.adminStatus = adminStatus; 62 | this.adminLevel = adminLevel; 63 | } 64 | 65 | public Manager(String adminName, String adminPwd, int adminStatus, int adminLevel) { 66 | super(); 67 | this.adminName = adminName; 68 | this.adminPwd = adminPwd; 69 | this.adminStatus = adminStatus; 70 | this.adminLevel = adminLevel; 71 | } 72 | 73 | @Override 74 | public String toString() { 75 | return "Manager [adminId=" + adminId + ", adminName=" + adminName + ", adminPwd=" + adminPwd + ", adminStatus=" 76 | + adminStatus + ", adminLevel=" + adminLevel + "]"; 77 | } 78 | 79 | } 80 | -------------------------------------------------------------------------------- /src/com/ros/entity/Message.java: -------------------------------------------------------------------------------- 1 | package com.ros.entity; 2 | /** 3 | * 留言的实体类 4 | * @author 黄有芳 5 | * 6 | */ 7 | public class Message { 8 | 9 | private int messageId; 10 | private String content; 11 | private String userName; 12 | private int flowerId; 13 | private String flowerName; 14 | private String publishTime; 15 | public int getMessageId() { 16 | return messageId; 17 | } 18 | public void setMessageId(int messageId) { 19 | this.messageId = messageId; 20 | } 21 | public String getContent() { 22 | return content; 23 | } 24 | public void setContent(String content) { 25 | this.content = content; 26 | } 27 | 28 | public String getUserName() { 29 | return userName; 30 | } 31 | public void setUserName(String userName) { 32 | this.userName = userName; 33 | } 34 | public String getFlowerName() { 35 | return flowerName; 36 | } 37 | public void setFlowerName(String flowerName) { 38 | this.flowerName = flowerName; 39 | } 40 | public int getFlowerId() { 41 | return flowerId; 42 | } 43 | public void setFlowerId(int flowerId) { 44 | this.flowerId = flowerId; 45 | } 46 | public String getPublishTime() { 47 | return publishTime; 48 | } 49 | public void setPublishTime(String publishTime) { 50 | this.publishTime = publishTime; 51 | } 52 | 53 | 54 | public Message(int messageId, String content, String userName, int flowerId, String flowerName, 55 | String publishTime) { 56 | super(); 57 | this.messageId = messageId; 58 | this.content = content; 59 | this.userName = userName; 60 | this.flowerId = flowerId; 61 | this.flowerName = flowerName; 62 | this.publishTime = publishTime; 63 | } 64 | @Override 65 | public String toString() { 66 | return "Message [messageId=" + messageId + ", content=" + content + ", userName=" + userName + ", flowerId=" 67 | + flowerId + ", flowerName=" + flowerName + ", publishTime=" + publishTime + "]"; 68 | } 69 | public Message() { 70 | // TODO Auto-generated constructor stub 71 | } 72 | } 73 | -------------------------------------------------------------------------------- /src/com/ros/entity/OrderInfo.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Project Name:Rosemary 3 | * File Name:OrderInfo.java 4 | * Package Name:com.ros.entity 5 | * Date:2018年10月17日下午8:03:21 6 | * Copyright (c) 2018, ***@126.com All Rights Reserved. 7 | * 8 | */ 9 | 10 | package com.ros.entity; 11 | 12 | /** 13 | * ClassName: OrderInfo
14 | * 类的作用:订单详情表的实体类
15 | * 16 | * 17 | * 18 | * @author 小谢 19 | * @version 20 | * @since JDK 1.8 21 | */ 22 | 23 | public class OrderInfo { 24 | private int orderInfoId;//订单明细表编号 25 | private int flowerId;//鲜花编号 26 | private int orderId;//对应订单表的编号 27 | private int quantity;//购买产品的对应数量 28 | private double totalPrice;//购物项小计 29 | public int getOrderInfoId() { 30 | return orderInfoId; 31 | } 32 | public void setOrderInfoId(int orderInfoId) { 33 | this.orderInfoId = orderInfoId; 34 | } 35 | public int getFlowerId() { 36 | return flowerId; 37 | } 38 | public void setFlowerId(int flowerId) { 39 | this.flowerId = flowerId; 40 | } 41 | public int getOrderId() { 42 | return orderId; 43 | } 44 | public void setOrderId(int orderId) { 45 | this.orderId = orderId; 46 | } 47 | public int getQuantity() { 48 | return quantity; 49 | } 50 | public void setQuantity(int quantity) { 51 | this.quantity = quantity; 52 | } 53 | public double getTotalPrice() { 54 | return totalPrice; 55 | } 56 | public void setTotalPrice(double totalPrice) { 57 | this.totalPrice = totalPrice; 58 | } 59 | /** 60 | * 无参构造 61 | */ 62 | public OrderInfo() { 63 | // TODO Auto-generated constructor stub 64 | } 65 | public OrderInfo(int flowerId, int orderId, int quantity, double totalPrice) { 66 | super(); 67 | this.flowerId = flowerId; 68 | this.orderId = orderId; 69 | this.quantity = quantity; 70 | this.totalPrice = totalPrice; 71 | } 72 | 73 | 74 | 75 | } 76 | -------------------------------------------------------------------------------- /src/com/ros/entity/Types.java: -------------------------------------------------------------------------------- 1 | package com.ros.entity; 2 | 3 | /** 4 | * 鲜花类型的实体类 5 | * @author Administrator 6 | * 7 | */ 8 | public class Types { 9 | private int typeId;//编号 10 | private String typeName;//类型名 11 | private String createTime;//创建时间 12 | private String updateTime;//更新时间 13 | public int getTypeId() { 14 | return typeId; 15 | } 16 | public void setTypeId(int typeId) { 17 | this.typeId = typeId; 18 | } 19 | public String getTypeName() { 20 | return typeName; 21 | } 22 | public void setTypeName(String typeName) { 23 | this.typeName = typeName; 24 | } 25 | public String getCreateTime() { 26 | return createTime; 27 | } 28 | public void setCreateTime(String createTime) { 29 | this.createTime = createTime; 30 | } 31 | public String getUpdateTime() { 32 | return updateTime; 33 | } 34 | public void setUpdateTime(String updateTime) { 35 | this.updateTime = updateTime; 36 | } 37 | 38 | public Types() { 39 | // TODO Auto-generated constructor stub 40 | } 41 | public Types(int typeId, String typeName, String createTime, String updateTime) { 42 | super(); 43 | this.typeId = typeId; 44 | this.typeName = typeName; 45 | this.createTime = createTime; 46 | this.updateTime = updateTime; 47 | } 48 | 49 | 50 | public Types(int typeId, String typeName, String updateTime) { 51 | super(); 52 | this.typeId = typeId; 53 | this.typeName = typeName; 54 | this.updateTime = updateTime; 55 | } 56 | @Override 57 | public String toString() { 58 | return "Types [typeId=" + typeId + ", typeName=" + typeName + ", createTime=" + createTime + ", updateTime=" 59 | + updateTime + "]"; 60 | } 61 | public Types(String typeName, String createTime, String updateTime) { 62 | super(); 63 | this.typeName = typeName; 64 | this.createTime = createTime; 65 | this.updateTime = updateTime; 66 | } 67 | 68 | 69 | } 70 | -------------------------------------------------------------------------------- /src/com/ros/entity/UserBasicInfo.java: -------------------------------------------------------------------------------- 1 | package com.ros.entity; 2 | /** 3 | * 用户基本信息的实体类 4 | * @author hyf 5 | * 6 | */ 7 | public class UserBasicInfo { 8 | 9 | private int userId; 10 | private String userName; 11 | private String userPwd; 12 | private String createTime; 13 | private String updateTime; 14 | public int getUserId() { 15 | return userId; 16 | } 17 | public void setUserId(int userId) { 18 | this.userId = userId; 19 | } 20 | public String getUserName() { 21 | return userName; 22 | } 23 | public void setUserName(String userName) { 24 | this.userName = userName; 25 | } 26 | public String getUserPwd() { 27 | return userPwd; 28 | } 29 | public void setUserPwd(String userPwd) { 30 | this.userPwd = userPwd; 31 | } 32 | public String getCreateTime() { 33 | return createTime; 34 | } 35 | public void setCreateTime(String createTime) { 36 | this.createTime = createTime; 37 | } 38 | public String getUpdateTime() { 39 | return updateTime; 40 | } 41 | public void setUpdateTime(String updateTime) { 42 | this.updateTime = updateTime; 43 | } 44 | @Override 45 | public String toString() { 46 | return "UserBasicInfo [userId=" + userId + ", userName=" + userName + ", userPwd=" + userPwd + ", createTime=" 47 | + createTime + ", updateTime=" + updateTime + "]"; 48 | } 49 | public UserBasicInfo(int userId, String userName, String userPwd, String createTime, String updateTime) { 50 | super(); 51 | this.userId = userId; 52 | this.userName = userName; 53 | this.userPwd = userPwd; 54 | this.createTime = createTime; 55 | this.updateTime = updateTime; 56 | } 57 | 58 | public UserBasicInfo() { 59 | // TODO Auto-generated constructor stub 60 | } 61 | public UserBasicInfo(String userName, String userPwd, String createTime, String updateTime) { 62 | super(); 63 | this.userName = userName; 64 | this.userPwd = userPwd; 65 | this.createTime = createTime; 66 | this.updateTime = updateTime; 67 | } 68 | public UserBasicInfo(String userName, String userPwd, String updateTime) { 69 | super(); 70 | this.userName = userName; 71 | this.userPwd = userPwd; 72 | this.updateTime = updateTime; 73 | } 74 | 75 | public UserBasicInfo(String userName, String updateTime, int userId) { 76 | // TODO Auto-generated constructor stub 77 | super(); 78 | this.userName = userName; 79 | this.updateTime = updateTime; 80 | this.userId = userId; 81 | } 82 | 83 | } 84 | -------------------------------------------------------------------------------- /src/com/ros/entity/UserBean.java: -------------------------------------------------------------------------------- 1 | package com.ros.entity; 2 | 3 | /** 4 | * 用户信息展示的实体类 5 | * @author Administrator 6 | * 7 | */ 8 | public class UserBean { 9 | private int userId; 10 | public UserBean(int userId, String userName, String updateTime, String name, String userTel, String userEmail) { 11 | super(); 12 | this.userId = userId; 13 | this.userName = userName; 14 | this.updateTime = updateTime; 15 | this.name = name; 16 | this.userTel = userTel; 17 | this.userEmail = userEmail; 18 | } 19 | private String userName; 20 | private String createTime; 21 | private String updateTime; 22 | private String name; 23 | private String userTel; 24 | private String userEmail; 25 | 26 | public int getUserId() { 27 | return userId; 28 | } 29 | public void setUserId(int userId) { 30 | this.userId = userId; 31 | } 32 | public String getUserName() { 33 | return userName; 34 | } 35 | public void setUserName(String userName) { 36 | this.userName = userName; 37 | } 38 | public String getCreateTime() { 39 | return createTime; 40 | } 41 | public void setCreateTime(String createTime) { 42 | this.createTime = createTime; 43 | } 44 | public String getUpdateTime() { 45 | return updateTime; 46 | } 47 | public void setUpdateTime(String updateTime) { 48 | this.updateTime = updateTime; 49 | } 50 | public String getName() { 51 | return name; 52 | } 53 | public void setName(String name) { 54 | this.name = name; 55 | } 56 | public String getUserTel() { 57 | return userTel; 58 | } 59 | public void setUserTel(String userTel) { 60 | this.userTel = userTel; 61 | } 62 | public String getUserEmail() { 63 | return userEmail; 64 | } 65 | public void setUserEmail(String userEmail) { 66 | this.userEmail = userEmail; 67 | } 68 | public UserBean() { 69 | // TODO Auto-generated constructor stub 70 | } 71 | 72 | public UserBean(int userId, String userName, String createTime, String updateTime, String name, String userTel, 73 | String userEmail) { 74 | super(); 75 | this.userId = userId; 76 | this.userName = userName; 77 | this.createTime = createTime; 78 | this.updateTime = updateTime; 79 | this.name = name; 80 | this.userTel = userTel; 81 | this.userEmail = userEmail; 82 | } 83 | 84 | @Override 85 | public String toString() { 86 | return "UserBean [userId=" + userId + ", userName=" + userName + ", createTime=" + createTime + ", updateTime=" 87 | + updateTime + ", name=" + name + ", userTel=" + userTel + ", userEmail=" + userEmail + "]"; 88 | } 89 | 90 | 91 | 92 | 93 | 94 | } 95 | -------------------------------------------------------------------------------- /src/com/ros/service/AddressService.java: -------------------------------------------------------------------------------- 1 | package com.ros.service; 2 | /** 3 | * 定义AddressService 接口 4 | * @author hyf 5 | * 6 | */ 7 | 8 | import java.util.List; 9 | 10 | import com.ros.entity.Address; 11 | 12 | public interface AddressService { 13 | 14 | List
getAddressByuserName(String userName);//用户的收货地址 15 | boolean addAddress(Address address);//用户添加收货地址 16 | boolean deleteAddress(int addressId);//用户删除收货地址 17 | boolean updateAddress(Address address);//用户更新收货地址信息 18 | } 19 | -------------------------------------------------------------------------------- /src/com/ros/service/CommentService.java: -------------------------------------------------------------------------------- 1 | package com.ros.service; 2 | /** 3 | * 自定义CommentService接口 4 | * @author hyf 5 | * 6 | */ 7 | 8 | import java.util.List; 9 | 10 | import com.ros.entity.Comment; 11 | 12 | public interface CommentService { 13 | 14 | List getComment(int messageId);//根据留言编号查询评论信息记录 15 | } 16 | -------------------------------------------------------------------------------- /src/com/ros/service/FlowerInfoService.java: -------------------------------------------------------------------------------- 1 | package com.ros.service; 2 | 3 | import java.util.ArrayList; 4 | import java.util.List; 5 | 6 | import com.ros.entity.FlowerInfo; 7 | import com.ros.entity.FlowerType; 8 | import com.ros.util.PageData; 9 | /* 10 | * 鲜花业务层 11 | */ 12 | public interface FlowerInfoService { 13 | public ArrayList getFlowerInfoByLimit();//前台显示最新上线鲜花 14 | public ArrayList getFlowerInfoByPrice();//前台展示顶级鲜花 15 | public PageData queryFlowerInfoByPage(int page, int pageSize, String keyword,int priceStart,int priceEnd,int typeId1,int typeId2,String sort,String sortType);//主页分页显示所有鲜花 16 | public ArrayList queryFlowerType();//查询当前所有花类 17 | public FlowerInfo getFlowerInfoById(int flowerId);//根据鲜花编号获得鲜花的所有信息 18 | public boolean setFlowerStockByFlowerId(int flowerId,int stock);//修改鲜花库存 19 | PageData queryFlowerByPage(int page,int pageSize,String keywords); 20 | List queryFlowerInfo(); 21 | boolean insertFlower(FlowerInfo f);//后台新品发布 22 | boolean updateFlowerStock(int flowerId,int stock);//根据鲜花编号更新鲜花的库存量(后台鲜花的进货) 23 | boolean updateFlower(FlowerInfo f);//后台商品修改 24 | } 25 | -------------------------------------------------------------------------------- /src/com/ros/service/ManagerService.java: -------------------------------------------------------------------------------- 1 | package com.ros.service; 2 | 3 | import java.util.List; 4 | 5 | import com.ros.entity.Manager; 6 | import com.ros.util.PageData; 7 | 8 | public interface ManagerService { 9 | // 管理员登陆 10 | Manager login(String adminName, String adminPwd); 11 | 12 | // 添加管理员 13 | boolean addManager(Manager m); 14 | 15 | // 显示管理员信息 16 | List queryManager(); 17 | 18 | //分页显示管理员 19 | PageData queryManagerByPage(int page,int pageSize,String keywords); 20 | 21 | /*// 删除管理员 22 | boolean delManager(int adminId);*/ 23 | 24 | // 重置密码 25 | boolean updateManagerPwd(String adminName); 26 | 27 | // 管理员状态锁定 28 | boolean lockManagerStatus(String adminName); 29 | 30 | // 管理员状态解锁 31 | boolean clearManagerStatus(String adminName); 32 | 33 | //根据管理员名称查询管理员 34 | Manager queryManager(String adminName); 35 | } 36 | -------------------------------------------------------------------------------- /src/com/ros/service/MessageService.java: -------------------------------------------------------------------------------- 1 | package com.ros.service; 2 | /** 3 | * 自定义的MessageService接口 4 | * @author hyf 5 | * 6 | */ 7 | 8 | import java.util.List; 9 | 10 | import com.ros.entity.Message; 11 | import com.ros.util.PageData; 12 | 13 | public interface MessageService { 14 | 15 | List getMessage(int flowerId);//查询花束的留言 16 | PageData getAllMessageByPage(int page, int pageSize, String keywords);//查询所有留言并分页 17 | boolean deleteMessage(int messageId);//根据留言编号删除留言 18 | } 19 | -------------------------------------------------------------------------------- /src/com/ros/service/MyOrdersService.java: -------------------------------------------------------------------------------- 1 | package com.ros.service; 2 | 3 | import java.util.ArrayList; 4 | import java.util.List; 5 | 6 | 7 | import com.ros.entity.OrderInfo; 8 | import com.ros.entity.OrderInfo_Re_FlowerInfo; 9 | import com.ros.entity.Orders; 10 | import com.ros.util.PageData; 11 | 12 | /** 13 | * 自定义Service接口MyOrdersService 14 | * @author Administrator 15 | * 16 | */ 17 | public interface MyOrdersService { 18 | 19 | public PageData queryOrderByUserId(int userId,int page,int pageSize);//用户编号查询订单信息 20 | public boolean createOrder(Orders orders);//订单表的生成 21 | public boolean insertOrderInfo(OrderInfo orderInfo);//订单详情表的插入 22 | public Orders getOrderInfoByOrderId(int orderId);//根据订单编号查询订单信息 23 | public boolean setOrderStatus(int orderId);//支付成功之后对订单进行更改 24 | PageData getOrderByPage(int page, int pageSize, String keywords);//查询所有的订单信息并进行分页、模糊查询(后台) 25 | List getOrderByStatus(int status);//根据订单状态获取订单信息(后台) 26 | boolean updateOrder(int orderId,int orderStatus,String sendTime);//根据订单编号更改订单信息(后台,只能更新订单状态和发货时间) 27 | List queryOrderDetailInfoByOrderId(int orderId);//根据订单编号查询订单的鲜花等详情信息 28 | } 29 | -------------------------------------------------------------------------------- /src/com/ros/service/TypesService.java: -------------------------------------------------------------------------------- 1 | package com.ros.service; 2 | 3 | import java.util.List; 4 | 5 | import com.ros.entity.Types; 6 | import com.ros.util.PageData; 7 | 8 | /** 9 | * 自定义类型接口TypesService 10 | * @author Administrator 11 | * 12 | */ 13 | public interface TypesService { 14 | public PageData getTypes(int page, int pageSize, String keywords);//分页显示类型 15 | public boolean updateType(Types t);//更新类型 16 | public boolean deleteType(int typeId);//类型删除 17 | public boolean addType(Types t);//增加类型 18 | public List getType(); 19 | 20 | } 21 | -------------------------------------------------------------------------------- /src/com/ros/service/UserBeanService.java: -------------------------------------------------------------------------------- 1 | package com.ros.service; 2 | 3 | import java.util.List; 4 | 5 | import com.ros.entity.UserBasicInfo; 6 | import com.ros.entity.UserBean; 7 | import com.ros.entity.UserDetailInfo; 8 | 9 | /** 10 | * 自定义UserBeanService接口 11 | * @author Administrator 12 | * 13 | */ 14 | public interface UserBeanService { 15 | //查询用户个人信息 16 | public List getUsersBean(int userId); 17 | 18 | //更新个人详细信息 19 | public boolean updateUserDetailInfo(UserDetailInfo udi); 20 | 21 | } 22 | -------------------------------------------------------------------------------- /src/com/ros/service/UserService.java: -------------------------------------------------------------------------------- 1 | package com.ros.service; 2 | 3 | import java.util.List; 4 | 5 | import com.ros.entity.UserBasicInfo; 6 | import com.ros.entity.UserBean; 7 | import com.ros.entity.UserDetailInfo; 8 | import com.ros.util.PageData; 9 | 10 | public interface UserService { 11 | public boolean register(String userName);// 用户注册 12 | 13 | UserBasicInfo login(String userName, String userPwd);// 用户登录 14 | 15 | public boolean insertUser(UserBasicInfo ub);// 用户注册成功时进行插入 16 | 17 | boolean updatePwd(String userName, String updateTime, String newPwd);// 用户修改密码 18 | 19 | public UserBasicInfo getUserBasicInfoByUserName(String userName);// 根据传入的用户名获得用户全部基本信息 20 | 21 | public boolean insertUserDetail(UserDetailInfo uDI); 22 | 23 | /** 24 | * @Title: queryUsersBean 25 | * @Description: TODO(后台用户信息展示) 26 | * @return List 返回类型 27 | */ 28 | List queryUsersBean(); 29 | 30 | /** 31 | * @Title: queryUserBeanByPage 32 | * @Description: TODO(后台用户管理分页) 33 | * @param page 34 | * @param pageSize 35 | * @param keywords 36 | * @return PageData 返回类型 37 | */ 38 | PageData queryUserBeanByPage(int page, int pageSize, String keywords); 39 | 40 | public boolean addUsers(UserBasicInfo ub);// 后台添加用户 41 | } 42 | -------------------------------------------------------------------------------- /src/com/ros/service_impl/AddressServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.ros.service_impl; 2 | 3 | import java.util.List; 4 | 5 | import com.ros.dao.AddressDao; 6 | import com.ros.dao_impl.AddressDaoImpl; 7 | import com.ros.entity.Address; 8 | import com.ros.service.AddressService; 9 | 10 | /** 11 | * 定义实现AddressService接口的实现类 12 | * 13 | * @author hyf 14 | * 15 | */ 16 | public class AddressServiceImpl implements AddressService { 17 | 18 | AddressDao ad = new AddressDaoImpl(); 19 | 20 | /** 21 | * 查询用户的收货地址 22 | * 23 | * @param 用户名 24 | * return Address对象的集合 25 | */ 26 | @Override 27 | public List
getAddressByuserName(String userName) { 28 | // TODO Auto-generated method stub 29 | return ad.queryAddressByUserName(userName); 30 | } 31 | 32 | /** 33 | *用户添加收货地址 34 | * 35 | * @param address 地址信息对象 36 | * return true/添加成功 false/添加失败 37 | */ 38 | @Override 39 | public boolean addAddress(Address address) { 40 | // TODO Auto-generated method stub 41 | return ad.addAddress(address); 42 | } 43 | 44 | /** 45 | *用户删除收货地址 46 | * 47 | * @param addressId 地址信息编号 48 | * return true/删除成功 false/删除失败 49 | */ 50 | @Override 51 | public boolean deleteAddress(int addressId) { 52 | // TODO Auto-generated method stub 53 | return ad.deleteAddress(addressId); 54 | } 55 | 56 | /** 57 | *用户更新收货地址 58 | * 59 | * @param address 地址信息类对象 60 | * return true/更新成功 false/更新失败 61 | */ 62 | @Override 63 | public boolean updateAddress(Address address) { 64 | // TODO Auto-generated method stub 65 | return ad.updateAddress(address); 66 | } 67 | } 68 | -------------------------------------------------------------------------------- /src/com/ros/service_impl/CommentServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.ros.service_impl; 2 | 3 | import java.util.List; 4 | 5 | import com.ros.dao.CommentDao; 6 | import com.ros.dao_impl.CommentDaoImpl; 7 | import com.ros.entity.Comment; 8 | import com.ros.service.CommentService; 9 | 10 | public class CommentServiceImpl implements CommentService { 11 | 12 | CommentDao cd=new CommentDaoImpl(); 13 | 14 | /** 15 | * 根据留言编号查询评论信息 16 | * @param messageId 花束的编号 17 | * return Comment对象的集合 18 | */ 19 | @Override 20 | public List getComment(int messageId) { 21 | // TODO Auto-generated method stub 22 | return cd.queryComment(messageId); 23 | } 24 | 25 | } 26 | -------------------------------------------------------------------------------- /src/com/ros/service_impl/ManagerServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.ros.service_impl; 2 | 3 | import java.util.List; 4 | 5 | 6 | import com.ros.dao.ManagerDao; 7 | import com.ros.dao_impl.ManagerDaoImpl; 8 | import com.ros.entity.Manager; 9 | import com.ros.service.ManagerService; 10 | import com.ros.util.MD5Util; 11 | import com.ros.util.PageData; 12 | 13 | public class ManagerServiceImpl implements ManagerService { 14 | ManagerDao md = new ManagerDaoImpl(); 15 | 16 | /** 17 | * 实现ManagerDao登录验证查询 18 | */ 19 | @Override 20 | public Manager login(String adminName, String adminPwd) { 21 | // TODO Auto-generated method stub 22 | adminPwd = MD5Util.getEncodeByMd5(adminPwd); 23 | return md.queryManagerByNameAndPwd(adminName, adminPwd); 24 | } 25 | /** 26 | * 实现ManagerDao添加管理员的方法 27 | */ 28 | @Override 29 | public boolean addManager(Manager m) { 30 | // TODO Auto-generated method stub 31 | return md.addManager(m); 32 | } 33 | /** 34 | * 实现ManagerDao显示全部管理员信息的方法 35 | */ 36 | @Override 37 | public List queryManager() { 38 | // TODO Auto-generated method stub 39 | return md.queryManager(); 40 | } 41 | 42 | @Override 43 | public PageData queryManagerByPage(int page, int pageSize, String keywords) { 44 | // TODO Auto-generated method stub 45 | return md.queryManagerByPage(page, pageSize, keywords); 46 | } 47 | /** 48 | * 实现ManagerDao删除管理员的方法 49 | */ 50 | /*@Override 51 | public boolean delManager(int adminId) { 52 | // TODO Auto-generated method stub 53 | return md.delManager(adminId); 54 | }*/ 55 | /** 56 | * 重置管理员密码 57 | */ 58 | @Override 59 | public boolean updateManagerPwd(String adminName) { 60 | // TODO Auto-generated method stub 61 | //adminPwd = MD5Util.getEncodeByMd5(adminPwd); 62 | return md.updateManagerPwd(adminName); 63 | } 64 | @Override 65 | public boolean lockManagerStatus(String adminName) { 66 | // TODO Auto-generated method stub 67 | return md.lockManagerStatus(adminName); 68 | } 69 | @Override 70 | public boolean clearManagerStatus(String adminName) { 71 | // TODO Auto-generated method stub 72 | return md.clearManagerStatus(adminName); 73 | } 74 | @Override 75 | public Manager queryManager(String adminName) { 76 | // TODO Auto-generated method stub 77 | return md.queryManager(adminName); 78 | } 79 | } 80 | -------------------------------------------------------------------------------- /src/com/ros/service_impl/MessageServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.ros.service_impl; 2 | 3 | import java.util.List; 4 | 5 | import com.ros.dao.MessageDao; 6 | import com.ros.dao_impl.MessageDaoImpl; 7 | import com.ros.entity.Message; 8 | import com.ros.service.MessageService; 9 | import com.ros.util.PageData; 10 | 11 | public class MessageServiceImpl implements MessageService { 12 | /** 13 | * 根据花束编号获取花束留言 14 | * @param flowerId 花束编号 15 | * return Message对象的集合 16 | */ 17 | MessageDao md=new MessageDaoImpl(); 18 | @Override 19 | public List getMessage(int flowerId) { 20 | // TODO Auto-generated method stub 21 | return md.queryMessege(flowerId); 22 | } 23 | 24 | /** 25 | * 查询留言并分页、模糊搜索 26 | * @param page 当前页码 27 | * @param pageSize 每页的记录的条数 28 | * @param keywords 进行迷糊查找的关键字 29 | */ 30 | @Override 31 | public PageData getAllMessageByPage(int page, int pageSize, String keywords) { 32 | // TODO Auto-generated method stub 33 | return md.queryMessageByPage(page, pageSize, keywords); 34 | } 35 | 36 | /** 37 | * 根据留言编号删除留言信息 38 | * @param messageId 留言编号 39 | * return true/删除成功 false/删除失败 40 | */ 41 | @Override 42 | public boolean deleteMessage(int messageId) { 43 | // TODO Auto-generated method stub 44 | return md.deleteMessage(messageId); 45 | } 46 | 47 | } 48 | -------------------------------------------------------------------------------- /src/com/ros/service_impl/TypesServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.ros.service_impl; 2 | 3 | import java.util.List; 4 | 5 | import com.ros.dao.TypesDao; 6 | import com.ros.dao_impl.TypesDaoImpl; 7 | import com.ros.entity.Types; 8 | import com.ros.util.PageData; 9 | 10 | public class TypesServiceImpl implements com.ros.service.TypesService { 11 | public TypesDao td = new TypesDaoImpl(); 12 | 13 | /** 14 | * 显示所有类型 15 | * @param 类型编号 16 | * return List 类型类 17 | */ 18 | @Override 19 | public PageData getTypes(int page, int pageSize, String keywords) { 20 | // TODO Auto-generated method stub 21 | return td.queryType(page, pageSize, keywords); 22 | } 23 | 24 | /** 25 | * 修改 26 | */ 27 | @Override 28 | public boolean updateType(Types t) { 29 | // TODO Auto-generated method stub 30 | return td.updateType(t); 31 | } 32 | 33 | /** 34 | * 删除 35 | */ 36 | @Override 37 | public boolean deleteType(int typeId) { 38 | // TODO Auto-generated method stub 39 | return td.delType(typeId); 40 | } 41 | 42 | /** 43 | * 增加类型 44 | */ 45 | @Override 46 | public boolean addType(Types t) { 47 | // TODO Auto-generated method stub 48 | return td.addType(t); 49 | } 50 | 51 | @Override 52 | public List getType() { 53 | // TODO Auto-generated method stub 54 | return td.queryType(); 55 | } 56 | } 57 | -------------------------------------------------------------------------------- /src/com/ros/service_impl/UserBeanServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.ros.service_impl; 2 | 3 | import java.util.List; 4 | 5 | import com.ros.dao.UserBeanDao; 6 | import com.ros.dao_impl.UserBeanDaoImpl; 7 | import com.ros.entity.UserBasicInfo; 8 | import com.ros.entity.UserBean; 9 | import com.ros.entity.UserDetailInfo; 10 | import com.ros.service.UserBeanService; 11 | 12 | public class UserBeanServiceImpl implements UserBeanService { 13 | private UserBeanDao ubd = new UserBeanDaoImpl(); 14 | 15 | /** 16 | * 查询个人信息 17 | */ 18 | @Override 19 | public List getUsersBean(int userId) { 20 | // TODO Auto-generated method stub 21 | return ubd.queryUsersBean(userId); 22 | } 23 | 24 | /** 25 | * 更新用户信息 26 | */ 27 | @Override 28 | public boolean updateUserDetailInfo(UserDetailInfo udi) { 29 | // TODO Auto-generated method stub 30 | return ubd.updateUserDetailInfo(udi); 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /src/com/ros/test/AddressServiceTest.java: -------------------------------------------------------------------------------- 1 | package com.ros.test; 2 | 3 | 4 | import java.text.SimpleDateFormat; 5 | import java.util.Date; 6 | 7 | import com.ros.entity.Address; 8 | import com.ros.service.AddressService; 9 | import com.ros.service_impl.AddressServiceImpl; 10 | 11 | public class AddressServiceTest { 12 | 13 | public static void main(String[] args) { 14 | // TODO Auto-generated method stub 15 | 16 | /*AddressService as=new AddressServiceImpl(); 17 | List
list=as.getAddressByuserName("小黄"); 18 | int n=list.size(); 19 | System.out.println(n);*/ 20 | 21 | /* AddressDao ad=new AddressDaoImpl(); 22 | List
list=ad.queryAddressByUserName("小黄"); 23 | int n=list.size(); 24 | System.out.println(n);*/ 25 | AddressService as=new AddressServiceImpl(); 26 | 27 | Date date=new Date(); 28 | 29 | String dateStr=new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(date); 30 | 31 | Address address=new Address("福建省", "厦门", "湖里", "加菲", "15923456789", "明发园西区", 123456, dateStr,4); 32 | 33 | boolean flag=as.updateAddress(address); 34 | 35 | System.out.println(flag); 36 | } 37 | 38 | } 39 | -------------------------------------------------------------------------------- /src/com/ros/test/FlowerTest.java: -------------------------------------------------------------------------------- 1 | package com.ros.test; 2 | 3 | import java.util.ArrayList; 4 | import java.util.HashMap; 5 | 6 | import org.eclipse.jdt.internal.compiler.flow.FlowInfo; 7 | 8 | import com.ros.dao.FlowerInfoDao; 9 | import com.ros.dao_impl.FlowerInfoDaoImpl; 10 | import com.ros.entity.FlowerInfo; 11 | import com.ros.entity.FlowerType; 12 | import com.ros.entity.UserBasicInfo; 13 | import com.ros.service.FlowerInfoService; 14 | import com.ros.service_impl.FlowerInfoServiceImpl; 15 | import com.ros.util.BaseDao; 16 | import com.ros.util.PageData; 17 | import com.sun.org.apache.bcel.internal.generic.ARRAYLENGTH; 18 | /* 19 | * 鲜花测试类 20 | */ 21 | public class FlowerTest { 22 | 23 | public static void main(String[] args) { 24 | /*FlowerInfoService fIS=new FlowerInfoServiceImpl(); 25 | ArrayList LIST =fIS.getFlowerInfoByPrice(); 26 | for (FlowerInfo flowerInfo : LIST) { 27 | System.out.println(flowerInfo.getPrice()); 28 | 29 | }*/ 30 | 31 | 32 | FlowerInfoService fIS=new FlowerInfoServiceImpl(); 33 | /*String keyword=""; 34 | PageData pd=fIS.queryFlowerInfoByPage(1, 2, "%"+keyword+"%", 0, 1000, 1, 9, "flowerName", "desc"); 35 | System.out.println(pd.getTotal()); 36 | ArrayList list =fIS.queryFlowerType(); 37 | for (FlowerType flowerType : list) { 38 | System.out.println(flowerType.getTypeName()); 39 | }*/ 40 | /*String sql="select min(typeId) as typeId from flower_type"; 41 | ArrayList typeid=(ArrayList) BaseDao.select(sql, FlowerType.class); 42 | System.out.println(typeid.get(0).getTypeId());*/ 43 | 44 | /*PageData pd=new FlowerInfoServiceImpl().queryFlowerInfoByPage(1, 6, "%%", 0, 1000, 1, 9, "price", "asc"); 45 | System.out.println(pd.getData().get(0).getFlowerId());*/ 46 | /*String sql="select * from flower_info order by ?"; 47 | ArrayList list=(ArrayList) BaseDao.select(sql, FlowerInfo.class, "flowerName"); 48 | System.out.println(list.get(0).getFlowerId());*/ 49 | /*FlowerInfo flower=fIS.getFlowerInfoById(5); 50 | System.out.println(flower.getFlowerName());*/ 51 | /*HashMap map=new HashMap<>(); 52 | FlowerInfo flower=new FlowerInfo(1, "123", 100, "456", "789", "00", "0", 1, 500, "1", "1"); 53 | map.put(1,flower); 54 | FlowerInfo a=map.get(1); 55 | a.setFlowerId(5); 56 | System.out.println(map.get(1).getFlowerId());*/ 57 | FlowerInfoDao fId=new FlowerInfoDaoImpl(); 58 | int newStock=300; 59 | boolean flag=fId.updateFlowerStock(1, newStock); 60 | System.out.println(flag); 61 | 62 | } 63 | } 64 | -------------------------------------------------------------------------------- /src/com/ros/test/MangerServiceTest.java: -------------------------------------------------------------------------------- 1 | package com.ros.test; 2 | 3 | import com.ros.entity.Manager; 4 | import com.ros.service.ManagerService; 5 | import com.ros.service_impl.ManagerServiceImpl; 6 | 7 | public class MangerServiceTest { 8 | 9 | public static void main(String[] args) { 10 | // TODO Auto-generated method stub 11 | ManagerService ms = new ManagerServiceImpl(); 12 | Manager m = ms.login("Amery", "123456"); 13 | System.out.println(m); 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /src/com/ros/test/OrderTest.java: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | */ 4 | package com.ros.test; 5 | 6 | import java.util.ArrayList; 7 | 8 | import com.ros.dao_impl.MyOrdersDaoImpl; 9 | import com.ros.entity.Orders; 10 | import com.ros.service.MyOrdersService; 11 | import com.ros.service_impl.MyOrdersServiceImpl; 12 | import com.ros.util.PageData; 13 | 14 | /** 15 | * @author Administrator 16 | * 17 | */ 18 | public class OrderTest { 19 | 20 | public static void main(String[] args) { 21 | MyOrdersService mos=new MyOrdersServiceImpl(); 22 | PageData list=mos.queryOrderByUserId(5,1,4); 23 | ArrayList list2=(ArrayList) list.getData(); 24 | for (Orders orders : list2) { 25 | System.out.println(orders.getPayment()); 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /src/com/ros/test/UserTest.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Project Name:Rosemary 3 | * File Name:UserTest.java 4 | * Package Name:com.ros.test 5 | * Date:2018年10月11日下午8:09:19 6 | * Copyright (c) 2018, ***@126.com All Rights Reserved. 7 | * 8 | */ 9 | 10 | package com.ros.test; 11 | 12 | import java.text.SimpleDateFormat; 13 | import java.util.ArrayList; 14 | import java.util.Calendar; 15 | import java.util.Date; 16 | 17 | import com.ros.dao_impl.UserBeanDaoImpl; 18 | import com.ros.entity.UserBasicInfo; 19 | import com.ros.entity.UserDetailInfo; 20 | import com.ros.service.UserService; 21 | import com.ros.service_impl.UserServiceImpl; 22 | import com.ros.util.BaseDao; 23 | import com.ros.util.MD5Util; 24 | 25 | /** 26 | * ClassName: UserTest
27 | * 类的作用:User测试类
28 | * 29 | * 30 | * 31 | * @author Administrator 32 | * @version 33 | * @since JDK 1.8 34 | */ 35 | 36 | public class UserTest { 37 | 38 | public static void main(String[] args) { 39 | UserService us=new UserServiceImpl(); 40 | 41 | /* String userName="admin3"; 42 | 43 | 44 | 45 | Date date=new Date(); 46 | 47 | String dateStr=new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(date); 48 | 49 | String newPwd="12346"; 50 | boolean flag=us.updatePwd(userName,dateStr, newPwd); 51 | System.out.println(flag); 52 | System.out.println(dateStr);*/ 53 | 54 | 55 | 56 | /* System.out.println(us.register("小黄"));*/ 57 | 58 | /*System.out.println(us.register("小黄"));*/ 59 | 60 | 61 | /*UserBasicInfo ub=new UserBasicInfo("大黄", "12345", "2018-10-11 20:11:06", "2018-10-11 20:11:06"); 62 | 63 | System.out.println(us.insertUser(ub));*/ 64 | /*UserBasicInfo ub=us.getUserBasicInfoByUserName("admin3");*/ 65 | /*UserDetailInfo uDI=new UserDetailInfo(1, "17720838367", "2018-10-13 00:37:10", "2018-10-13 00:37:10"); 66 | 67 | System.out.println(us.insertUserDetail(uDI));*/ 68 | /* 69 | UserBasicInfo ub=us.getUserBasicInfoByUserName("admin5"); 70 | System.out.println(ub.getUserId());*/ 71 | UserDetailInfo udi=new UserDetailInfo(5, "1546454", "2018-09-01 00:00:00", "2018-09-01 00:00:00"); 72 | System.out.println(new UserBeanDaoImpl().updateUserDetailInfo(udi)); 73 | } 74 | 75 | } 76 | -------------------------------------------------------------------------------- /src/com/ros/util/ITransaction.java: -------------------------------------------------------------------------------- 1 | package com.ros.util; 2 | 3 | 4 | import java.sql.Connection; 5 | 6 | /** 7 | * 事务执行接口 8 | */ 9 | public interface ITransaction { 10 | /** 11 | * 事务执行方法 12 | * 13 | * @param conn 14 | * 数据库连接对象 15 | * @return 执行结果 16 | */ 17 | public Object execute(Connection conn); 18 | } 19 | -------------------------------------------------------------------------------- /src/com/ros/util/MD5Util.java: -------------------------------------------------------------------------------- 1 | package com.ros.util; 2 | 3 | import java.security.MessageDigest; 4 | import java.security.NoSuchAlgorithmException; 5 | 6 | /** 7 | * MD5工具类 8 | * 9 | * @author Administrator 10 | * 11 | */ 12 | public class MD5Util { 13 | /** 14 | * 静态方法,便于作为工具类 15 | * 16 | * @param str 17 | * 使用算法前的字符串 18 | * @return 算法执行后的结果 字符串 19 | */ 20 | public static String getEncodeByMd5(String str) { 21 | try { 22 | int i; 23 | // 得到MessageDigest的对象 24 | MessageDigest md = MessageDigest.getInstance("MD5"); 25 | md.update(str.getBytes()); 26 | byte b[] = md.digest(); 27 | // 创建StringBuffer对象 28 | StringBuffer buf = new StringBuffer(""); 29 | for (int offset = 0; offset < b.length; offset++) { 30 | i = b[offset]; 31 | if (i < 0) { 32 | i += 256; 33 | } 34 | if (i < 16) { 35 | buf.append("0"); 36 | } 37 | buf.append(Integer.toHexString(i)); 38 | } 39 | // 返回结果为32位加密 40 | return buf.toString(); 41 | // 返回结果为16位的加密 42 | // return buf.toString().substring(8, 24); 43 | } catch (NoSuchAlgorithmException e) { 44 | // e.printStackTrace(); 45 | return null; 46 | } 47 | 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /src/com/ros/util/PageData.java: -------------------------------------------------------------------------------- 1 | package com.ros.util; 2 | 3 | import java.util.List; 4 | 5 | /** 6 | * 分页数据类 7 | */ 8 | public class PageData { 9 | private List data; // 当前页的数据 10 | 11 | private Integer total; // 总记录数 12 | 13 | private Integer pageSize;// 每页的记录数有几行 14 | 15 | private Integer page;// 当前页码 16 | 17 | private Integer totalPage;//总页数 18 | 19 | public PageData() { 20 | super(); 21 | } 22 | 23 | public PageData(List data, Integer total, Integer pageSize, Integer page) { 24 | super(); 25 | this.data = data; 26 | this.total = total; 27 | this.pageSize = pageSize; 28 | this.page = page; 29 | } 30 | 31 | public List getData() { 32 | return data; 33 | } 34 | 35 | public void setData(List data) { 36 | this.data = data; 37 | } 38 | 39 | public Integer getPage() { 40 | return page; 41 | } 42 | 43 | public void setPage(Integer page) { 44 | this.page = page; 45 | } 46 | 47 | public Integer getPageSize() { 48 | return pageSize; 49 | } 50 | 51 | public void setPageSize(Integer pageSize) { 52 | this.pageSize = pageSize; 53 | } 54 | 55 | public Integer getTotal() { 56 | return total; 57 | } 58 | 59 | public void setTotal(Integer total) { 60 | this.total = total; 61 | } 62 | 63 | /** 64 | * 获取总页数 65 | * @return 66 | */ 67 | public int getTotalPage() { 68 | //总页数 num 47/10 69 | int num = total / pageSize; 70 | //看是否有余数 47%10 71 | if (total % pageSize != 0) { 72 | num++; 73 | } 74 | return num; 75 | } 76 | 77 | @Override 78 | public String toString() { 79 | return "{total:" + total + ",data:" + data + "}"; 80 | } 81 | } 82 | --------------------------------------------------------------------------------