├── .idea ├── .name ├── artifacts │ ├── Shop_war.xml │ └── Shop_war_exploded.xml ├── compiler.xml ├── copyright │ └── profiles_settings.xml ├── kotlinc.xml ├── libraries │ ├── Maven__antlr_antlr_2_7_7.xml │ ├── Maven__com_fasterxml_classmate_1_1_0.xml │ ├── Maven__com_mchange_c3p0_0_9_2_1.xml │ ├── Maven__com_mchange_mchange_commons_java_0_2_3_4.xml │ ├── Maven__commons_fileupload_commons_fileupload_1_3_1.xml │ ├── Maven__commons_io_commons_io_2_5.xml │ ├── Maven__commons_logging_commons_logging_1_1_3.xml │ ├── Maven__dom4j_dom4j_1_6_1.xml │ ├── Maven__javax_activation_activation_1_1.xml │ ├── Maven__javax_mail_mail_1_4.xml │ ├── Maven__javax_servlet_javax_servlet_api_3_1_0.xml │ ├── Maven__javax_validation_validation_api_1_1_0_Final.xml │ ├── Maven__jstl_jstl_1_2.xml │ ├── Maven__mysql_mysql_connector_java_5_1_40.xml │ ├── Maven__net_sf_ehcache_ehcache_core_2_4_3.xml │ ├── Maven__org_aspectj_aspectjweaver_1_8_9.xml │ ├── Maven__org_eclipse_jetty_websocket_websocket_api_9_3_10_v20160621.xml │ ├── Maven__org_hibernate_common_hibernate_commons_annotations_4_0_2_Final.xml │ ├── Maven__org_hibernate_hibernate_c3p0_4_2_4_Final.xml │ ├── Maven__org_hibernate_hibernate_core_4_2_4_Final.xml │ ├── Maven__org_hibernate_hibernate_ehcache_4_2_4_Final.xml │ ├── Maven__org_hibernate_hibernate_validator_5_2_4_Final.xml │ ├── Maven__org_hibernate_javax_persistence_hibernate_jpa_2_0_api_1_0_1_Final.xml │ ├── Maven__org_javassist_javassist_3_15_0_GA.xml │ ├── Maven__org_jboss_logging_jboss_logging_3_1_0_GA.xml │ ├── Maven__org_jboss_spec_javax_transaction_jboss_transaction_api_1_1_spec_1_0_1_Final.xml │ ├── Maven__org_slf4j_slf4j_api_1_7_21.xml │ ├── Maven__org_springframework_data_spring_data_commons_core_1_4_1_RELEASE.xml │ ├── Maven__org_springframework_spring_aop_4_3_6_RELEASE.xml │ ├── Maven__org_springframework_spring_aspects_4_3_6_RELEASE.xml │ ├── Maven__org_springframework_spring_beans_4_3_6_RELEASE.xml │ ├── Maven__org_springframework_spring_context_4_3_6_RELEASE.xml │ ├── Maven__org_springframework_spring_core_4_3_6_RELEASE.xml │ ├── Maven__org_springframework_spring_expression_4_3_6_RELEASE.xml │ ├── Maven__org_springframework_spring_jdbc_4_3_6_RELEASE.xml │ ├── Maven__org_springframework_spring_orm_4_3_6_RELEASE.xml │ ├── Maven__org_springframework_spring_tx_4_3_6_RELEASE.xml │ ├── Maven__org_springframework_spring_web_4_3_6_RELEASE.xml │ ├── Maven__org_springframework_spring_webmvc_4_3_6_RELEASE.xml │ ├── Maven__taglibs_standard_1_1_2.xml │ └── Maven__xml_apis_xml_apis_1_0_b2.xml ├── misc.xml ├── modules.xml └── vcs.xml ├── .mymetadata ├── .settings ├── .jsdtscope ├── com.genuitec.eclipse.migration.prefs ├── 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 ├── .tern-project ├── README.md ├── Shop.iml ├── pom.xml ├── sql └── yshop.sql └── src └── main ├── java ├── META-INF │ └── MANIFEST.MF └── com │ └── shop │ ├── controller │ ├── AdminCategoryController.java │ ├── AdminCategorySecondController.java │ ├── AdminController.java │ ├── AdminOrderController.java │ ├── AdminProductController.java │ ├── CartController.java │ ├── CheckImgController.java │ ├── IndexController.java │ ├── OrderController.java │ ├── ProductController.java │ └── UserController.java │ ├── dao │ ├── AdminDao.java │ ├── BaseDao.java │ ├── CategoryDao.java │ ├── CategorySecondDao.java │ ├── OrderDao.java │ ├── PacketDao.java │ ├── ProductDao.java │ ├── TicketDao.java │ ├── UserDao.java │ ├── WalletDao.java │ └── impl │ │ ├── AdminDaoImpl.java │ │ ├── BaseDaoImpl.java │ │ ├── CategoryDaoImpl.java │ │ ├── CategorySecondDaoImpl.java │ │ ├── OrderDaoImpl.java │ │ ├── PacketDaoImpl.java │ │ ├── ProductDaoImpl.java │ │ ├── TicketDaoImpl.java │ │ ├── UserDaoImpl.java │ │ └── WalletDaoImpl.java │ ├── model │ ├── Admin.java │ ├── Cart.java │ ├── CartItem.java │ ├── Category.java │ ├── CategorySecond.java │ ├── Order.java │ ├── OrderItem.java │ ├── Packet.java │ ├── Product.java │ ├── Ticket.java │ ├── User.java │ └── Wallet.java │ ├── service │ ├── AdminCategorySecondService.java │ ├── AdminCategoryService.java │ ├── AdminOrderService.java │ ├── AdminProductService.java │ ├── AdminService.java │ ├── CategoryService.java │ ├── OrderService.java │ ├── PacketService.java │ ├── ProductService.java │ ├── TicketService.java │ ├── UserService.java │ ├── WalletService.java │ └── impl │ │ ├── AdminCategorySecondServiceImpl.java │ │ ├── AdminCategoryServiceImpl.java │ │ ├── AdminOrderServiceImpl.java │ │ ├── AdminProductServiceImpl.java │ │ ├── AdminServiceImpl.java │ │ ├── CategoryServiceImpl.java │ │ ├── OrderServiceImpl.java │ │ ├── PacketServiceImpl.java │ │ ├── ProductServiceImpl.java │ │ ├── TicketServiceImpl.java │ │ ├── UserServiceImpl.java │ │ └── WalletServiceImpl.java │ └── utils │ ├── MailUitls.java │ ├── PaymentUtil.java │ └── UUIDUtils.java ├── resources ├── db.properties ├── log4j.properties ├── spring-dao.xml ├── spring-service.xml └── spring-web.xml └── webapp ├── WEB-INF ├── jsp │ ├── admin │ │ ├── bottom.jsp │ │ ├── category │ │ │ ├── add.jsp │ │ │ ├── edit.jsp │ │ │ └── list.jsp │ │ ├── categorysecond │ │ │ ├── add.jsp │ │ │ ├── edit.jsp │ │ │ └── list.jsp │ │ ├── home.jsp │ │ ├── index.jsp │ │ ├── left.jsp │ │ ├── order │ │ │ ├── list.jsp │ │ │ └── orderItem.jsp │ │ ├── product │ │ │ ├── add.jsp │ │ │ ├── edit.jsp │ │ │ └── list.jsp │ │ ├── top.jsp │ │ ├── user │ │ │ ├── edit.jsp │ │ │ └── list.jsp │ │ └── welcome.jsp │ ├── cart.jsp │ ├── index.jsp │ ├── login.jsp │ ├── menu.jsp │ ├── msg.jsp │ ├── order.jsp │ ├── orderList.jsp │ ├── product.jsp │ ├── productList.jsp │ └── regist.jsp └── web.xml ├── bank_img ├── abc.bmp ├── bc.bmp ├── bcc.bmp ├── beijingnongshang.bmp ├── bh.bmp ├── bj.bmp ├── ccb.bmp ├── cib.bmp ├── cmb.bmp ├── cmbc.bmp ├── dy.bmp ├── gf.bmp ├── guangda.bmp ├── hx.bmp ├── icbc.bmp ├── nanjing.bmp ├── ningbo.bmp ├── pingan.bmp ├── post.bmp ├── sfz.bmp ├── sh.bmp ├── shpd.bmp ├── zheshang.bmp └── zx.bmp ├── css ├── Style1.css ├── WdatePicker.css ├── cart.css ├── common.css ├── datepicker.css ├── dtree.css ├── index.css ├── left.css ├── login.css ├── product.css ├── register.css └── slider.css ├── image ├── adidas.gif ├── beijirong.gif ├── blank.gif ├── cart.gif ├── common.gif ├── d.jpg ├── dadonggua.jpg ├── e.jpg ├── eifini.gif ├── footer.jpg ├── header.jpg ├── hengyuanxiang.gif ├── i.jpg ├── index_2.jpg ├── index_3.jpg ├── jackjones.gif ├── lining.gif ├── login.jpg ├── m.jpg ├── maoren.gif ├── n.jpg ├── nike.gif ├── o.jpg ├── p.jpg ├── product.gif ├── q.jpg ├── r___________renleipic_01 │ ├── 15.gif │ ├── footer.jpg │ ├── header.jpg │ └── product.gif ├── semir.gif ├── sentubila.gif ├── septwolves.gif ├── sundance.gif ├── vimly.gif └── yishion.gif ├── images ├── IconTexto_WebDev_009.jpg ├── article.gif ├── cart.gif ├── common.gif ├── dialog_overlay.png ├── error.jpg ├── finalbutton.gif ├── gif53_029.gif ├── i_del.gif ├── i_edit.gif ├── index.gif ├── info.gif ├── loading_bar.gif ├── loading_icon.gif ├── login.gif ├── member.gif ├── message.gif ├── mis_01.jpg ├── mis_05a.jpg ├── mis_05b.jpg ├── mis_05c.jpg ├── order.gif ├── password.gif ├── product.gif ├── register.gif ├── review.gif ├── shim.gif ├── top_01.jpg ├── top_100.jpg └── tree │ ├── base.gif │ ├── cd.gif │ ├── empty.gif │ ├── folder.gif │ ├── folderopen.gif │ ├── globe.gif │ ├── imgfolder.gif │ ├── join.gif │ ├── joinbottom.gif │ ├── line.gif │ ├── minus.gif │ ├── minusbottom.gif │ ├── musicfolder.gif │ ├── nolines_minus.gif │ ├── nolines_plus.gif │ ├── page.gif │ ├── plus.gif │ ├── plusbottom.gif │ ├── question.gif │ └── trash.gif ├── js ├── dtree.js └── jquery-1.8.3.js └── products ├── 1 ├── cs10001.jpg ├── cs10002.jpg ├── cs10003.jpg ├── cs10004.jpg ├── cs10005.jpg ├── cs10006.jpg ├── cs10007.jpg ├── cs10008.jpg ├── cs10009.jpg ├── cs10010.jpg ├── cs20001.jpg ├── cs20002.jpg ├── cs20003.jpg ├── cs20004.jpg ├── cs20005.jpg ├── cs20006.jpg ├── cs20007.jpg ├── cs20008.jpg ├── cs20009.jpg ├── cs20010.jpg ├── cs30001.png ├── cs30002.png ├── cs30003.png ├── cs30004.png ├── cs30005.png ├── cs30006.png ├── cs30007.png ├── cs30008.png ├── cs30009.png ├── cs30010.png ├── cs40001.png ├── cs40002.png ├── cs40003.png ├── cs40004.jpg ├── cs40005.png ├── cs40006.png ├── cs40007.png ├── cs40008.png ├── cs40009.png ├── cs40010.png ├── cs40011.png ├── cs50001.png ├── cs50002.png ├── cs50003.png ├── cs50004.png ├── cs50005.png ├── cs50006.png ├── cs50007.png ├── cs50008.png ├── cs50009.png ├── cs50010.png ├── cs60001.png ├── cs60002.png ├── cs60003.png ├── cs60004.png ├── cs60005.png ├── cs60006.png ├── cs60007.png ├── cs60008.png ├── cs60009.png ├── cs60010.png ├── cs70001.png ├── cs70002.png ├── cs70003.png ├── cs70004.png ├── cs70005.png ├── cs70006.png ├── cs70007.png ├── cs70008.png ├── cs70009.png ├── cs70010.png ├── duanxue1.png ├── duanxue2.png ├── duanxue3.png ├── duanxue4.png └── nvxie.jpg └── 2 ├── 10001.png ├── 10002.png ├── 10003.png ├── 10004.png ├── 10005.png ├── 10006.png ├── 10007.png ├── 10008.png ├── 10009.png ├── 10010.png ├── 100101.png ├── 100102.png ├── 100103.png ├── 100104.png ├── 100105.png ├── 10011.png ├── 10012.png ├── 10013.png ├── 10014.png └── 10015.png /.idea/.name: -------------------------------------------------------------------------------- 1 | Shop -------------------------------------------------------------------------------- /.idea/artifacts/Shop_war.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | $PROJECT_DIR$/target 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /.idea/compiler.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /.idea/copyright/profiles_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /.idea/kotlinc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__antlr_antlr_2_7_7.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_fasterxml_classmate_1_1_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_mchange_c3p0_0_9_2_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_mchange_mchange_commons_java_0_2_3_4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__commons_fileupload_commons_fileupload_1_3_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__commons_io_commons_io_2_5.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__commons_logging_commons_logging_1_1_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__dom4j_dom4j_1_6_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__javax_activation_activation_1_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__javax_mail_mail_1_4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__javax_servlet_javax_servlet_api_3_1_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__javax_validation_validation_api_1_1_0_Final.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__jstl_jstl_1_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__mysql_mysql_connector_java_5_1_40.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__net_sf_ehcache_ehcache_core_2_4_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_aspectj_aspectjweaver_1_8_9.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_eclipse_jetty_websocket_websocket_api_9_3_10_v20160621.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_hibernate_common_hibernate_commons_annotations_4_0_2_Final.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_hibernate_hibernate_c3p0_4_2_4_Final.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_hibernate_hibernate_core_4_2_4_Final.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_hibernate_hibernate_ehcache_4_2_4_Final.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_hibernate_hibernate_validator_5_2_4_Final.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_hibernate_javax_persistence_hibernate_jpa_2_0_api_1_0_1_Final.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_javassist_javassist_3_15_0_GA.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_jboss_logging_jboss_logging_3_1_0_GA.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_jboss_spec_javax_transaction_jboss_transaction_api_1_1_spec_1_0_1_Final.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_slf4j_slf4j_api_1_7_21.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_data_spring_data_commons_core_1_4_1_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_spring_aop_4_3_6_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_spring_aspects_4_3_6_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_spring_beans_4_3_6_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_spring_context_4_3_6_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_spring_core_4_3_6_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_spring_expression_4_3_6_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_spring_jdbc_4_3_6_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_spring_orm_4_3_6_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_spring_tx_4_3_6_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_spring_web_4_3_6_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_spring_webmvc_4_3_6_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__taglibs_standard_1_1_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__xml_apis_xml_apis_1_0_b2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /.mymetadata: -------------------------------------------------------------------------------- 1 | 2 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /.settings/.jsdtscope: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.settings/com.genuitec.eclipse.migration.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | performed.operation.install.java=1.0 3 | performed.operation.install.modulecore.nature=1.0 4 | performed.operation.me.create.deploymentAssembly=1.0 5 | performed.operation.me.create.deploymentAssembly.fixBuildPathEntries=1.0 6 | performed.operation.me.install.jstl=1.0 7 | performed.operation.me.migrate.webnature=1.0 8 | performed.operation.migrate.container.ids=1.0 9 | -------------------------------------------------------------------------------- /.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | encoding/=UTF-8 3 | -------------------------------------------------------------------------------- /.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.5 4 | org.eclipse.jdt.core.compiler.compliance=1.5 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.5 8 | -------------------------------------------------------------------------------- /.settings/org.eclipse.wst.common.component: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /.settings/org.eclipse.wst.common.project.facet.core.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /.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 -------------------------------------------------------------------------------- /.tern-project: -------------------------------------------------------------------------------- 1 | {"ide":{},"libs":["browser","ecma5"]} -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | 网上商城系统 2 | =========== 3 | 4 | ```开发环境```:IDEA,Tomcat,MySQL 5 | 6 | ```项目构建```:Maven 7 | 8 | ```软件环境```:SSH(SpringMVC,Spring,Hibernate) 9 | 10 | ```项目描述```:项目旨在搭建一个线上购物商城系统,提供商城所具有的基本服务。基本可以进行用户注册与登陆、商品浏览、订单添加、购物车查看、虚拟货币结算、特定日优惠服务等一体化功能。 11 | 12 | ## 开发文档 13 | 14 | ### 思维导图 15 | 16 | ![](https://github.com/Joryun/MarkdownPhotos/blob/master/shop-photos/shop.png) -------------------------------------------------------------------------------- /src/main/java/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | 3 | -------------------------------------------------------------------------------- /src/main/java/com/shop/controller/AdminCategoryController.java: -------------------------------------------------------------------------------- 1 | package com.shop.controller; 2 | 3 | import com.shop.model.Category; 4 | import com.shop.service.AdminCategoryService; 5 | import org.springframework.stereotype.Controller; 6 | import org.springframework.web.bind.annotation.ModelAttribute; 7 | import org.springframework.web.bind.annotation.PathVariable; 8 | import org.springframework.web.bind.annotation.RequestMapping; 9 | import org.springframework.web.bind.annotation.RequestParam; 10 | import org.springframework.web.servlet.ModelAndView; 11 | 12 | import javax.annotation.Resource; 13 | import java.util.List; 14 | import java.util.Map; 15 | 16 | @Controller 17 | public class AdminCategoryController { 18 | 19 | @Resource 20 | private AdminCategoryService adminCategoryService; 21 | 22 | @ModelAttribute("category") 23 | public void getCategory(@RequestParam(value = "cid", required = false) Integer cid, Map map) { 24 | if (cid != null) { 25 | Category category = adminCategoryService.findCategory(cid); 26 | map.put("category", category); 27 | } 28 | } 29 | 30 | //修改一级分类 31 | @RequestMapping(value = "/updateCategory") 32 | public ModelAndView updateCategory(@ModelAttribute("category") Category category) { 33 | adminCategoryService.updateCategory(category); 34 | ModelAndView modelAndView = new ModelAndView("redirect:/listCategory/1"); 35 | return modelAndView; 36 | } 37 | 38 | //跳转到修改一级分类 39 | @RequestMapping(value = "/gotoEditCategory/{cid}") 40 | public String gotoEditCategory(@PathVariable("cid") Integer cid, Map map) { 41 | Category category = adminCategoryService.findCategory(cid); 42 | map.put("category", category); 43 | return "admin/category/edit"; 44 | } 45 | 46 | //删除一级分类 47 | @RequestMapping(value = "/deleteCategory/{cid}/{page}") 48 | public ModelAndView deleteCategory(@PathVariable("cid") Integer cid, @PathVariable("page") Integer page) { 49 | adminCategoryService.deleteCategory(cid); 50 | ModelAndView modelAndView = new ModelAndView("redirect:/listCategory/" + page); 51 | return modelAndView; 52 | } 53 | 54 | //添加一级分类,cname为前台传过来的一级分类的名称 55 | @RequestMapping(value = "/addCategory") 56 | public ModelAndView addCategory(@RequestParam(value = "cname", required = true) String cname) { 57 | //创建一级分类的对象 58 | Category category = new Category(); 59 | category.setCname(cname); 60 | adminCategoryService.addCategory(category); 61 | ModelAndView modelAndView = new ModelAndView("redirect:listCategory/1"); 62 | return modelAndView; 63 | } 64 | 65 | //跳转到添加一级分类 66 | @RequestMapping(value = "/gotoAddCategory") 67 | public String gotoAddCategory() { 68 | return "admin/category/add"; 69 | } 70 | 71 | //查询一级分类 72 | @RequestMapping(value = "/listCategory/{page}") 73 | public String listCategory(@PathVariable("page") Integer page, Map map) { 74 | List categorys = adminCategoryService.listCategory(page); 75 | map.put("categorys", categorys); 76 | map.put("page", page); 77 | //查询一级分类的页数 78 | Integer count = adminCategoryService.countCategory(); 79 | map.put("count", count); 80 | return "admin/category/list"; 81 | } 82 | } -------------------------------------------------------------------------------- /src/main/java/com/shop/controller/AdminOrderController.java: -------------------------------------------------------------------------------- 1 | package com.shop.controller; 2 | 3 | import com.shop.model.Order; 4 | import com.shop.model.OrderItem; 5 | import com.shop.service.AdminOrderService; 6 | import org.springframework.stereotype.Controller; 7 | import org.springframework.web.bind.annotation.PathVariable; 8 | import org.springframework.web.bind.annotation.RequestMapping; 9 | import org.springframework.web.servlet.ModelAndView; 10 | 11 | import javax.annotation.Resource; 12 | import javax.servlet.http.HttpServletRequest; 13 | import javax.servlet.http.HttpServletResponse; 14 | import java.io.IOException; 15 | import java.util.List; 16 | import java.util.Map; 17 | import java.util.Set; 18 | 19 | 20 | @Controller 21 | public class AdminOrderController { 22 | 23 | @Resource 24 | private AdminOrderService adminOrderService; 25 | 26 | @RequestMapping(value = "/findOrderItem/{oid}/{time}") 27 | public String findOrderItem(@PathVariable("oid") Integer oid, Map map, 28 | HttpServletResponse response) throws IOException { 29 | Order order = adminOrderService.findOrder(oid); 30 | Set orderItem = order.getOrderItems(); 31 | map.put("orderItem", orderItem); 32 | return "admin/order/orderItem"; 33 | } 34 | 35 | //发货操作 36 | @RequestMapping(value = "/updateStateOrder/{oid}/{page}") 37 | public ModelAndView updateStateOrder(@PathVariable("oid") Integer oid, @PathVariable("page") Integer page) { 38 | ModelAndView modelAndView = new ModelAndView("redirect:/listOrder/" + page); 39 | Order order = adminOrderService.findOrder(oid); 40 | order.setState(3); 41 | adminOrderService.saveOrUpdateOrder(order); 42 | return modelAndView; 43 | } 44 | 45 | //查询订单 46 | @RequestMapping(value = "/listOrder/{page}") 47 | public ModelAndView listOrder(@PathVariable("page") Integer page) { 48 | ModelAndView modelAndView = new ModelAndView("admin/order/list"); 49 | //分页查找所有的订单 50 | List orders = adminOrderService.listOrder(page, 5); 51 | modelAndView.addObject("orders", orders); 52 | //保存当前的页数 53 | modelAndView.addObject("page", page); 54 | //查询总共有多少页的数据 55 | Integer count = adminOrderService.countOrder(); 56 | modelAndView.addObject("count", count); 57 | return modelAndView; 58 | } 59 | 60 | //删除商品 61 | @RequestMapping(value = "/deleteOrder/{oid}") 62 | public ModelAndView deleteProduct(@PathVariable("oid") Integer oid, HttpServletRequest request) { 63 | //获取该订单的对象 64 | Order order = adminOrderService.findOrder(oid); 65 | //获取文件保存目录 66 | //删除商品在数据库中的记录 67 | adminOrderService.deleteOrder(order); 68 | ModelAndView modelAndView = new ModelAndView("redirect:/listOrder/1"); 69 | return modelAndView; 70 | } 71 | } 72 | -------------------------------------------------------------------------------- /src/main/java/com/shop/controller/IndexController.java: -------------------------------------------------------------------------------- 1 | package com.shop.controller; 2 | 3 | import com.shop.service.CategoryService; 4 | import com.shop.service.ProductService; 5 | import org.springframework.stereotype.Controller; 6 | import org.springframework.web.bind.annotation.RequestMapping; 7 | 8 | import javax.annotation.Resource; 9 | import javax.servlet.http.HttpSession; 10 | import java.util.Map; 11 | 12 | @Controller 13 | public class IndexController { 14 | @Resource 15 | private CategoryService categoryService; 16 | 17 | @Resource 18 | private ProductService productService; 19 | 20 | //商品首页的action 21 | @RequestMapping(value = "/index") 22 | public String showIndex(Map map, HttpSession session) { 23 | //把所有的一级分类都存入到session中 24 | session.setAttribute("cList", categoryService.getCategory()); 25 | 26 | //把最新的10条商品存放到map集合中 27 | map.put("nList", productService.findNew()); 28 | //把最热的10条商品添加到map集合中 29 | map.put("hList", productService.findHot()); 30 | 31 | return "index"; 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /src/main/java/com/shop/controller/ProductController.java: -------------------------------------------------------------------------------- 1 | package com.shop.controller; 2 | 3 | import com.shop.model.Category; 4 | import com.shop.model.CategorySecond; 5 | import com.shop.model.Product; 6 | import com.shop.service.ProductService; 7 | import org.springframework.stereotype.Controller; 8 | import org.springframework.web.bind.annotation.PathVariable; 9 | import org.springframework.web.bind.annotation.RequestMapping; 10 | import org.springframework.web.bind.annotation.RequestMethod; 11 | 12 | import javax.annotation.Resource; 13 | import java.util.Date; 14 | import java.util.List; 15 | import java.util.Map; 16 | 17 | @Controller 18 | public class ProductController { 19 | 20 | @Resource 21 | private ProductService productService; 22 | 23 | //根据二级分类查询商品 24 | @RequestMapping(value = "findByCsid/{csid}/{page}") 25 | public String findByCsid(@PathVariable("csid") Integer csid, @PathVariable("page") Integer page 26 | , Map map) { 27 | Integer count = productService.CountPageProductFromCategorySecond(csid); 28 | if (page > count) { 29 | page = 1; 30 | } 31 | List products = productService.findByCsid(csid, page); 32 | map.put("products", products); 33 | //把当前的页数存放到map中 34 | map.put("page", page); 35 | //总共有多少页 36 | map.put("count", count); 37 | map.put("csid", csid); 38 | return "productList"; 39 | } 40 | 41 | //首页中点击一级分类查询商品 42 | @RequestMapping(value = "/findByCid/{cid}/{page}") 43 | public String findByCid(@PathVariable("cid") Integer cid, @PathVariable("page") Integer page 44 | , Map map) { 45 | 46 | List products = productService.findByCid(cid, page); 47 | Integer count = productService.CountPageProductFromCategory(cid); 48 | if (page > count) { 49 | page = 1; 50 | } 51 | map.put("products", products); 52 | //把当前的页数存放到map中 53 | map.put("page", page); 54 | //总共有多少页 55 | map.put("count", count); 56 | map.put("cid", cid); 57 | return "productList"; 58 | } 59 | 60 | //根据商品的pid查询商品 61 | @RequestMapping(value = "findByPid/{pid}", method = RequestMethod.GET) 62 | public String findByPid(@PathVariable("pid") Integer pid, Map map) { 63 | 64 | // map.put("product", productService.findByPid(pid)); 65 | Product products = productService.findByPid(pid); 66 | map.put("product", products); //put product 67 | 68 | CategorySecond categorySecond = products.getCategorySecond(); 69 | // map.put("categorySecond", categorySecond); 70 | 71 | Category category = categorySecond.getCategory(); 72 | // map.put("category", category); 73 | 74 | Date privilege = category.getPrivilegeTime(); 75 | String privilegeTime = privilege.toString().substring(0, 10); //截取category表中privilegeTime字段的年月日 76 | // int length = privilegeTime.length(); 77 | 78 | map.put("privilegeTime", privilegeTime); //put privilegeTime 79 | 80 | return "product"; 81 | } 82 | } 83 | -------------------------------------------------------------------------------- /src/main/java/com/shop/dao/AdminDao.java: -------------------------------------------------------------------------------- 1 | package com.shop.dao; 2 | 3 | import com.shop.model.Admin; 4 | 5 | public interface AdminDao extends BaseDao { 6 | 7 | public Admin findByAdminnameAndPassword(String username, String password); 8 | 9 | public Admin findOne(Integer aid); 10 | } 11 | -------------------------------------------------------------------------------- /src/main/java/com/shop/dao/BaseDao.java: -------------------------------------------------------------------------------- 1 | package com.shop.dao; 2 | 3 | import java.io.Serializable; 4 | import java.util.List; 5 | import java.util.Map; 6 | 7 | public interface BaseDao { 8 | 9 | public Serializable save(T o); 10 | 11 | public void delete(Serializable id); 12 | 13 | public void delete(T o); 14 | 15 | public void update(T o); 16 | 17 | public void saveOrUpdate(T o); 18 | 19 | public T get(Serializable id); 20 | 21 | public List find(String hql); 22 | 23 | public List find(String hql, Map params); 24 | 25 | public List find(String hql, int page, int rows); 26 | 27 | public List find(String hql, Map params, int page, int rows); 28 | 29 | public Integer count(String hql); 30 | 31 | public Integer count(String hql, Integer id); 32 | 33 | public Integer count(String hql, Map params); 34 | 35 | public int executeHql(String hql); 36 | 37 | public int executeHql(String hql, Map params); 38 | 39 | Integer findByUid(Integer uid); 40 | 41 | Integer findTicketByCid(Integer cid); 42 | } 43 | -------------------------------------------------------------------------------- /src/main/java/com/shop/dao/CategoryDao.java: -------------------------------------------------------------------------------- 1 | package com.shop.dao; 2 | 3 | import com.shop.model.Category; 4 | 5 | import java.util.Date; 6 | import java.util.List; 7 | 8 | public interface CategoryDao extends BaseDao { 9 | 10 | /** 11 | * 查询一级分类的总的个数 12 | * 13 | * @return 14 | */ 15 | public Integer countCategory(); 16 | 17 | /** 18 | * 分页查找所有用户 19 | * 20 | * @param page 21 | * @return 22 | */ 23 | public List findAll(Integer page); 24 | 25 | public List findAll(); 26 | 27 | public Category findOne(Integer cid); 28 | 29 | /** 30 | * 查询优惠时间 31 | * 32 | * @param cid 33 | * @return 34 | */ 35 | public Date queryPrivilegeTime(Integer cid); 36 | } 37 | -------------------------------------------------------------------------------- /src/main/java/com/shop/dao/CategorySecondDao.java: -------------------------------------------------------------------------------- 1 | package com.shop.dao; 2 | 3 | import com.shop.model.CategorySecond; 4 | 5 | import java.util.List; 6 | 7 | public interface CategorySecondDao extends BaseDao { 8 | 9 | /** 10 | * 查询二级分类的总的个数 11 | * 12 | * @return 13 | */ 14 | public Integer countCategorySecond(); 15 | 16 | /** 17 | * 分页查找所有用户 18 | * 19 | * @param page 20 | * @return 21 | */ 22 | public List findAll(Integer page); 23 | 24 | public List findAll(); 25 | 26 | public CategorySecond findOne(Integer cid); 27 | 28 | } 29 | -------------------------------------------------------------------------------- /src/main/java/com/shop/dao/OrderDao.java: -------------------------------------------------------------------------------- 1 | package com.shop.dao; 2 | 3 | import com.shop.model.Order; 4 | import com.shop.model.OrderItem; 5 | 6 | import java.util.List; 7 | 8 | public interface OrderDao extends BaseDao { 9 | 10 | /** 11 | * Dao层查询我的订单分页查询:统计个数 12 | * 13 | * @param uid 14 | * @return 15 | */ 16 | public int findCountByUid(Integer uid); 17 | 18 | /** 19 | * Dao层查询我的订单分页查询:查询数据 20 | * 21 | * @param uid 22 | * @param begin 23 | * @param limit 24 | * @return 25 | */ 26 | public List findPageByUid(Integer uid, int begin, int limit); 27 | 28 | /** 29 | * DAO层根据订单id查询订单 30 | * 31 | * @param oid 32 | * @return 33 | */ 34 | public Order findByOid(Integer oid); 35 | 36 | /** 37 | * DAO中统计订单个数的方法 38 | * 39 | * @return 40 | */ 41 | public int findCount(); 42 | 43 | /** 44 | * DAO中分页查询订单的方法 45 | * 46 | * @param begin 47 | * @param limit 48 | * @return 49 | */ 50 | public List findByPage(int begin, int limit); 51 | 52 | /** 53 | * DAo中根据订单id查询订单项 54 | * 55 | * @param oid 56 | * @return 57 | */ 58 | public List findOrderItem(Integer oid); 59 | 60 | } 61 | -------------------------------------------------------------------------------- /src/main/java/com/shop/dao/PacketDao.java: -------------------------------------------------------------------------------- 1 | package com.shop.dao; 2 | 3 | import com.shop.model.Packet; 4 | 5 | /** 6 | * Created by Joryun on 2016/11/30. 7 | */ 8 | public interface PacketDao extends BaseDao { 9 | 10 | /** 11 | * 根据uid查询packet对象 12 | * 13 | * @param uid 14 | * @return 15 | */ 16 | public Integer findByUid(Integer uid); 17 | } 18 | -------------------------------------------------------------------------------- /src/main/java/com/shop/dao/ProductDao.java: -------------------------------------------------------------------------------- 1 | package com.shop.dao; 2 | 3 | import com.shop.model.CategorySecond; 4 | import com.shop.model.Product; 5 | 6 | import java.util.List; 7 | 8 | public interface ProductDao extends BaseDao { 9 | 10 | /** 11 | * 查找最热的十个商品 12 | * 13 | * @return 14 | */ 15 | public List findHot(); 16 | 17 | /** 18 | * 查找最新的十个商品 19 | * 20 | * @return 21 | */ 22 | public List findNew(); 23 | 24 | /** 25 | * 根据二级分类查询商品 26 | * 27 | * @param csid 28 | * @param page 29 | * @return 30 | */ 31 | public List findByCategorySecondCsid(Integer csid, Integer page); 32 | 33 | /** 34 | * 根据一级分类查询商品 35 | * 36 | * @param cid 37 | * @param page 38 | * @return 39 | */ 40 | public List findByCategorySecondCategoryCid(Integer cid, Integer page); 41 | 42 | public Integer CountPageProductFromCategory(Integer cid); 43 | 44 | public Integer CountPageProductFromCategorySecond(Integer csid); 45 | 46 | public Integer CountProduct(); 47 | 48 | public Product findOne(Integer pid); 49 | 50 | public CategorySecond findOneSecond(Integer csid); 51 | 52 | public List findAll(Integer page); 53 | } -------------------------------------------------------------------------------- /src/main/java/com/shop/dao/TicketDao.java: -------------------------------------------------------------------------------- 1 | package com.shop.dao; 2 | 3 | import com.shop.model.Ticket; 4 | 5 | import java.util.List; 6 | 7 | /** 8 | * Created by Joryun on 2016/11/30. 9 | */ 10 | public interface TicketDao extends BaseDao { 11 | 12 | public Integer findTicketByCid(Integer cid); 13 | } 14 | -------------------------------------------------------------------------------- /src/main/java/com/shop/dao/UserDao.java: -------------------------------------------------------------------------------- 1 | package com.shop.dao; 2 | 3 | import com.shop.model.User; 4 | 5 | import java.util.List; 6 | 7 | public interface UserDao extends BaseDao { 8 | 9 | /** 10 | * 根据用户名查询用户 11 | * 12 | * @param userName 13 | * @return 14 | */ 15 | public User findByUsername(String userName); 16 | 17 | /** 18 | * 根据用户名和密码查询用户 19 | * 20 | * @param username 21 | * @param password 22 | * @return 23 | */ 24 | public User findByUsernameAndPassword(String username, String password); 25 | 26 | /** 27 | * 根据激活码查询用户 28 | * 29 | * @param code 30 | * @return 31 | */ 32 | public User findByCode(String code); 33 | 34 | /** 35 | * 查询有多少个用户 36 | * 37 | * @return 38 | */ 39 | public Integer countUser(); 40 | 41 | /** 42 | * 分页查找所有用户 43 | * 44 | * @param page 45 | * @return 46 | */ 47 | public List findAll(Integer page); 48 | 49 | /** 50 | * 查找单个用户 51 | * 52 | * @param uid 53 | * @return 54 | */ 55 | public User findOne(Integer uid); 56 | 57 | } 58 | -------------------------------------------------------------------------------- /src/main/java/com/shop/dao/WalletDao.java: -------------------------------------------------------------------------------- 1 | package com.shop.dao; 2 | 3 | import com.shop.model.Wallet; 4 | 5 | public interface WalletDao extends BaseDao{ 6 | 7 | } 8 | -------------------------------------------------------------------------------- /src/main/java/com/shop/dao/impl/AdminDaoImpl.java: -------------------------------------------------------------------------------- 1 | package com.shop.dao.impl; 2 | 3 | import org.hibernate.Query; 4 | import org.springframework.stereotype.Repository; 5 | 6 | import com.shop.dao.AdminDao; 7 | import com.shop.model.Admin; 8 | 9 | @Repository("adminDao") 10 | @SuppressWarnings("all") 11 | public class AdminDaoImpl extends BaseDaoImpl implements AdminDao { 12 | 13 | public Admin findByAdminnameAndPassword(String username, String password) { 14 | String hql = "from Admin a where a.username = ? and a.password = ?"; 15 | Query query = this.getCurrentSession().createQuery(hql); 16 | query.setParameter(0, username); 17 | query.setParameter(1, password); 18 | return (Admin) query.uniqueResult(); 19 | } 20 | 21 | public Admin findOne(Integer uid) { 22 | String hql = "from Admin where uid=?"; 23 | Query query = this.getCurrentSession().createQuery(hql); 24 | query.setParameter(0, uid); 25 | return (Admin) query.uniqueResult(); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /src/main/java/com/shop/dao/impl/CategoryDaoImpl.java: -------------------------------------------------------------------------------- 1 | package com.shop.dao.impl; 2 | 3 | import com.shop.dao.CategoryDao; 4 | import com.shop.model.Category; 5 | import org.hibernate.Query; 6 | import org.springframework.stereotype.Repository; 7 | 8 | import java.util.Date; 9 | import java.util.List; 10 | 11 | @Repository("categoryDao") 12 | @SuppressWarnings("all") 13 | public class CategoryDaoImpl extends BaseDaoImpl implements CategoryDao { 14 | 15 | public Integer countCategory() { 16 | String hql = "select count(*) from Category"; 17 | return count(hql); 18 | } 19 | 20 | public List findAll() { 21 | String hql = "from Category"; 22 | return find(hql); 23 | } 24 | 25 | public Category findOne(Integer cid) { 26 | String hql = "from Category c where c.cid = ?"; 27 | Query query = this.getCurrentSession().createQuery(hql); 28 | query.setParameter(0, cid); 29 | return (Category) query.uniqueResult(); 30 | } 31 | 32 | public List findAll(Integer page) { 33 | String hql = "from Category"; 34 | int rows = 10; 35 | int page1 = page; 36 | return find(hql, page1, rows); 37 | } 38 | 39 | public Date queryPrivilegeTime(Integer cid) { 40 | // TODO Auto-generated method stub 41 | return null; 42 | } 43 | 44 | } 45 | -------------------------------------------------------------------------------- /src/main/java/com/shop/dao/impl/CategorySecondDaoImpl.java: -------------------------------------------------------------------------------- 1 | package com.shop.dao.impl; 2 | 3 | import java.util.List; 4 | 5 | import org.hibernate.Query; 6 | import org.springframework.stereotype.Repository; 7 | 8 | import com.shop.dao.CategorySecondDao; 9 | import com.shop.model.CategorySecond; 10 | 11 | @Repository("categorySecondDao") 12 | public class CategorySecondDaoImpl extends BaseDaoImpl implements CategorySecondDao { 13 | 14 | public Integer countCategorySecond() { 15 | String hql = "select count(*) from CategorySecond"; 16 | return count(hql); 17 | } 18 | 19 | public List findAll(Integer page) { 20 | String hql = "from CategorySecond"; 21 | int rows = 15; 22 | int page1 = page; 23 | return find(hql, page1, rows); 24 | } 25 | 26 | public List findAll() { 27 | String hql = "from CategorySecond"; 28 | return find(hql); 29 | } 30 | 31 | public CategorySecond findOne(Integer csid) { 32 | String hql = "from CategorySecond cs where cs.csid = ?"; 33 | Query query = this.getCurrentSession().createQuery(hql); 34 | query.setParameter(0, csid); 35 | return (CategorySecond) query.uniqueResult(); 36 | } 37 | 38 | } 39 | -------------------------------------------------------------------------------- /src/main/java/com/shop/dao/impl/OrderDaoImpl.java: -------------------------------------------------------------------------------- 1 | package com.shop.dao.impl; 2 | 3 | import com.shop.dao.OrderDao; 4 | import com.shop.model.Order; 5 | import com.shop.model.OrderItem; 6 | import org.hibernate.Query; 7 | import org.springframework.stereotype.Repository; 8 | 9 | import java.util.List; 10 | 11 | 12 | @Repository("orderDao") 13 | @SuppressWarnings("all") 14 | public class OrderDaoImpl extends BaseDaoImpl implements OrderDao { 15 | 16 | public Order findByOid(Integer oid) { 17 | String hql = "from Order o where o.oid = ?"; 18 | Query query = this.getCurrentSession().createQuery(hql); 19 | query.setParameter(0, oid); 20 | return (Order) query.uniqueResult(); 21 | } 22 | 23 | public List findByPage(int begin, int limit) { 24 | String hql = "from Order order by ordertime desc"; 25 | Query query = this.getCurrentSession().createQuery(hql); 26 | return query.setFirstResult((begin - 1) * limit).setMaxResults(limit).list(); 27 | 28 | } 29 | 30 | public int findCount() { 31 | String hql = "select count(*) from Order"; 32 | Query query = this.getCurrentSession().createQuery(hql); 33 | List list = query.list(); 34 | if (list != null && list.size() > 0) { 35 | Integer count = list.get(0).intValue(); 36 | return (count % 10 == 0 ? (count / 10) : (count / 10 + 1)); 37 | } 38 | return 0; 39 | } 40 | 41 | public int findCountByUid(Integer uid) { 42 | String hql = "select count(*) from Order o where o.user.uid = ?"; 43 | Query query = this.getCurrentSession().createQuery(hql); 44 | query.setParameter(0, uid); 45 | List list = query.list(); 46 | if (list != null && list.size() > 0) { 47 | return list.get(0).intValue(); 48 | } 49 | return 0; 50 | } 51 | 52 | public List findOrderItem(Integer oid) { 53 | String hql = "from OrderItem oi where oi.order.oid = ?"; 54 | Query query = this.getCurrentSession().createQuery(hql); 55 | query.setParameter(0, oid); 56 | List list = query.list(); 57 | if (list != null && list.size() > 0) { 58 | return list; 59 | } 60 | return null; 61 | } 62 | 63 | public List findPageByUid(Integer uid, int begin, int limit) { 64 | String hql = "from Order o where o.user.uid = ? order by o.ordertime desc"; 65 | Query query = this.getCurrentSession().createQuery(hql); 66 | query.setParameter(0, uid); 67 | List list = query.setFirstResult((begin - 1) * limit).setMaxResults(limit).list(); 68 | if (list != null && list.size() > 0) { 69 | return list; 70 | } 71 | return null; 72 | } 73 | } 74 | -------------------------------------------------------------------------------- /src/main/java/com/shop/dao/impl/PacketDaoImpl.java: -------------------------------------------------------------------------------- 1 | package com.shop.dao.impl; 2 | 3 | import com.shop.dao.PacketDao; 4 | import com.shop.model.Order; 5 | import com.shop.model.Packet; 6 | import org.hibernate.Query; 7 | import org.springframework.stereotype.Repository; 8 | 9 | /** 10 | * Created by Joryun on 2016/11/30. 11 | */ 12 | @Repository("packetDao") 13 | @SuppressWarnings("all") 14 | 15 | public class PacketDaoImpl extends BaseDaoImpl implements PacketDao { 16 | 17 | @Override 18 | public Integer findByUid(Integer uid) { 19 | // String hql = "from Packet p where p.uid = ?"; 20 | String hql = "select pacid from Packet p where p.uid = ?"; 21 | Query query = this.getCurrentSession().createQuery(hql); 22 | query.setParameter(0, uid); 23 | return (Integer) query.uniqueResult(); 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /src/main/java/com/shop/dao/impl/TicketDaoImpl.java: -------------------------------------------------------------------------------- 1 | package com.shop.dao.impl; 2 | 3 | import com.shop.dao.TicketDao; 4 | import com.shop.model.Ticket; 5 | import org.hibernate.Query; 6 | import org.springframework.stereotype.Repository; 7 | 8 | /** 9 | * Created by Joryun on 2016/11/30. 10 | */ 11 | 12 | @Repository("ticketDao") 13 | @SuppressWarnings("all") 14 | public class TicketDaoImpl extends BaseDaoImpl implements TicketDao { 15 | 16 | @Override 17 | public Integer findTicketByCid(Integer cid) { 18 | 19 | // String hql = "from Ticket t where t.tid = ?"; 20 | String hql = "select tid from Ticket t where t.cid = ?"; 21 | Query query = this.getCurrentSession().createQuery(hql); 22 | query.setParameter(0, cid); 23 | return (Integer) query.uniqueResult(); 24 | 25 | } 26 | 27 | } 28 | -------------------------------------------------------------------------------- /src/main/java/com/shop/dao/impl/UserDaoImpl.java: -------------------------------------------------------------------------------- 1 | package com.shop.dao.impl; 2 | 3 | import com.shop.dao.UserDao; 4 | import com.shop.model.User; 5 | import org.hibernate.Query; 6 | import org.springframework.stereotype.Repository; 7 | 8 | import java.util.List; 9 | 10 | @Repository("userDao") 11 | @SuppressWarnings("all") 12 | public class UserDaoImpl extends BaseDaoImpl implements UserDao { 13 | 14 | public Integer countUser() { 15 | String hql = "select count(*) from User"; 16 | return count(hql); 17 | } 18 | 19 | public User findByCode(String code) { 20 | String hql = "from User u where u.code = ?"; 21 | Query query = this.getCurrentSession().createQuery(hql); 22 | query.setParameter(0, code); 23 | return (User) query.uniqueResult(); 24 | } 25 | 26 | public User findByUsername(String userName) { 27 | String hql = "from User u where u.username = ?"; 28 | Query query = this.getCurrentSession().createQuery(hql); 29 | query.setParameter(0, userName); 30 | return (User) query.uniqueResult(); 31 | } 32 | 33 | public User findByUsernameAndPassword(String username, String password) { 34 | String hql = "from User u where u.username = ? and u.password = ?"; 35 | Query query = this.getCurrentSession().createQuery(hql); 36 | query.setParameter(0, username); 37 | query.setParameter(1, password); 38 | return (User) query.uniqueResult(); 39 | } 40 | 41 | public List findAll(Integer page) { 42 | String hql = "from User"; 43 | int rows = 20; 44 | int page1 = page; 45 | return find(hql, page1, rows); 46 | } 47 | 48 | public User findOne(Integer uid) { 49 | String hql = "from User u where u.uid = ?"; 50 | Query query = this.getCurrentSession().createQuery(hql); 51 | query.setParameter(0, uid); 52 | return (User) query.uniqueResult(); 53 | } 54 | 55 | } 56 | -------------------------------------------------------------------------------- /src/main/java/com/shop/dao/impl/WalletDaoImpl.java: -------------------------------------------------------------------------------- 1 | package com.shop.dao.impl; 2 | 3 | import org.springframework.stereotype.Repository; 4 | 5 | import com.shop.dao.WalletDao; 6 | import com.shop.model.Wallet; 7 | 8 | 9 | @Repository("walletDao") 10 | @SuppressWarnings("all") 11 | public class WalletDaoImpl extends BaseDaoImpl implements WalletDao { 12 | 13 | } 14 | -------------------------------------------------------------------------------- /src/main/java/com/shop/model/Admin.java: -------------------------------------------------------------------------------- 1 | package com.shop.model; 2 | 3 | import javax.persistence.Entity; 4 | import javax.persistence.GeneratedValue; 5 | import javax.persistence.GenerationType; 6 | import javax.persistence.Id; 7 | import javax.persistence.Table; 8 | 9 | @Table(name = "adminuser") 10 | @Entity 11 | public class Admin { 12 | 13 | @GeneratedValue(strategy = GenerationType.AUTO) 14 | @Id 15 | private Integer uid; 16 | private String username; 17 | private String password; 18 | private Integer minventory; 19 | 20 | public Integer getUid() { 21 | return uid; 22 | } 23 | 24 | public void setUid(Integer uid) { 25 | this.uid = uid; 26 | } 27 | 28 | public String getUsername() { 29 | return username; 30 | } 31 | 32 | public void setUsername(String username) { 33 | this.username = username; 34 | } 35 | 36 | public String getPassword() { 37 | return password; 38 | } 39 | 40 | public void setPassword(String password) { 41 | this.password = password; 42 | } 43 | 44 | public Integer getMinventory() { 45 | return minventory; 46 | } 47 | 48 | public void setMinventory(Integer minventory) { 49 | this.minventory = minventory; 50 | } 51 | 52 | } 53 | -------------------------------------------------------------------------------- /src/main/java/com/shop/model/Cart.java: -------------------------------------------------------------------------------- 1 | package com.shop.model; 2 | 3 | import java.util.Collection; 4 | import java.util.LinkedHashMap; 5 | import java.util.Map; 6 | 7 | public class Cart { 8 | //购物车属性 9 | //购物项集合:Map的key就是商品pid,value:购物项 10 | private Map map = new LinkedHashMap(); 11 | 12 | //Cart对象中有一个cartItems属性 13 | public Collection getCartItems(){ 14 | return map.values(); 15 | } 16 | 17 | //购物总计 18 | private float total; 19 | 20 | public float getTotal() { 21 | return total; 22 | } 23 | 24 | public void setTotal(float total) { 25 | this.total = total; 26 | } 27 | 28 | //购物车的功能: 29 | //1.将购物项添加到购物车 30 | public void addCart(CartItem cartItem) { 31 | //判断购物车中是否已经存在该购物项; 32 | /** 33 | * 若存在:数量增加 34 | * 总计 += 购物项小计 35 | * 36 | * 若不存在: 37 | * 向map中添加购物项 38 | * 总计 += 购物项小计 39 | */ 40 | //获得商品pid 41 | Integer pid = cartItem.getProduct().getPid(); 42 | //判断购物车中是否已经存在该购物项 43 | if(map.containsKey(pid)){ 44 | //存在,获得购物车中原来的购物项 45 | CartItem _carCartItem = map.get(pid); 46 | //原来的购物项的数量加上现在的购物项数量 47 | _carCartItem.setCount(_carCartItem.getCount()+cartItem.getCount()); 48 | }else { 49 | map.put(pid, cartItem); 50 | } 51 | // 设置总计的值 52 | total += cartItem.getSubtotal(); 53 | } 54 | 55 | // 2.从购物车移除购物项 56 | public void removeCart(Integer pid) { 57 | //将购物项移除购物车 58 | CartItem cartItem = map.remove(pid); 59 | total -= cartItem.getSubtotal(); 60 | } 61 | 62 | //3.清空购物车 63 | public void clearCart() { 64 | //将所有购物项清空 65 | map.clear(); 66 | //将总计设置为0 67 | total = 0; 68 | } 69 | } 70 | -------------------------------------------------------------------------------- /src/main/java/com/shop/model/CartItem.java: -------------------------------------------------------------------------------- 1 | package com.shop.model; 2 | 3 | public class CartItem { 4 | 5 | private Product product; // 购物项中商品信息 6 | private Float price = 1.0f; //计算价格 7 | private int count; // 购买某种商品数量 8 | @SuppressWarnings("unused") 9 | private float subtotal; // 购买某种商品小计 10 | 11 | public Product getProduct() { 12 | return product; 13 | } 14 | 15 | public void setProduct(Product product) { 16 | this.product = product; 17 | } 18 | 19 | public Float getPrice() { 20 | return price; 21 | } 22 | 23 | public void setPrice(Float price) { 24 | this.price = price; 25 | } 26 | 27 | public int getCount() { 28 | return count; 29 | } 30 | 31 | public void setCount(int count) { 32 | this.count = count; 33 | } 34 | 35 | public void setSubtotal(float subtotal) { 36 | this.subtotal = subtotal; 37 | } 38 | 39 | public float getSubtotal() { 40 | /*if (product.getShop_price() != null) { 41 | return count * product.getShop_price() 42 | * product.getCategorySecond().getCategory().getDiscount(); 43 | }*/ 44 | 45 | return count * getPrice(); 46 | 47 | } 48 | 49 | 50 | } 51 | -------------------------------------------------------------------------------- /src/main/java/com/shop/model/Category.java: -------------------------------------------------------------------------------- 1 | package com.shop.model; 2 | 3 | import java.io.Serializable; 4 | import java.util.Date; 5 | import java.util.HashSet; 6 | import java.util.Set; 7 | 8 | import javax.persistence.*; 9 | 10 | @Table(name = "category") 11 | @Entity 12 | public class Category implements Serializable { 13 | 14 | private static final long serialVersionUID = 1L; 15 | 16 | @GeneratedValue(strategy = GenerationType.AUTO) 17 | @Id 18 | private Integer cid; 19 | private String cname; 20 | private float discount; 21 | private Date privilegeTime; // 优惠时间 22 | 23 | // 一级分类中存放二级分类的集合: 24 | @OrderBy(value = "csid") 25 | @OneToMany(fetch = FetchType.EAGER, mappedBy = "category") 26 | private Set categorySeconds = new HashSet(); 27 | 28 | // ticket 外键 29 | @OneToOne(cascade = {CascadeType.REFRESH}, fetch = FetchType.EAGER, mappedBy = "category") 30 | private Ticket ticket; 31 | 32 | 33 | public Integer getCid() { 34 | return cid; 35 | } 36 | 37 | public void setCid(Integer cid) { 38 | this.cid = cid; 39 | } 40 | 41 | public String getCname() { 42 | return cname; 43 | } 44 | 45 | public void setCname(String cname) { 46 | this.cname = cname; 47 | } 48 | 49 | public float getDiscount() { 50 | return discount; 51 | } 52 | 53 | public void setDiscount(float discount) { 54 | this.discount = discount; 55 | } 56 | 57 | public Set getCategorySeconds() { 58 | return categorySeconds; 59 | } 60 | 61 | public void setCategorySeconds(Set categorySeconds) { 62 | this.categorySeconds = categorySeconds; 63 | } 64 | 65 | public Date getPrivilegeTime() { 66 | return privilegeTime; 67 | } 68 | 69 | public void setPrivilegeTime(Date privilegeTime) { 70 | this.privilegeTime = privilegeTime; 71 | } 72 | 73 | 74 | public Ticket getTicket() { 75 | return ticket; 76 | } 77 | 78 | public void setTicket(Ticket ticket) { 79 | this.ticket = ticket; 80 | } 81 | } -------------------------------------------------------------------------------- /src/main/java/com/shop/model/CategorySecond.java: -------------------------------------------------------------------------------- 1 | package com.shop.model; 2 | 3 | import javax.persistence.*; 4 | import java.io.Serializable; 5 | import java.util.HashSet; 6 | import java.util.Set; 7 | 8 | /** 9 | * 二级分类的实体 10 | */ 11 | @Table(name = "categorysecond") 12 | @Entity 13 | public class CategorySecond implements Serializable { 14 | 15 | private static final long serialVersionUID = 1L; 16 | 17 | @GeneratedValue(strategy = GenerationType.AUTO) 18 | @Id 19 | private Integer csid; 20 | private String csname; 21 | 22 | // 所属一级分类.存的是一级分类的对象. 23 | @JoinColumn(name = "cid") 24 | @ManyToOne 25 | private Category category; 26 | 27 | // 配置商品集合 28 | @OneToMany(fetch = FetchType.LAZY, mappedBy = "categorySecond") 29 | private Set products = new HashSet(); 30 | 31 | public Integer getCsid() { 32 | return csid; 33 | } 34 | 35 | public void setCsid(Integer csid) { 36 | this.csid = csid; 37 | } 38 | 39 | public String getCsname() { 40 | return csname; 41 | } 42 | 43 | public void setCsname(String csname) { 44 | this.csname = csname; 45 | } 46 | 47 | public Category getCategory() { 48 | return category; 49 | } 50 | 51 | public void setCategory(Category category) { 52 | this.category = category; 53 | } 54 | 55 | public Set getProducts() { 56 | return products; 57 | } 58 | 59 | public void setProducts(Set products) { 60 | this.products = products; 61 | } 62 | } 63 | -------------------------------------------------------------------------------- /src/main/java/com/shop/model/Order.java: -------------------------------------------------------------------------------- 1 | package com.shop.model; 2 | 3 | import javax.persistence.*; 4 | import java.util.Date; 5 | import java.util.HashSet; 6 | import java.util.Set; 7 | 8 | @Table(name = "orders") 9 | @Entity 10 | public class Order { 11 | @GeneratedValue(strategy = GenerationType.AUTO) 12 | @Id 13 | private Integer oid; 14 | private Float total; 15 | private Date ordertime; 16 | private Integer state;// 1:未付款 2:订单已经付款 3:已经发货 4:订单结束 17 | private String name; 18 | private String phone; 19 | private String addr; 20 | // 用户的外键:对象 21 | @JoinColumn(name = "uid") 22 | @ManyToOne 23 | private User user; 24 | // 配置订单项的集合 25 | //mappedBy="order"指明order为双向关系维护端是由哪个属性来维护 26 | //cascade级联操作级别,refresh:级联刷新,remove级联删除 27 | @OneToMany(cascade = {CascadeType.ALL}, fetch = FetchType.EAGER, mappedBy = "order") 28 | private Set orderItems = new HashSet(); 29 | 30 | public Integer getOid() { 31 | return oid; 32 | } 33 | 34 | public void setOid(Integer oid) { 35 | this.oid = oid; 36 | } 37 | 38 | public Float getTotal() { 39 | return total; 40 | } 41 | 42 | public void setTotal(Float total) { 43 | this.total = total; 44 | } 45 | 46 | public Date getOrdertime() { 47 | return ordertime; 48 | } 49 | 50 | public void setOrdertime(Date ordertime) { 51 | this.ordertime = ordertime; 52 | } 53 | 54 | public Integer getState() { 55 | return state; 56 | } 57 | 58 | public void setState(Integer state) { 59 | this.state = state; 60 | } 61 | 62 | public String getName() { 63 | return name; 64 | } 65 | 66 | public void setName(String name) { 67 | this.name = name; 68 | } 69 | 70 | public String getPhone() { 71 | return phone; 72 | } 73 | 74 | public void setPhone(String phone) { 75 | this.phone = phone; 76 | } 77 | 78 | public String getAddr() { 79 | return addr; 80 | } 81 | 82 | public void setAddr(String addr) { 83 | this.addr = addr; 84 | } 85 | 86 | public User getUser() { 87 | return user; 88 | } 89 | 90 | public void setUser(User user) { 91 | this.user = user; 92 | } 93 | 94 | public Set getOrderItems() { 95 | return orderItems; 96 | } 97 | 98 | public void setOrderItems(Set orderItems) { 99 | this.orderItems = orderItems; 100 | } 101 | 102 | @Override 103 | public String toString() { 104 | return "Order [oid=" + oid + ", total=" + total + ", ordertime=" + ordertime + ", state=" + state + ", name=" 105 | + name + ", phone=" + phone + ", addr=" + addr + ", user=" + user + ", orderItems=" + orderItems + "]"; 106 | } 107 | } 108 | -------------------------------------------------------------------------------- /src/main/java/com/shop/model/OrderItem.java: -------------------------------------------------------------------------------- 1 | package com.shop.model; 2 | 3 | import javax.persistence.CascadeType; 4 | import javax.persistence.Entity; 5 | import javax.persistence.GeneratedValue; 6 | import javax.persistence.GenerationType; 7 | import javax.persistence.Id; 8 | import javax.persistence.JoinColumn; 9 | import javax.persistence.ManyToOne; 10 | import javax.persistence.Table; 11 | 12 | /** 13 | * 订单项的实体 14 | */ 15 | @Table(name = "orderitem") 16 | @Entity 17 | public class OrderItem { 18 | @GeneratedValue(strategy = GenerationType.AUTO) 19 | @Id 20 | private Integer itemid; 21 | 22 | private Integer count; 23 | 24 | private Float subtotal; 25 | 26 | // 商品外键:对象 27 | @JoinColumn(name = "pid") 28 | @ManyToOne 29 | private Product product; 30 | 31 | // 订单外键:对象 32 | @JoinColumn(name = "oid") 33 | @ManyToOne(cascade = {CascadeType.ALL}) 34 | private Order order; 35 | 36 | public Integer getItemid() { 37 | return itemid; 38 | } 39 | 40 | public void setItemid(Integer itemid) { 41 | this.itemid = itemid; 42 | } 43 | 44 | public Integer getCount() { 45 | return count; 46 | } 47 | 48 | public void setCount(Integer count) { 49 | this.count = count; 50 | } 51 | 52 | public Float getSubtotal() { 53 | return subtotal; 54 | } 55 | 56 | public void setSubtotal(Float subtotal) { 57 | this.subtotal = subtotal; 58 | } 59 | 60 | public Product getProduct() { 61 | return product; 62 | } 63 | 64 | public void setProduct(Product product) { 65 | this.product = product; 66 | } 67 | 68 | public Order getOrder() { 69 | return order; 70 | } 71 | 72 | public void setOrder(Order order) { 73 | this.order = order; 74 | } 75 | 76 | @Override 77 | public String toString() { 78 | return "OrderItem [itemid=" + itemid + ", count=" + count + ", subtotal=" + subtotal + ", product=" + product 79 | + ", order=" + order + "]"; 80 | } 81 | } 82 | -------------------------------------------------------------------------------- /src/main/java/com/shop/model/Packet.java: -------------------------------------------------------------------------------- 1 | package com.shop.model; 2 | 3 | import javax.persistence.*; 4 | 5 | /** 6 | * Created by Joryun on 2016/11/30. 7 | * 8 | * 用户卡包的实体对象 9 | */ 10 | 11 | @Table(name = "packet") 12 | @Entity 13 | public class Packet { 14 | @GeneratedValue(strategy = GenerationType.AUTO) 15 | @Id 16 | private Integer pacid; 17 | private Integer uid; 18 | 19 | //外键 20 | @OneToOne(optional = false) 21 | @JoinColumn(name = "uid", unique = true, nullable = false, updatable = false, insertable = false) 22 | private User user; 23 | 24 | public Integer getPacid() { 25 | return pacid; 26 | } 27 | 28 | public void setPacid(Integer pacid) { 29 | this.pacid = pacid; 30 | } 31 | 32 | public User getUser() { 33 | return user; 34 | } 35 | 36 | public void setUser(User user) { 37 | this.user = user; 38 | } 39 | 40 | @Override 41 | public String toString() { 42 | return "Packet{" + 43 | "pacid=" + pacid + 44 | ", user=" + user + 45 | '}'; 46 | } 47 | 48 | public Integer getUid() { 49 | return uid; 50 | } 51 | 52 | public void setUid(Integer uid) { 53 | this.uid = uid; 54 | } 55 | } 56 | -------------------------------------------------------------------------------- /src/main/java/com/shop/model/Product.java: -------------------------------------------------------------------------------- 1 | package com.shop.model; 2 | 3 | import javax.persistence.*; 4 | import java.util.Date; 5 | 6 | /** 7 | * 商品的实体对象 8 | */ 9 | @Table(name = "product") 10 | @Entity 11 | public class Product { 12 | 13 | @GeneratedValue(strategy = GenerationType.AUTO) 14 | @Id 15 | private Integer pid; 16 | private String pname; 17 | private Float market_price; 18 | private Float shop_price; 19 | private Integer inventory; 20 | private String image; 21 | private String pdesc; 22 | private Integer is_hot; 23 | private Date pdate; 24 | 25 | // 二级分类的外键:使用二级分类的对象. 26 | @JoinColumn(name = "csid") 27 | @ManyToOne 28 | private CategorySecond categorySecond; 29 | 30 | public Integer getPid() { 31 | return pid; 32 | } 33 | 34 | public void setPid(Integer pid) { 35 | this.pid = pid; 36 | } 37 | 38 | public String getPname() { 39 | // String goodName = pname; 40 | // if(pname.contains("=")) 41 | // goodName = new String(Base64.getDecoder().decode(pname.getBytes())); 42 | return pname; 43 | } 44 | 45 | public void setPname(String pname) { 46 | // String goodName = pname; 47 | // if(pname.contains("#")){//在加入前已经进行加密并在结尾加入#,取出#后直接加入数据库 48 | // pname = pname.replace("#", ""); 49 | // goodName = pname; 50 | // }else if(pname.matches("\\w+"))//匹配英文,进行解密 51 | // goodName = new String(Base64.getDecoder().decode(pname.getBytes())); 52 | this.pname = pname; 53 | } 54 | 55 | public Float getMarket_price() { 56 | return market_price; 57 | } 58 | 59 | public void setMarket_price(Float market_price) { 60 | this.market_price = market_price; 61 | } 62 | 63 | public Float getShop_price() { 64 | return shop_price; 65 | } 66 | 67 | public void setShop_price(Float shop_price) { 68 | this.shop_price = shop_price; 69 | } 70 | 71 | public Integer getInventory() { 72 | return inventory; 73 | } 74 | 75 | public void setInventory(Integer inventory) { 76 | this.inventory = inventory; 77 | } 78 | 79 | public String getImage() { 80 | return image; 81 | } 82 | 83 | public void setImage(String image) { 84 | this.image = image; 85 | } 86 | 87 | public String getPdesc() { 88 | return pdesc; 89 | } 90 | 91 | public void setPdesc(String pdesc) { 92 | this.pdesc = pdesc; 93 | } 94 | 95 | public Integer getIs_hot() { 96 | return is_hot; 97 | } 98 | 99 | public void setIs_hot(Integer is_hot) { 100 | this.is_hot = is_hot; 101 | } 102 | 103 | public Date getPdate() { 104 | return pdate; 105 | } 106 | 107 | public void setPdate(Date date) { 108 | this.pdate = date; 109 | } 110 | 111 | public CategorySecond getCategorySecond() { 112 | return categorySecond; 113 | } 114 | 115 | public void setCategorySecond(CategorySecond categorySecond) { 116 | this.categorySecond = categorySecond; 117 | } 118 | 119 | @Override 120 | public String toString() { 121 | return "Product [pid=" + pid + ", pname=" + pname + ", market_price=" + market_price + ", shop_price=" 122 | + shop_price + ", image=" + image + ", pdesc=" + pdesc + ", is_hot=" + is_hot + ", pdate=" + pdate 123 | + ", categorySecond=" + categorySecond + "]"; 124 | } 125 | } 126 | -------------------------------------------------------------------------------- /src/main/java/com/shop/model/Ticket.java: -------------------------------------------------------------------------------- 1 | package com.shop.model; 2 | 3 | import javax.persistence.*; 4 | import java.util.Date; 5 | 6 | /** 7 | * Created by Joryun on 2016/11/30. 8 | */ 9 | 10 | @Table(name = "ticket") 11 | @Entity 12 | public class Ticket { 13 | @GeneratedValue(strategy = GenerationType.AUTO) 14 | @Id 15 | private Integer tid; 16 | private Float privilege; 17 | private Float consume; 18 | private Date useTime; 19 | 20 | /*@OneToOne 21 | @JoinColumn(name="cid") 22 | private Category category;*/ 23 | 24 | // 用户的:外键 25 | @OneToOne(optional = false) 26 | @JoinColumn(name = "cid", unique = true, nullable = false, updatable = false, insertable = false) 27 | private Category category; 28 | 29 | public Integer getTid() { 30 | return tid; 31 | } 32 | 33 | public void setTid(Integer tid) { 34 | this.tid = tid; 35 | } 36 | 37 | public Float getPrivilege() { 38 | return privilege; 39 | } 40 | 41 | public void setPrivilege(Float privilege) { 42 | this.privilege = privilege; 43 | } 44 | 45 | public Float getConsume() { 46 | return consume; 47 | } 48 | 49 | public void setConsume(Float consume) { 50 | this.consume = consume; 51 | } 52 | 53 | public Date getUseTime() { 54 | return useTime; 55 | } 56 | 57 | public void setUseTime(Date useTime) { 58 | this.useTime = useTime; 59 | } 60 | 61 | public Category getCategory() { 62 | return category; 63 | } 64 | 65 | public void setCategory(Category category) { 66 | this.category = category; 67 | } 68 | 69 | @Override 70 | public String toString() { 71 | return "Ticket{" + 72 | "tid=" + tid + 73 | ", privilege=" + privilege + 74 | ", consume=" + consume + 75 | ", useTime=" + useTime + 76 | ", category=" + category + 77 | '}'; 78 | } 79 | } 80 | -------------------------------------------------------------------------------- /src/main/java/com/shop/model/User.java: -------------------------------------------------------------------------------- 1 | package com.shop.model; 2 | 3 | import org.hibernate.validator.constraints.Email; 4 | 5 | import javax.persistence.*; 6 | 7 | @Table(name = "user") 8 | @Entity 9 | public class User { 10 | 11 | @GeneratedValue(strategy = GenerationType.AUTO) 12 | @Id 13 | private Integer uid; 14 | private String username; 15 | private String password; 16 | private String name; 17 | @Email(message = "邮箱格式错误") 18 | private String email; 19 | private String phone; 20 | private Integer age; 21 | private String addr; 22 | private Integer state; 23 | private String code; 24 | // 电子卷包:外键 25 | @OneToOne(cascade = {CascadeType.REFRESH}, fetch = FetchType.EAGER, mappedBy = "user") 26 | private Wallet wallet; 27 | 28 | public Integer getUid() { 29 | return uid; 30 | } 31 | 32 | public void setUid(Integer uid) { 33 | this.uid = uid; 34 | } 35 | 36 | public String getUsername() { 37 | return username; 38 | } 39 | 40 | public void setUsername(String username) { 41 | this.username = username; 42 | } 43 | 44 | public String getPassword() { 45 | return password; 46 | } 47 | 48 | public void setPassword(String password) { 49 | this.password = password; 50 | } 51 | 52 | public String getName() { 53 | return name; 54 | } 55 | 56 | public void setName(String name) { 57 | this.name = name; 58 | } 59 | 60 | public String getEmail() { 61 | return email; 62 | } 63 | 64 | public void setEmail(String email) { 65 | this.email = email; 66 | } 67 | 68 | public String getPhone() { 69 | return phone; 70 | } 71 | 72 | public void setPhone(String phone) { 73 | this.phone = phone; 74 | } 75 | 76 | public Integer getAge() { 77 | return age; 78 | } 79 | 80 | public void setAge(Integer age) { 81 | this.age = age; 82 | } 83 | 84 | public String getAddr() { 85 | return addr; 86 | } 87 | 88 | public void setAddr(String addr) { 89 | this.addr = addr; 90 | } 91 | 92 | public Integer getState() { 93 | return state; 94 | } 95 | 96 | public void setState(Integer state) { 97 | this.state = state; 98 | } 99 | 100 | public String getCode() { 101 | return code; 102 | } 103 | 104 | public void setCode(String code) { 105 | this.code = code; 106 | } 107 | 108 | public Wallet getWallet() { 109 | return wallet; 110 | } 111 | 112 | public void setWallet(Wallet wallet) { 113 | this.wallet = wallet; 114 | } 115 | 116 | @Override 117 | public String toString() { 118 | return "User [uid=" + uid + ", username=" + username + ", password=" 119 | + password + ", name=" + name + ", email=" + email + ", phone=" 120 | + phone + ", addr=" + addr + ", state=" + state + ", code=" 121 | + code + "]"; 122 | } 123 | } 124 | -------------------------------------------------------------------------------- /src/main/java/com/shop/model/Wallet.java: -------------------------------------------------------------------------------- 1 | package com.shop.model; 2 | 3 | import javax.persistence.Entity; 4 | import javax.persistence.GeneratedValue; 5 | import javax.persistence.GenerationType; 6 | import javax.persistence.Id; 7 | import javax.persistence.JoinColumn; 8 | import javax.persistence.OneToOne; 9 | import javax.persistence.Table; 10 | 11 | @Table(name = "wallet") 12 | @Entity 13 | public class Wallet { 14 | @GeneratedValue(strategy = GenerationType.AUTO) 15 | @Id 16 | private Integer wid; 17 | private Float money; 18 | private Integer uid; 19 | 20 | // 用户的:外键 21 | @OneToOne(optional = false) 22 | @JoinColumn(name = "uid", unique = true, nullable = false, updatable = false, insertable = false) 23 | private User user; 24 | 25 | public Integer getWid() { 26 | return wid; 27 | } 28 | 29 | public void setWid(Integer wid) { 30 | this.wid = wid; 31 | } 32 | 33 | public Float getMoney() { 34 | return money; 35 | } 36 | 37 | public void setMoney(Float money) { 38 | this.money = money; 39 | } 40 | 41 | public Integer getUid() { 42 | return uid; 43 | } 44 | 45 | public void setUid(Integer uid) { 46 | this.uid = uid; 47 | } 48 | 49 | public User getUser() { 50 | return user; 51 | } 52 | 53 | public void setUser(User user) { 54 | this.user = user; 55 | } 56 | 57 | @Override 58 | public String toString() { 59 | return "Wallet [wid=" + wid + ", money=" + money + "]"; 60 | } 61 | } 62 | -------------------------------------------------------------------------------- /src/main/java/com/shop/service/AdminCategorySecondService.java: -------------------------------------------------------------------------------- 1 | package com.shop.service; 2 | 3 | import com.shop.model.CategorySecond; 4 | 5 | import java.util.List; 6 | 7 | 8 | public interface AdminCategorySecondService { 9 | 10 | public List listCategorySecond(Integer page); 11 | 12 | //统计二级分类的个数 13 | public Integer countCategorySecond(); 14 | 15 | //保存二级分类 16 | public void addCategorySecond(CategorySecond categorySecond); 17 | 18 | //删除二级分类 19 | public void deleteCategorySecond(Integer csid); 20 | 21 | //查找具体某个二级分类 22 | public CategorySecond findCategorySecond(Integer csid); 23 | 24 | //更新二级分类 25 | public void updateCategorySecond(CategorySecond categorySecond); 26 | 27 | //查找所有的二级分类 28 | public List listCategorySecond(); 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/com/shop/service/AdminCategoryService.java: -------------------------------------------------------------------------------- 1 | package com.shop.service; 2 | 3 | import com.shop.model.Category; 4 | 5 | import java.util.List; 6 | 7 | /** 8 | * @author Joryun 9 | * @ClassName: AdminCategoryService 10 | * @Description: 商品类别服务 11 | * @date 2016年11月29日 下午7:43:30 12 | */ 13 | public interface AdminCategoryService { 14 | 15 | // 分页查询一级分类 16 | public List listCategory(Integer page); 17 | 18 | // 查询一级分类的页数 19 | public Integer countCategory(); 20 | 21 | //添加二级分类 22 | public void addCategory(Category category); 23 | 24 | //删除二级分类 25 | public void deleteCategory(Integer cid); 26 | 27 | //查询某个具体的一级分类 28 | public Category findCategory(Integer cid); 29 | 30 | //更新一级分类 31 | public void updateCategory(Category category); 32 | 33 | public List findCategory(); 34 | } 35 | -------------------------------------------------------------------------------- /src/main/java/com/shop/service/AdminOrderService.java: -------------------------------------------------------------------------------- 1 | package com.shop.service; 2 | 3 | import com.shop.model.Order; 4 | 5 | import java.util.List; 6 | 7 | public interface AdminOrderService { 8 | 9 | //查询某个具体的订单 10 | public Order findOrder(Integer oid); 11 | 12 | //保存和更新订单 13 | public void saveOrUpdateOrder(Order order); 14 | 15 | //删除该订单 16 | public void deleteOrder(Order order); 17 | 18 | //分页查询所有的订单 19 | public List listOrder(Integer page, Integer rows); 20 | 21 | //查询总共有多少页的订单 22 | public Integer countOrder(); 23 | 24 | } 25 | -------------------------------------------------------------------------------- /src/main/java/com/shop/service/AdminProductService.java: -------------------------------------------------------------------------------- 1 | package com.shop.service; 2 | 3 | import com.shop.model.Product; 4 | 5 | import java.util.List; 6 | 7 | public interface AdminProductService { 8 | //分页查询商品 9 | public List listProduct(Integer page); 10 | 11 | //查询商品的页数 12 | public Integer countProduct(); 13 | 14 | //保存商品 15 | public void saveProduct(Product product); 16 | 17 | //查找某个具体的商品 18 | public Product findProduct(Integer pid); 19 | 20 | //删除商品 21 | public void deleteProduct(Product product); 22 | 23 | //修改商品 24 | public void updateProduct(Product product); 25 | } 26 | -------------------------------------------------------------------------------- /src/main/java/com/shop/service/AdminService.java: -------------------------------------------------------------------------------- 1 | package com.shop.service; 2 | 3 | import com.shop.model.Admin; 4 | import com.shop.model.User; 5 | 6 | import java.util.List; 7 | 8 | public interface AdminService { 9 | 10 | public void updateUser(User user); 11 | 12 | public Admin checkUser(Admin admin); 13 | 14 | public void deleteUser(Integer uid); 15 | 16 | // 查询所有的用户 17 | public List findUser(Integer page); 18 | 19 | // 统计有多少页的用户 20 | public Integer countUser(); 21 | 22 | // 根据用户的uid查询用户信息 23 | public User findUserByUid(Integer uid); 24 | 25 | //根据管理员id查询管理员的信息 26 | public Admin findAdminByAid(Integer aid); 27 | } 28 | -------------------------------------------------------------------------------- /src/main/java/com/shop/service/CategoryService.java: -------------------------------------------------------------------------------- 1 | package com.shop.service; 2 | 3 | import com.shop.model.Category; 4 | 5 | import java.util.List; 6 | 7 | public interface CategoryService { 8 | 9 | public List getCategory(); 10 | 11 | } 12 | -------------------------------------------------------------------------------- /src/main/java/com/shop/service/OrderService.java: -------------------------------------------------------------------------------- 1 | package com.shop.service; 2 | 3 | import com.shop.model.Order; 4 | import com.shop.model.OrderItem; 5 | 6 | import java.util.List; 7 | 8 | public interface OrderService { 9 | 10 | // 业务层保存订单的方法 11 | public void save(Order order); 12 | 13 | // 业务层根据用户id查询订单,带分页查询. 14 | public List findByUid(Integer uid, Integer page); 15 | 16 | // 根据订单id查询订单 17 | public Order findByOid(Integer oid); 18 | 19 | // 业务层修改订单的方法: 20 | public void update(Order currOrder); 21 | 22 | // 业务层查询所有订单方法 23 | public List findAll(Integer page); 24 | 25 | // 业务层查询订单项的方法 26 | public List findOrderItem(Integer oid); 27 | 28 | public Integer findCountByUid(Integer uid); 29 | 30 | } -------------------------------------------------------------------------------- /src/main/java/com/shop/service/PacketService.java: -------------------------------------------------------------------------------- 1 | package com.shop.service; 2 | 3 | import com.shop.model.Packet; 4 | import org.springframework.transaction.annotation.Transactional; 5 | 6 | /** 7 | * Created by Joryun on 2016/11/30. 8 | */ 9 | 10 | public interface PacketService { 11 | 12 | //根据uid获取packet对象 13 | public Integer findPacketByUid(Integer uid); 14 | } 15 | -------------------------------------------------------------------------------- /src/main/java/com/shop/service/ProductService.java: -------------------------------------------------------------------------------- 1 | package com.shop.service; 2 | 3 | import com.shop.model.Product; 4 | 5 | import java.util.List; 6 | 7 | public interface ProductService { 8 | 9 | // 根据二级分类查询商品 10 | public List findByCsid(Integer csid, Integer page); 11 | 12 | // 根据一级分类查询商品 13 | public List findByCid(Integer cid, Integer page); 14 | 15 | // 查找最热的商品10条 16 | public List findHot(); 17 | 18 | // 查找最新的商品10条 19 | public List findNew(); 20 | 21 | // 根据商品的pid的值查询商品 22 | public Product findByPid(Integer pid); 23 | 24 | // 返回一级有多少页的数据 25 | public Integer CountPageProductFromCategory(Integer cid); 26 | 27 | // 返回二级分类下游多少的数据 28 | public Integer CountPageProductFromCategorySecond(Integer csid); 29 | 30 | // 更新商品的信息 31 | public void update(Product product); 32 | 33 | // 保存商品信息 34 | public void save(Product save); 35 | } -------------------------------------------------------------------------------- /src/main/java/com/shop/service/TicketService.java: -------------------------------------------------------------------------------- 1 | package com.shop.service; 2 | 3 | import com.shop.model.Product; 4 | import com.shop.model.Ticket; 5 | 6 | import java.util.List; 7 | 8 | /** 9 | * Created by Joryun on 2016/11/30. 10 | */ 11 | public interface TicketService { 12 | 13 | //根据cid获取ticket对象 14 | public Integer findTicketByCid(Integer cid); 15 | 16 | } 17 | -------------------------------------------------------------------------------- /src/main/java/com/shop/service/UserService.java: -------------------------------------------------------------------------------- 1 | package com.shop.service; 2 | 3 | import com.shop.model.User; 4 | 5 | public interface UserService { 6 | 7 | /** 8 | * 9 | * @param code 10 | * @return 11 | */ 12 | public User active(String code); 13 | 14 | /** 15 | * 通过用户名、密码查找用户 16 | * @param user 17 | * @return 18 | */ 19 | public User findUserByUsernameAndPassword(User user); 20 | 21 | /** 22 | * 根据用户名判断用户是否存在 23 | * @param userName 24 | * @return 25 | */ 26 | public User existUser(String userName); 27 | 28 | /** 29 | * 注册用户 30 | * 31 | * @param user 32 | */ 33 | public void register(User user); 34 | 35 | /** 36 | * 37 | * @param user 38 | */ 39 | public void update(User user); 40 | 41 | /** 42 | * 根据用户uid的值查询用户 43 | * 44 | * @param uid 45 | * @return 46 | */ 47 | public User findByUid(Integer uid); 48 | } -------------------------------------------------------------------------------- /src/main/java/com/shop/service/WalletService.java: -------------------------------------------------------------------------------- 1 | package com.shop.service; 2 | 3 | import com.shop.model.Wallet; 4 | 5 | public interface WalletService { 6 | 7 | public void update(Wallet wallet); 8 | } 9 | -------------------------------------------------------------------------------- /src/main/java/com/shop/service/impl/AdminCategorySecondServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.shop.service.impl; 2 | 3 | import com.shop.dao.CategorySecondDao; 4 | import com.shop.model.CategorySecond; 5 | import com.shop.service.AdminCategorySecondService; 6 | import org.springframework.stereotype.Service; 7 | import org.springframework.transaction.annotation.Transactional; 8 | 9 | import javax.annotation.Resource; 10 | import java.util.List; 11 | 12 | @Transactional 13 | @Service("adminCategorySecondService") 14 | public class AdminCategorySecondServiceImpl implements AdminCategorySecondService { 15 | 16 | @Resource 17 | private CategorySecondDao categorySecondDao; 18 | 19 | public void addCategorySecond(CategorySecond categorySecond) { 20 | categorySecondDao.save(categorySecond); 21 | } 22 | 23 | public void deleteCategorySecond(Integer csid) { 24 | categorySecondDao.delete(csid); 25 | } 26 | 27 | public void updateCategorySecond(CategorySecond categorySecond) { 28 | categorySecondDao.update(categorySecond); 29 | } 30 | 31 | public Integer countCategorySecond() { 32 | Integer count = categorySecondDao.countCategorySecond(); 33 | return (count % 15 == 0 ? (count / 15) : (count / 15 + 1)); 34 | } 35 | 36 | 37 | public CategorySecond findCategorySecond(Integer csid) { 38 | return categorySecondDao.findOne(csid); 39 | } 40 | 41 | public List listCategorySecond(Integer page) { 42 | return categorySecondDao.findAll(page); 43 | } 44 | 45 | public List listCategorySecond() { 46 | return categorySecondDao.findAll(); 47 | } 48 | 49 | } 50 | -------------------------------------------------------------------------------- /src/main/java/com/shop/service/impl/AdminCategoryServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.shop.service.impl; 2 | 3 | import com.shop.dao.CategoryDao; 4 | import com.shop.model.Category; 5 | import com.shop.service.AdminCategoryService; 6 | import org.springframework.stereotype.Service; 7 | import org.springframework.transaction.annotation.Transactional; 8 | 9 | import javax.annotation.Resource; 10 | import java.util.List; 11 | 12 | @Transactional 13 | @Service("adminCategoryService") 14 | public class AdminCategoryServiceImpl implements AdminCategoryService { 15 | 16 | @Resource 17 | private CategoryDao categoryDao; 18 | 19 | public void addCategory(Category category) { 20 | categoryDao.save(category); 21 | } 22 | 23 | public void deleteCategory(Integer cid) { 24 | categoryDao.delete(cid); 25 | } 26 | 27 | public void updateCategory(Category category) { 28 | categoryDao.update(category); 29 | } 30 | 31 | public Integer countCategory() { 32 | Integer count = categoryDao.countCategory(); 33 | return (count % 10 == 0 ? (count / 10) : (count / 10 + 1)); 34 | } 35 | 36 | public Category findCategory(Integer cid) { 37 | return categoryDao.findOne(cid); 38 | } 39 | 40 | public List findCategory() { 41 | return categoryDao.findAll(); 42 | } 43 | 44 | public List listCategory(Integer page) { 45 | return categoryDao.findAll(page); 46 | } 47 | 48 | } 49 | -------------------------------------------------------------------------------- /src/main/java/com/shop/service/impl/AdminOrderServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.shop.service.impl; 2 | 3 | import com.shop.dao.OrderDao; 4 | import com.shop.model.Order; 5 | import com.shop.service.AdminOrderService; 6 | import org.springframework.stereotype.Service; 7 | import org.springframework.transaction.annotation.Transactional; 8 | 9 | import javax.annotation.Resource; 10 | import java.util.List; 11 | 12 | @Transactional 13 | @Service("adminOrderService") 14 | public class AdminOrderServiceImpl implements AdminOrderService { 15 | 16 | @Resource 17 | private OrderDao orderDao; 18 | 19 | public Integer countOrder() { 20 | Integer count = orderDao.findCount(); 21 | return (count % 10 == 0 ? (count / 10) : (count / 10 + 1)); 22 | } 23 | 24 | public Order findOrder(Integer oid) { 25 | return orderDao.findByOid(oid); 26 | } 27 | 28 | public List listOrder(Integer page, Integer rows) { 29 | return orderDao.findByPage(page, rows); 30 | } 31 | 32 | public void saveOrUpdateOrder(Order order) { 33 | orderDao.saveOrUpdate(order); 34 | } 35 | 36 | public void deleteOrder(Order order) { 37 | orderDao.delete(order); 38 | } 39 | 40 | } 41 | -------------------------------------------------------------------------------- /src/main/java/com/shop/service/impl/AdminProductServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.shop.service.impl; 2 | 3 | import com.shop.dao.ProductDao; 4 | import com.shop.model.Product; 5 | import com.shop.service.AdminProductService; 6 | import org.springframework.stereotype.Service; 7 | import org.springframework.transaction.annotation.Transactional; 8 | 9 | import javax.annotation.Resource; 10 | import java.util.List; 11 | 12 | @Transactional 13 | @Service("adminProductService") 14 | public class AdminProductServiceImpl implements AdminProductService { 15 | 16 | @Resource 17 | private ProductDao productDao; 18 | 19 | public Integer countProduct() { 20 | Integer count = productDao.CountProduct(); 21 | return (count % 8 == 0 ? (count / 8) : (count / 8 + 1)); 22 | } 23 | 24 | public void deleteProduct(Product product) { 25 | productDao.delete(product); 26 | } 27 | 28 | public Product findProduct(Integer pid) { 29 | return productDao.findOne(pid); 30 | } 31 | 32 | public List listProduct(Integer page) { 33 | return productDao.findAll(page); 34 | } 35 | 36 | public void saveProduct(Product product) { 37 | productDao.save(product); 38 | } 39 | 40 | public void updateProduct(Product product) { 41 | productDao.update(product); 42 | } 43 | 44 | } 45 | -------------------------------------------------------------------------------- /src/main/java/com/shop/service/impl/AdminServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.shop.service.impl; 2 | 3 | import com.shop.dao.AdminDao; 4 | import com.shop.dao.UserDao; 5 | import com.shop.model.Admin; 6 | import com.shop.model.User; 7 | import com.shop.service.AdminService; 8 | import org.springframework.stereotype.Service; 9 | import org.springframework.transaction.annotation.Transactional; 10 | 11 | import javax.annotation.Resource; 12 | import java.util.List; 13 | 14 | @Transactional 15 | @Service("adminService") 16 | public class AdminServiceImpl implements AdminService { 17 | 18 | @Resource 19 | private AdminDao adminDao; 20 | @Resource 21 | private UserDao userDao; 22 | 23 | //更新用户 24 | public void updateUser(User user) { 25 | userDao.update(user); 26 | } 27 | 28 | // 根據用戶名和密碼查詢 29 | public Admin checkUser(Admin adminUser) { 30 | return adminDao.findByAdminnameAndPassword( 31 | adminUser.getUsername(), adminUser.getPassword()); 32 | } 33 | 34 | // 根据用户的uid删除用户 35 | public void deleteUser(Integer uid) { 36 | userDao.delete(uid); 37 | } 38 | 39 | // 查询所有的用户 40 | public List findUser(Integer page) { 41 | return userDao.findAll(page); 42 | } 43 | 44 | // 统计有多少页的用户 45 | public Integer countUser() { 46 | Integer count = userDao.countUser(); 47 | return (count % 20 == 0 ? (count / 20) : (count / 20 + 1)); 48 | } 49 | 50 | // 根据用户的uid查询用户信息 51 | public User findUserByUid(Integer uid) { 52 | return userDao.findOne(uid); 53 | } 54 | 55 | // 根据管理员的aid查询管理员信息 56 | public Admin findAdminByAid(Integer aid) { 57 | 58 | return adminDao.findOne(aid); 59 | } 60 | } 61 | -------------------------------------------------------------------------------- /src/main/java/com/shop/service/impl/CategoryServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.shop.service.impl; 2 | 3 | import com.shop.dao.CategoryDao; 4 | import com.shop.model.Category; 5 | import com.shop.service.CategoryService; 6 | import org.springframework.stereotype.Service; 7 | import org.springframework.transaction.annotation.Transactional; 8 | 9 | import javax.annotation.Resource; 10 | import java.util.List; 11 | 12 | @Transactional 13 | @Service("categoryService") 14 | public class CategoryServiceImpl implements CategoryService { 15 | 16 | @Resource 17 | private CategoryDao categoryDao; 18 | 19 | public List getCategory() { 20 | return categoryDao.findAll(); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /src/main/java/com/shop/service/impl/OrderServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.shop.service.impl; 2 | 3 | import com.shop.dao.OrderDao; 4 | import com.shop.model.Order; 5 | import com.shop.model.OrderItem; 6 | import com.shop.service.OrderService; 7 | import org.springframework.stereotype.Service; 8 | import org.springframework.transaction.annotation.Transactional; 9 | 10 | import javax.annotation.Resource; 11 | import java.util.List; 12 | 13 | @Transactional 14 | @Service("orderService") 15 | public class OrderServiceImpl implements OrderService { 16 | 17 | @Resource 18 | private OrderDao orderDao; 19 | 20 | public Order findByOid(Integer oid) { 21 | return orderDao.findByOid(oid); 22 | } 23 | 24 | public List findAll(Integer page) { 25 | int rows = 10; 26 | return orderDao.findByPage(page, rows); 27 | } 28 | 29 | 30 | public List findByUid(Integer uid, Integer page) { 31 | int rows = 10; 32 | return orderDao.findPageByUid(uid, page, rows); 33 | } 34 | 35 | 36 | public List findOrderItem(Integer oid) { 37 | return orderDao.findOrderItem(oid); 38 | } 39 | 40 | 41 | public void save(Order order) { 42 | orderDao.save(order); 43 | 44 | } 45 | 46 | 47 | public void update(Order order) { 48 | orderDao.update(order); 49 | 50 | } 51 | 52 | public Integer findCountByUid(Integer uid) { 53 | Integer count = orderDao.findCountByUid(uid); 54 | return (count % 5 == 0 ? (count / 5) : (count / 5 + 1)); 55 | } 56 | 57 | 58 | } 59 | -------------------------------------------------------------------------------- /src/main/java/com/shop/service/impl/PacketServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.shop.service.impl; 2 | 3 | import com.shop.dao.PacketDao; 4 | import com.shop.model.Packet; 5 | import com.shop.service.PacketService; 6 | import org.springframework.stereotype.Service; 7 | import org.springframework.transaction.annotation.Transactional; 8 | 9 | import javax.annotation.Resource; 10 | 11 | /** 12 | * Created by Joryun on 2016/11/30. 13 | */ 14 | 15 | @Transactional 16 | @Service("packetService") 17 | public class PacketServiceImpl implements PacketService { 18 | 19 | @Resource 20 | private PacketDao packetDao; 21 | 22 | public Integer findPacketByUid(Integer uid) { 23 | return packetDao.findByUid(uid); 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /src/main/java/com/shop/service/impl/ProductServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.shop.service.impl; 2 | 3 | import com.shop.dao.ProductDao; 4 | import com.shop.model.Product; 5 | import com.shop.service.ProductService; 6 | import org.springframework.stereotype.Service; 7 | import org.springframework.transaction.annotation.Transactional; 8 | 9 | import javax.annotation.Resource; 10 | import java.util.List; 11 | 12 | @Transactional 13 | @Service("productService") 14 | public class ProductServiceImpl implements ProductService { 15 | 16 | @Resource 17 | private ProductDao productDao; 18 | 19 | public Integer CountPageProductFromCategory(Integer cid) { 20 | Integer count = productDao.CountPageProductFromCategory(cid); 21 | return (count % 12 == 0 ? (count / 12) : (count / 12 + 1)); 22 | } 23 | 24 | public Integer CountPageProductFromCategorySecond(Integer csid) { 25 | Integer count = productDao.CountPageProductFromCategorySecond(csid); 26 | return (count % 12 == 0 ? (count / 12) : (count / 12 + 1)); 27 | } 28 | 29 | public List findByCid(Integer cid, Integer page) { 30 | return productDao.findByCategorySecondCategoryCid(cid, page); 31 | } 32 | 33 | public List findByCsid(Integer csid, Integer page) { 34 | return productDao.findByCategorySecondCsid(csid, page); 35 | } 36 | 37 | public Product findByPid(Integer pid) { 38 | return productDao.findOne(pid); 39 | } 40 | 41 | public List findHot() { 42 | return productDao.findHot(); 43 | } 44 | 45 | public List findNew() { 46 | return productDao.findNew(); 47 | } 48 | 49 | public void update(Product product) { 50 | productDao.update(product); 51 | } 52 | 53 | public void save(Product save) { 54 | productDao.save(save); 55 | } 56 | 57 | } 58 | -------------------------------------------------------------------------------- /src/main/java/com/shop/service/impl/TicketServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.shop.service.impl; 2 | 3 | import com.shop.dao.TicketDao; 4 | import com.shop.model.Product; 5 | import com.shop.model.Ticket; 6 | import com.shop.service.TicketService; 7 | import org.springframework.stereotype.Service; 8 | import org.springframework.transaction.annotation.Transactional; 9 | 10 | import javax.annotation.Resource; 11 | import java.util.List; 12 | 13 | /** 14 | * Created by Joryun on 2016/11/30. 15 | */ 16 | 17 | @Transactional 18 | @Service("ticketService") 19 | public class TicketServiceImpl implements TicketService { 20 | 21 | @Resource 22 | private TicketDao ticketDao; 23 | 24 | 25 | public Integer findTicketByCid(Integer cid) { 26 | return ticketDao.findTicketByCid(cid); 27 | // return ticketDao.get(cid); 28 | } 29 | 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/com/shop/service/impl/UserServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.shop.service.impl; 2 | 3 | import com.shop.dao.UserDao; 4 | import com.shop.model.User; 5 | import com.shop.service.UserService; 6 | import com.shop.utils.MailUitls; 7 | import com.shop.utils.UUIDUtils; 8 | import org.springframework.stereotype.Service; 9 | import org.springframework.transaction.annotation.Transactional; 10 | 11 | import javax.annotation.Resource; 12 | 13 | @Transactional 14 | @Service("userService") 15 | public class UserServiceImpl implements UserService { 16 | 17 | @Resource 18 | private UserDao userDao; 19 | 20 | public User active(String code) { 21 | return userDao.findByCode(code); 22 | } 23 | 24 | public User findUserByUsernameAndPassword(User user) { 25 | return userDao.findByUsernameAndPassword(user.getUsername(), user.getPassword()); 26 | } 27 | 28 | public User existUser(String userName) { 29 | return userDao.findByUsername(userName); 30 | } 31 | 32 | public void register(User user) { 33 | user.setState(1); 34 | String code = UUIDUtils.getUUID() + UUIDUtils.getUUID(); 35 | user.setCode(code); 36 | userDao.save(user); 37 | //发送激活邮件 38 | MailUitls.sendMail(user.getEmail(), code); 39 | } 40 | 41 | public void update(User user) { 42 | userDao.update(user); 43 | 44 | } 45 | 46 | public User findByUid(Integer uid) { 47 | return userDao.findOne(uid); 48 | } 49 | 50 | } -------------------------------------------------------------------------------- /src/main/java/com/shop/service/impl/WalletServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.shop.service.impl; 2 | 3 | import com.shop.dao.WalletDao; 4 | import com.shop.model.Wallet; 5 | import com.shop.service.WalletService; 6 | import org.springframework.stereotype.Service; 7 | import org.springframework.transaction.annotation.Transactional; 8 | 9 | import javax.annotation.Resource; 10 | 11 | @Transactional 12 | @Service("walletService") 13 | public class WalletServiceImpl implements WalletService { 14 | @Resource 15 | private WalletDao walletDao; 16 | 17 | //修改电子钱包的值 18 | public void update(Wallet wallet) { 19 | walletDao.update(wallet); 20 | } 21 | 22 | } 23 | -------------------------------------------------------------------------------- /src/main/java/com/shop/utils/MailUitls.java: -------------------------------------------------------------------------------- 1 | package com.shop.utils; 2 | 3 | import javax.mail.*; 4 | import javax.mail.Message.RecipientType; 5 | import javax.mail.internet.AddressException; 6 | import javax.mail.internet.InternetAddress; 7 | import javax.mail.internet.MimeMessage; 8 | import java.util.Properties; 9 | 10 | /** 11 | * 邮件发送工具类 12 | */ 13 | public class MailUitls { 14 | /** 15 | * 发送邮件的方法 16 | * 17 | * @param to :收件人 18 | * @param code :激活码 19 | */ 20 | public static void sendMail(String to, String code) { 21 | /** 22 | * 1.获得一个Session对象. 23 | * 2.创建一个代表邮件的对象Message. 24 | * 3.发送邮件Transport 25 | */ 26 | // 1.获得连接对象 27 | Properties props = new Properties(); 28 | //设置发送邮件的主机 29 | props.setProperty("mail.host", "localhost"); 30 | Session session = Session.getInstance(props, new Authenticator() { 31 | @Override 32 | protected PasswordAuthentication getPasswordAuthentication() { 33 | //使用那个发邮件 34 | return new PasswordAuthentication("service@shop.com", "service"); 35 | } 36 | }); 37 | 38 | // 2.创建邮件对象: 39 | Message message = new MimeMessage(session); 40 | 41 | try { 42 | // 设置发件人: 43 | message.setFrom(new InternetAddress("service@shop.com")); 44 | // 设置收件人: 45 | message.addRecipient(RecipientType.TO, new InternetAddress(to)); 46 | // 抄送 CC 密送BCC 47 | // 设置标题 48 | message.setSubject("来自购物天堂官方激活邮件"); 49 | // 设置邮件正文: 50 | message.setContent 51 | ("

购物天堂官方激活邮件!点下面链接完成激活操作!

http://localhost:8080/eShop" + 53 | "/active/" + code + "", "text/html;charset=UTF-8"); 54 | // 3.发送邮件: 55 | Transport.send(message); 56 | } catch (AddressException e) { 57 | e.printStackTrace(); 58 | } catch (MessagingException e) { 59 | e.printStackTrace(); 60 | } 61 | 62 | } 63 | 64 | public static void main(String[] args) { 65 | sendMail("aaa@shop.com", "11111111111111"); 66 | } 67 | } 68 | -------------------------------------------------------------------------------- /src/main/java/com/shop/utils/UUIDUtils.java: -------------------------------------------------------------------------------- 1 | package com.shop.utils; 2 | 3 | import java.util.UUID; 4 | 5 | /** 6 | * 生成随机字符串的工具类 7 | */ 8 | 9 | public class UUIDUtils { 10 | /** 11 | * 获得随机的字符串 12 | * 13 | * @return 14 | */ 15 | public static String getUUID() { 16 | return UUID.randomUUID().toString().replace("-", ""); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/main/resources/db.properties: -------------------------------------------------------------------------------- 1 | jdbc.user=root 2 | 3 | jdbc.password=666666 4 | 5 | jdbc.driverClass=com.mysql.jdbc.Driver 6 | 7 | jdbc.jdbcUrl=jdbc:mysql://localhost:3306/yshop?useUnicode=true&characterEncoding=UTF-8 8 | -------------------------------------------------------------------------------- /src/main/resources/log4j.properties: -------------------------------------------------------------------------------- 1 | ### direct log messages to stdout ### 2 | log4j.appender.stdout=org.apache.log4j.ConsoleAppender 3 | log4j.appender.stdout.Target=System.out 4 | log4j.appender.stdout.layout=org.apache.log4j.PatternLayout 5 | log4j.appender.stdout.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n 6 | 7 | ### direct messages to file mylog.log ### 8 | log4j.appender.file=org.apache.log4j.FileAppender 9 | log4j.appender.file.File=/Users/joryun/myJava/IdeaProject/smylog.log 10 | log4j.appender.file.layout=org.apache.log4j.PatternLayout 11 | log4j.appender.file.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n 12 | 13 | ### set log levels - for more verbose logging change 'info' to 'debug' ### 14 | 15 | log4j.rootLogger=info, stdout 16 | -------------------------------------------------------------------------------- /src/main/resources/spring-service.xml: -------------------------------------------------------------------------------- 1 | 2 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /src/main/resources/spring-web.xml: -------------------------------------------------------------------------------- 1 | 2 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | -------------------------------------------------------------------------------- /src/main/webapp/WEB-INF/jsp/admin/bottom.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" pageEncoding="UTF-8"%> 2 | 3 | 4 | 5 | 6 | 11 | 12 | 13 | 14 | 15 | 20 | 21 |
商城管理平台       
16 | 17 | 18 |
19 | ��
22 | 23 | -------------------------------------------------------------------------------- /src/main/webapp/WEB-INF/jsp/admin/category/add.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" pageEncoding="UTF-8"%> 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |   12 | 13 | 14 | 19 | 20 | 21 | 24 | 27 | 28 | 29 | 30 | 43 | 44 |
16 | 添加一级分类 17 | 18 |
22 | 一级分类名称: 23 | 25 | 26 |
32 | 35 | 36 |         37 | 38 | 39 |         40 | 41 | 42 |
45 |
46 | 47 | -------------------------------------------------------------------------------- /src/main/webapp/WEB-INF/jsp/admin/category/edit.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" pageEncoding="UTF-8"%> 2 | <%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%> 3 | 4 | 5 | 6 | 7 | 8 | 10 | 11 | 12 | 14 |   15 | 17 | 18 | 20 | 21 | 22 | 24 | 26 | 27 | 28 | 29 | 39 | 40 |
编辑一级分类
23 | 一级分类名称:
31 |         33 | 34 | 35 |         37 | 38 |
41 |
42 | 43 | -------------------------------------------------------------------------------- /src/main/webapp/WEB-INF/jsp/admin/categorysecond/add.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" pageEncoding="UTF-8"%> 2 | <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |   12 | 13 | 14 | 19 | 20 | 21 | 24 | 27 | 30 | 37 | 38 | 39 | 40 | 53 | 54 |
16 | 添加二级分类 17 | 18 |
22 | 二级分类名称: 23 | 25 | 26 | 28 | 所属的一级分类: 29 | 31 | 36 |
42 | 45 | 46 |         47 | 48 | 49 |         50 | 51 | 52 |
55 |
56 | 57 | -------------------------------------------------------------------------------- /src/main/webapp/WEB-INF/jsp/admin/categorysecond/edit.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" pageEncoding="UTF-8"%> 2 | <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 |   14 | 15 | 16 | 21 | 22 | 23 | 24 | 27 | 30 | 33 | 42 | 43 | 44 | 45 | 58 | 59 |
18 | 编辑二级分类 19 | 20 |
25 | 二级分类名称: 26 | 28 | " id="userAction_save_do_logonName" class="bg"/> 29 | 31 | 所属的一级分类: 32 | 34 | 41 |
47 | 50 | 51 |         52 | 53 | 54 |         55 | 56 | 57 |
60 |
61 | 62 | -------------------------------------------------------------------------------- /src/main/webapp/WEB-INF/jsp/admin/home.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" pageEncoding="UTF-8"%> 2 | 3 | 4 | 5 | 6 | 网上商城管理中心 7 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /src/main/webapp/WEB-INF/jsp/admin/index.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" contentType="text/html; charset=UTF-8" 2 | pageEncoding="UTF-8"%> 3 | 4 | 5 | 6 | 网上商城管理中心 7 | 8 | 10 | 12 | 13 | 18 | 19 | 20 |
23 | 25 | 26 | 42 | 43 |
27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 |
管理员姓名:
管理员密码:
 
41 |
44 | 45 |
46 | -------------------------------------------------------------------------------- /src/main/webapp/WEB-INF/jsp/admin/left.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" pageEncoding="UTF-8"%> 2 | 3 | 4 | 5 | 菜单 6 | 8 | 10 | 12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 72 | 73 |
22 |
23 | 展开所有 | 关闭所有 25 | 70 |
71 |
74 | 75 | 76 | -------------------------------------------------------------------------------- /src/main/webapp/WEB-INF/jsp/admin/order/orderItem.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" contentType="text/html; charset=UTF-8" 2 | pageEncoding="UTF-8"%> 3 | <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> 4 | 5 | 6 | 7 | 9 | 10 | 11 | 12 | 13 | 14 |
">
-------------------------------------------------------------------------------- /src/main/webapp/WEB-INF/jsp/admin/user/edit.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" pageEncoding="UTF-8"%> 2 | <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> 3 | <%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%> 4 | 5 | 6 | 7 | 8 | 10 | 11 | 12 | 13 | 16 | 18 | 19 | 21 | 22 | 23 | 24 | 25 | 26 | 28 | 30 | 32 | 34 | 35 | 36 | 38 | 40 | 42 | 44 | 45 | 46 | 48 | 50 | 52 | 54 | 55 | 56 | 57 | 66 | 67 |
编辑用户
27 | 用户名称: 31 | 密码:
37 | 真实姓名: 41 | 邮箱:
47 | 电话: 51 | 地址:
59 |         61 | 62 |         64 | 65 |
68 |
69 | 70 | -------------------------------------------------------------------------------- /src/main/webapp/WEB-INF/jsp/admin/welcome.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" pageEncoding="UTF-8"%> 2 | 3 | 4 | 5 | 6 | 8 | 23 | 34 | 35 | 36 | 37 |
38 | 39 | 41 | 42 | 43 | 44 | 45 | 47 | 48 | 49 | 50 | 51 |
系统首页
登录成功!
52 |
53 | 54 | -------------------------------------------------------------------------------- /src/main/webapp/WEB-INF/jsp/menu.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" contentType="text/html; charset=UTF-8" 2 | pageEncoding="UTF-8" %> 3 | <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> 4 | 5 |
6 |
7 |
    8 | 9 | 10 |
  • 11 | 登录| 12 |
  • 13 |
  • 15 | 注册| 16 |
  • 17 |
    18 | 19 | 20 | 21 |
  • 22 | 23 |
  • 24 |
  • 25 | 我的订单 26 | | 27 |
  • 28 |
  • 30 | 退出| 31 |
  • 32 |
    33 | 34 |
35 |
36 | 37 |
38 | 购物车 39 |
40 | 41 |
42 | 43 |
44 | 55 |
-------------------------------------------------------------------------------- /src/main/webapp/WEB-INF/jsp/msg.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" contentType="text/html; charset=UTF-8" 2 | pageEncoding="UTF-8" %> 3 | <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> 4 | 5 | 6 | 7 | 8 | Insert title here 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 46 | 47 |
18 | 19 | 20 | 23 | 43 | 44 |
24 | 25 | 26 | 27 | 激活失败,无此用户! 28 | 29 | 30 | 激活成功,请登录 31 | 32 | 33 | 您还没有登陆,请先登录 34 | 35 | 36 | 37 |
38 |
39 | 首页 40 | 注册 41 | 登录 42 |
45 |

 

48 |
49 | 50 | 51 | -------------------------------------------------------------------------------- /src/main/webapp/WEB-INF/web.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | Shop 8 | 9 | 10 | contextConfigLocation 11 | classpath:spring-*.xml 12 | 13 | 14 | 15 | 16 | org.springframework.web.context.ContextLoaderListener 17 | 18 | 19 | 20 | 21 | CharacterEncodingFilter 22 | org.springframework.web.filter.CharacterEncodingFilter 23 | 24 | encoding 25 | UTF-8 26 | 27 | 28 | 29 | CharacterEncodingFilter 30 | /* 31 | 32 | 33 | 34 | 35 | HiddenHttpMethodFilter 36 | org.springframework.web.filter.HiddenHttpMethodFilter 37 | 38 | 39 | HiddenHttpMethodFilter 40 | /* 41 | 42 | 43 | 44 | 45 | springMVC 46 | org.springframework.web.servlet.DispatcherServlet 47 | 48 | contextConfigLocation 49 | classpath*:spring-web.xml 50 | 51 | 1 52 | 53 | 54 | springMVC 55 | / 56 | 57 | 58 | 59 | index.jsp 60 | 61 | 62 | 63 | -------------------------------------------------------------------------------- /src/main/webapp/bank_img/abc.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/bank_img/abc.bmp -------------------------------------------------------------------------------- /src/main/webapp/bank_img/bc.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/bank_img/bc.bmp -------------------------------------------------------------------------------- /src/main/webapp/bank_img/bcc.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/bank_img/bcc.bmp -------------------------------------------------------------------------------- /src/main/webapp/bank_img/beijingnongshang.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/bank_img/beijingnongshang.bmp -------------------------------------------------------------------------------- /src/main/webapp/bank_img/bh.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/bank_img/bh.bmp -------------------------------------------------------------------------------- /src/main/webapp/bank_img/bj.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/bank_img/bj.bmp -------------------------------------------------------------------------------- /src/main/webapp/bank_img/ccb.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/bank_img/ccb.bmp -------------------------------------------------------------------------------- /src/main/webapp/bank_img/cib.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/bank_img/cib.bmp -------------------------------------------------------------------------------- /src/main/webapp/bank_img/cmb.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/bank_img/cmb.bmp -------------------------------------------------------------------------------- /src/main/webapp/bank_img/cmbc.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/bank_img/cmbc.bmp -------------------------------------------------------------------------------- /src/main/webapp/bank_img/dy.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/bank_img/dy.bmp -------------------------------------------------------------------------------- /src/main/webapp/bank_img/gf.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/bank_img/gf.bmp -------------------------------------------------------------------------------- /src/main/webapp/bank_img/guangda.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/bank_img/guangda.bmp -------------------------------------------------------------------------------- /src/main/webapp/bank_img/hx.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/bank_img/hx.bmp -------------------------------------------------------------------------------- /src/main/webapp/bank_img/icbc.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/bank_img/icbc.bmp -------------------------------------------------------------------------------- /src/main/webapp/bank_img/nanjing.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/bank_img/nanjing.bmp -------------------------------------------------------------------------------- /src/main/webapp/bank_img/ningbo.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/bank_img/ningbo.bmp -------------------------------------------------------------------------------- /src/main/webapp/bank_img/pingan.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/bank_img/pingan.bmp -------------------------------------------------------------------------------- /src/main/webapp/bank_img/post.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/bank_img/post.bmp -------------------------------------------------------------------------------- /src/main/webapp/bank_img/sfz.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/bank_img/sfz.bmp -------------------------------------------------------------------------------- /src/main/webapp/bank_img/sh.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/bank_img/sh.bmp -------------------------------------------------------------------------------- /src/main/webapp/bank_img/shpd.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/bank_img/shpd.bmp -------------------------------------------------------------------------------- /src/main/webapp/bank_img/zheshang.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/bank_img/zheshang.bmp -------------------------------------------------------------------------------- /src/main/webapp/bank_img/zx.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/bank_img/zx.bmp -------------------------------------------------------------------------------- /src/main/webapp/css/WdatePicker.css: -------------------------------------------------------------------------------- 1 | .Wdate { 2 | border: #999 1px solid; 3 | height: 20px; 4 | background: #fff url(datePicker.gif) no-repeat right; 5 | } 6 | 7 | .WdateFmtErr { 8 | font-weight: bold; 9 | color: red; 10 | } -------------------------------------------------------------------------------- /src/main/webapp/css/dtree.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/css/dtree.css -------------------------------------------------------------------------------- /src/main/webapp/css/left.css: -------------------------------------------------------------------------------- 1 | body {background-color: #E6E6E6;margin: 0px;text-align:left;} 2 | td {font-size:12px;color:#303030;line-height:20px;} 3 | a:link,a:visited {color:#012F68;text-decoration: none;} 4 | a:hover {color: #406EA8;text-decoration:none} 5 | -------------------------------------------------------------------------------- /src/main/webapp/css/login.css: -------------------------------------------------------------------------------- 1 | @charset "utf-8"; 2 | 3 | /* 4 | * Copyright 2005-2013 dhcc.com.cn. All rights reserved. 5 | * Support: http://www.dhcc.com.cn 6 | * License: http://www.dhcc.com.cn/license 7 | * 8 | * Style - Login 9 | * Version: 3.0 10 | */ 11 | 12 | /* ---------- Login ---------- */ 13 | 14 | div.login .wrap { 15 | margin-bottom: 10px; 16 | border: 2px solid #f2f2f2; 17 | } 18 | 19 | div.login .main { 20 | border: 1px solid #d7d7d7; 21 | } 22 | 23 | div.login .title { 24 | height: 40px; 25 | line-height: 40px; 26 | color: #d8d8d8; 27 | font-family: "Microsoft YaHei"; 28 | border-bottom: 1px dotted #ededed; 29 | } 30 | 31 | div.login .title strong { 32 | padding: 0px 10px; 33 | color: #3164af; 34 | font-size: 18px; 35 | font-weight: normal; 36 | } 37 | 38 | div.login table { 39 | width: 100%; 40 | margin-top: 10px; 41 | } 42 | 43 | div.login th { 44 | width: 90px; 45 | padding: 12px; 46 | font-weight: normal; 47 | text-align: right; 48 | } 49 | 50 | div.login .captcha { 51 | width: 130px; 52 | text-transform: uppercase; 53 | ime-mode: disabled; 54 | } 55 | 56 | div.login .captchaImage { 57 | margin-left: 10px; 58 | vertical-align: middle; 59 | cursor: pointer; 60 | } 61 | 62 | div.login .submit { 63 | width: 100px; 64 | height: 35px; 65 | line-height: 35px; 66 | margin-bottom: 10px; 67 | color: #ffffff; 68 | cursor: pointer; 69 | outline: none; 70 | blr: expression(this.hideFocus = true); 71 | border: none; 72 | background: url(../images/login.gif) 0px 0px no-repeat; 73 | } 74 | 75 | div.login .register { 76 | background-color: #f3f3f3; 77 | } 78 | 79 | div.login .register dt { 80 | line-height: 40px; 81 | color: #cc062d; 82 | font-size: 18px; 83 | font-family: "Microsoft YaHei"; 84 | } 85 | 86 | div.login .register dd { 87 | line-height: 30px; 88 | color: #565656 89 | } 90 | 91 | div.login .register dd a { 92 | color: #3164af 93 | } -------------------------------------------------------------------------------- /src/main/webapp/css/register.css: -------------------------------------------------------------------------------- 1 | @charset "utf-8"; 2 | 3 | /* 4 | * Copyright 2005-2013 dhcc.com.cn. All rights reserved. 5 | * Support: http://www.dhcc.com.cn 6 | * License: http://www.dhcc.com.cn/license 7 | * 8 | * Style - Register 9 | * Version: 3.0 10 | */ 11 | 12 | /* ---------- Register ---------- */ 13 | 14 | div.register .wrap { 15 | margin-bottom: 10px; 16 | border: 2px solid #f2f2f2; 17 | } 18 | 19 | div.register .main { 20 | padding-bottom: 20px; 21 | border: 1px solid #d7d7d7; 22 | } 23 | 24 | div.register .title { 25 | height: 40px; 26 | line-height: 40px; 27 | color: #d8d8d8; 28 | font-family: "Microsoft YaHei"; 29 | border-bottom: 1px dotted #ededed; 30 | } 31 | 32 | div.register .title strong { 33 | padding: 0px 10px; 34 | color: #3164af; 35 | font-size: 18px; 36 | font-weight: normal; 37 | } 38 | 39 | div.register table { 40 | width: 640px; 41 | float: left; 42 | margin-top: 20px; 43 | } 44 | 45 | div.register th { 46 | width: 80px; 47 | padding: 12px; 48 | font-weight: normal; 49 | text-align: right; 50 | } 51 | 52 | div.register .captcha { 53 | width: 130px; 54 | text-transform: uppercase; 55 | ime-mode: disabled; 56 | } 57 | 58 | div.register .captchaImage { 59 | margin-left: 10px; 60 | vertical-align: middle; 61 | cursor: pointer; 62 | } 63 | 64 | div.register .submit { 65 | width: 142px; 66 | height: 37px; 67 | line-height: 37px; 68 | margin-top: 10px; 69 | color: #ffffff; 70 | cursor: pointer; 71 | outline: none; 72 | blr: expression(this.hideFocus = true); 73 | border: none; 74 | background: url(../images/register.gif) 0px 0px no-repeat; 75 | } 76 | 77 | div.register .agreement { 78 | height: 96px; 79 | line-height: 24px; 80 | padding: 0px 4px; 81 | color: #999999; 82 | overflow-y: scroll; 83 | border: 1px solid #e6e6e6; 84 | } 85 | 86 | div.register .login { 87 | width: 260px; 88 | float: right; 89 | padding: 20px; 90 | border-bottom: 2px solid #f2f2f2; 91 | border-left: 2px solid #f2f2f2; 92 | background-color: #fff8db; 93 | } 94 | 95 | div.register .login dt { 96 | line-height: 40px; 97 | color: #bd5613; 98 | font-size: 16px; 99 | font-family: "Microsoft YaHei"; 100 | } 101 | 102 | div.register .login dd { 103 | line-height: 28px; 104 | color: #565656 105 | } 106 | 107 | div.register .login dd a { 108 | color: #bd5613 109 | } -------------------------------------------------------------------------------- /src/main/webapp/css/slider.css: -------------------------------------------------------------------------------- 1 | @charset "utf-8"; 2 | 3 | .nivoSlider { 4 | position: relative; 5 | background: #fff url(loading.gif) no-repeat 50% 50%; 6 | } 7 | 8 | .nivoSlider img { 9 | position: absolute; 10 | top: 0px; 11 | left: 0px; 12 | display: none; 13 | } 14 | 15 | .nivoSlider a { 16 | display: block; 17 | } 18 | 19 | a.nivo-imageLink { 20 | width: 100%; 21 | height: 100%; 22 | display: none; 23 | position: absolute; 24 | top: 0px; 25 | left: 0px; 26 | z-index: 6; 27 | } 28 | 29 | .nivo-slice { 30 | height: 100%; 31 | display: block; 32 | position: absolute; 33 | z-index: 5; 34 | } 35 | 36 | .nivo-box { 37 | display: block; 38 | position: absolute; 39 | z-index: 5; 40 | } 41 | 42 | .nivo-controlNav a { 43 | position: relative; 44 | z-index: 9; 45 | cursor: pointer; 46 | } 47 | 48 | .nivo-controlNav a.active { 49 | font-weight: bold; 50 | } 51 | 52 | .nivo-controlNav { 53 | position: absolute; 54 | right: 3px; 55 | bottom: 7px; 56 | } 57 | 58 | .nivo-controlNav a { 59 | width: 24px; 60 | height: 10px; 61 | display: block; 62 | float: left; 63 | margin-right: 4px; 64 | overflow: hidden; 65 | text-indent: -9999px; 66 | filter: alpha(opacity = 60); 67 | -moz-opacity: 0.6; 68 | opacity: 0.6; 69 | background-color: #000000; 70 | } 71 | 72 | .nivo-controlNav a.active { 73 | background-color: #ffffff; 74 | } 75 | 76 | .nivo-directionNav a { 77 | width: 45px; 78 | height: 99px; 79 | display: block; 80 | position: absolute; 81 | top: 30%; 82 | z-index: 9; 83 | cursor: pointer; 84 | text-indent: -9999px; 85 | filter: alpha(opacity = 30); 86 | -moz-opacity: 0.3; 87 | opacity: 0.3; 88 | background: url(arrows.gif) no-repeat; 89 | } 90 | 91 | a.nivo-prevNav { 92 | left: 0px; 93 | } 94 | 95 | a.nivo-nextNav { 96 | right: 0px; 97 | background-position: -46px 0px; 98 | } 99 | 100 | .nivo-caption { 101 | width: 100%; 102 | position: absolute; 103 | left: 0px; 104 | bottom: 0px; 105 | color: #ffffff; 106 | font-family: Helvetica, Arial, sans-serif; 107 | opacity: 0.4; 108 | z-index: 8; 109 | background: #000000; 110 | } 111 | 112 | .nivo-caption a { 113 | color: #fff; 114 | display: inline !important; 115 | border-bottom: 1px dotted #fff; 116 | } 117 | 118 | .nivo-caption a:hover { 119 | color: #fff; 120 | } 121 | 122 | .nivo-caption p { 123 | padding: 5px; 124 | } 125 | 126 | .nivo-html-caption { 127 | display: none; 128 | } -------------------------------------------------------------------------------- /src/main/webapp/image/adidas.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/image/adidas.gif -------------------------------------------------------------------------------- /src/main/webapp/image/beijirong.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/image/beijirong.gif -------------------------------------------------------------------------------- /src/main/webapp/image/blank.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/image/blank.gif -------------------------------------------------------------------------------- /src/main/webapp/image/cart.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/image/cart.gif -------------------------------------------------------------------------------- /src/main/webapp/image/common.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/image/common.gif -------------------------------------------------------------------------------- /src/main/webapp/image/d.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/image/d.jpg -------------------------------------------------------------------------------- /src/main/webapp/image/dadonggua.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/image/dadonggua.jpg -------------------------------------------------------------------------------- /src/main/webapp/image/e.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/image/e.jpg -------------------------------------------------------------------------------- /src/main/webapp/image/eifini.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/image/eifini.gif -------------------------------------------------------------------------------- /src/main/webapp/image/footer.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/image/footer.jpg -------------------------------------------------------------------------------- /src/main/webapp/image/header.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/image/header.jpg -------------------------------------------------------------------------------- /src/main/webapp/image/hengyuanxiang.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/image/hengyuanxiang.gif -------------------------------------------------------------------------------- /src/main/webapp/image/i.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/image/i.jpg -------------------------------------------------------------------------------- /src/main/webapp/image/index_2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/image/index_2.jpg -------------------------------------------------------------------------------- /src/main/webapp/image/index_3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/image/index_3.jpg -------------------------------------------------------------------------------- /src/main/webapp/image/jackjones.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/image/jackjones.gif -------------------------------------------------------------------------------- /src/main/webapp/image/lining.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/image/lining.gif -------------------------------------------------------------------------------- /src/main/webapp/image/login.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/image/login.jpg -------------------------------------------------------------------------------- /src/main/webapp/image/m.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/image/m.jpg -------------------------------------------------------------------------------- /src/main/webapp/image/maoren.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/image/maoren.gif -------------------------------------------------------------------------------- /src/main/webapp/image/n.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/image/n.jpg -------------------------------------------------------------------------------- /src/main/webapp/image/nike.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/image/nike.gif -------------------------------------------------------------------------------- /src/main/webapp/image/o.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/image/o.jpg -------------------------------------------------------------------------------- /src/main/webapp/image/p.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/image/p.jpg -------------------------------------------------------------------------------- /src/main/webapp/image/product.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/image/product.gif -------------------------------------------------------------------------------- /src/main/webapp/image/q.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/image/q.jpg -------------------------------------------------------------------------------- /src/main/webapp/image/r___________renleipic_01/15.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/image/r___________renleipic_01/15.gif -------------------------------------------------------------------------------- /src/main/webapp/image/r___________renleipic_01/footer.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/image/r___________renleipic_01/footer.jpg -------------------------------------------------------------------------------- /src/main/webapp/image/r___________renleipic_01/header.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/image/r___________renleipic_01/header.jpg -------------------------------------------------------------------------------- /src/main/webapp/image/r___________renleipic_01/product.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/image/r___________renleipic_01/product.gif -------------------------------------------------------------------------------- /src/main/webapp/image/semir.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/image/semir.gif -------------------------------------------------------------------------------- /src/main/webapp/image/sentubila.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/image/sentubila.gif -------------------------------------------------------------------------------- /src/main/webapp/image/septwolves.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/image/septwolves.gif -------------------------------------------------------------------------------- /src/main/webapp/image/sundance.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/image/sundance.gif -------------------------------------------------------------------------------- /src/main/webapp/image/vimly.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/image/vimly.gif -------------------------------------------------------------------------------- /src/main/webapp/image/yishion.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/image/yishion.gif -------------------------------------------------------------------------------- /src/main/webapp/images/IconTexto_WebDev_009.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/images/IconTexto_WebDev_009.jpg -------------------------------------------------------------------------------- /src/main/webapp/images/article.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/images/article.gif -------------------------------------------------------------------------------- /src/main/webapp/images/cart.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/images/cart.gif -------------------------------------------------------------------------------- /src/main/webapp/images/common.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/images/common.gif -------------------------------------------------------------------------------- /src/main/webapp/images/dialog_overlay.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/images/dialog_overlay.png -------------------------------------------------------------------------------- /src/main/webapp/images/error.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/images/error.jpg -------------------------------------------------------------------------------- /src/main/webapp/images/finalbutton.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/images/finalbutton.gif -------------------------------------------------------------------------------- /src/main/webapp/images/gif53_029.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/images/gif53_029.gif -------------------------------------------------------------------------------- /src/main/webapp/images/i_del.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/images/i_del.gif -------------------------------------------------------------------------------- /src/main/webapp/images/i_edit.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/images/i_edit.gif -------------------------------------------------------------------------------- /src/main/webapp/images/index.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/images/index.gif -------------------------------------------------------------------------------- /src/main/webapp/images/info.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/images/info.gif -------------------------------------------------------------------------------- /src/main/webapp/images/loading_bar.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/images/loading_bar.gif -------------------------------------------------------------------------------- /src/main/webapp/images/loading_icon.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/images/loading_icon.gif -------------------------------------------------------------------------------- /src/main/webapp/images/login.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/images/login.gif -------------------------------------------------------------------------------- /src/main/webapp/images/member.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/images/member.gif -------------------------------------------------------------------------------- /src/main/webapp/images/message.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/images/message.gif -------------------------------------------------------------------------------- /src/main/webapp/images/mis_01.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/images/mis_01.jpg -------------------------------------------------------------------------------- /src/main/webapp/images/mis_05a.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/images/mis_05a.jpg -------------------------------------------------------------------------------- /src/main/webapp/images/mis_05b.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/images/mis_05b.jpg -------------------------------------------------------------------------------- /src/main/webapp/images/mis_05c.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/images/mis_05c.jpg -------------------------------------------------------------------------------- /src/main/webapp/images/order.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/images/order.gif -------------------------------------------------------------------------------- /src/main/webapp/images/password.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/images/password.gif -------------------------------------------------------------------------------- /src/main/webapp/images/product.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/images/product.gif -------------------------------------------------------------------------------- /src/main/webapp/images/register.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/images/register.gif -------------------------------------------------------------------------------- /src/main/webapp/images/review.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/images/review.gif -------------------------------------------------------------------------------- /src/main/webapp/images/shim.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/images/shim.gif -------------------------------------------------------------------------------- /src/main/webapp/images/top_01.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/images/top_01.jpg -------------------------------------------------------------------------------- /src/main/webapp/images/top_100.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/images/top_100.jpg -------------------------------------------------------------------------------- /src/main/webapp/images/tree/base.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/images/tree/base.gif -------------------------------------------------------------------------------- /src/main/webapp/images/tree/cd.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/images/tree/cd.gif -------------------------------------------------------------------------------- /src/main/webapp/images/tree/empty.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/images/tree/empty.gif -------------------------------------------------------------------------------- /src/main/webapp/images/tree/folder.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/images/tree/folder.gif -------------------------------------------------------------------------------- /src/main/webapp/images/tree/folderopen.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/images/tree/folderopen.gif -------------------------------------------------------------------------------- /src/main/webapp/images/tree/globe.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/images/tree/globe.gif -------------------------------------------------------------------------------- /src/main/webapp/images/tree/imgfolder.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/images/tree/imgfolder.gif -------------------------------------------------------------------------------- /src/main/webapp/images/tree/join.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/images/tree/join.gif -------------------------------------------------------------------------------- /src/main/webapp/images/tree/joinbottom.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/images/tree/joinbottom.gif -------------------------------------------------------------------------------- /src/main/webapp/images/tree/line.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/images/tree/line.gif -------------------------------------------------------------------------------- /src/main/webapp/images/tree/minus.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/images/tree/minus.gif -------------------------------------------------------------------------------- /src/main/webapp/images/tree/minusbottom.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/images/tree/minusbottom.gif -------------------------------------------------------------------------------- /src/main/webapp/images/tree/musicfolder.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/images/tree/musicfolder.gif -------------------------------------------------------------------------------- /src/main/webapp/images/tree/nolines_minus.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/images/tree/nolines_minus.gif -------------------------------------------------------------------------------- /src/main/webapp/images/tree/nolines_plus.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/images/tree/nolines_plus.gif -------------------------------------------------------------------------------- /src/main/webapp/images/tree/page.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/images/tree/page.gif -------------------------------------------------------------------------------- /src/main/webapp/images/tree/plus.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/images/tree/plus.gif -------------------------------------------------------------------------------- /src/main/webapp/images/tree/plusbottom.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/images/tree/plusbottom.gif -------------------------------------------------------------------------------- /src/main/webapp/images/tree/question.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/images/tree/question.gif -------------------------------------------------------------------------------- /src/main/webapp/images/tree/trash.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/images/tree/trash.gif -------------------------------------------------------------------------------- /src/main/webapp/products/1/cs10001.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/products/1/cs10001.jpg -------------------------------------------------------------------------------- /src/main/webapp/products/1/cs10002.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/products/1/cs10002.jpg -------------------------------------------------------------------------------- /src/main/webapp/products/1/cs10003.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/products/1/cs10003.jpg -------------------------------------------------------------------------------- /src/main/webapp/products/1/cs10004.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/products/1/cs10004.jpg -------------------------------------------------------------------------------- /src/main/webapp/products/1/cs10005.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/products/1/cs10005.jpg -------------------------------------------------------------------------------- /src/main/webapp/products/1/cs10006.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/products/1/cs10006.jpg -------------------------------------------------------------------------------- /src/main/webapp/products/1/cs10007.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/products/1/cs10007.jpg -------------------------------------------------------------------------------- /src/main/webapp/products/1/cs10008.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/products/1/cs10008.jpg -------------------------------------------------------------------------------- /src/main/webapp/products/1/cs10009.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/products/1/cs10009.jpg -------------------------------------------------------------------------------- /src/main/webapp/products/1/cs10010.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/products/1/cs10010.jpg -------------------------------------------------------------------------------- /src/main/webapp/products/1/cs20001.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/products/1/cs20001.jpg -------------------------------------------------------------------------------- /src/main/webapp/products/1/cs20002.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/products/1/cs20002.jpg -------------------------------------------------------------------------------- /src/main/webapp/products/1/cs20003.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/products/1/cs20003.jpg -------------------------------------------------------------------------------- /src/main/webapp/products/1/cs20004.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/products/1/cs20004.jpg -------------------------------------------------------------------------------- /src/main/webapp/products/1/cs20005.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/products/1/cs20005.jpg -------------------------------------------------------------------------------- /src/main/webapp/products/1/cs20006.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/products/1/cs20006.jpg -------------------------------------------------------------------------------- /src/main/webapp/products/1/cs20007.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/products/1/cs20007.jpg -------------------------------------------------------------------------------- /src/main/webapp/products/1/cs20008.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/products/1/cs20008.jpg -------------------------------------------------------------------------------- /src/main/webapp/products/1/cs20009.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/products/1/cs20009.jpg -------------------------------------------------------------------------------- /src/main/webapp/products/1/cs20010.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/products/1/cs20010.jpg -------------------------------------------------------------------------------- /src/main/webapp/products/1/cs30001.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/products/1/cs30001.png -------------------------------------------------------------------------------- /src/main/webapp/products/1/cs30002.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/products/1/cs30002.png -------------------------------------------------------------------------------- /src/main/webapp/products/1/cs30003.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/products/1/cs30003.png -------------------------------------------------------------------------------- /src/main/webapp/products/1/cs30004.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/products/1/cs30004.png -------------------------------------------------------------------------------- /src/main/webapp/products/1/cs30005.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/products/1/cs30005.png -------------------------------------------------------------------------------- /src/main/webapp/products/1/cs30006.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/products/1/cs30006.png -------------------------------------------------------------------------------- /src/main/webapp/products/1/cs30007.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/products/1/cs30007.png -------------------------------------------------------------------------------- /src/main/webapp/products/1/cs30008.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/products/1/cs30008.png -------------------------------------------------------------------------------- /src/main/webapp/products/1/cs30009.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/products/1/cs30009.png -------------------------------------------------------------------------------- /src/main/webapp/products/1/cs30010.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/products/1/cs30010.png -------------------------------------------------------------------------------- /src/main/webapp/products/1/cs40001.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/products/1/cs40001.png -------------------------------------------------------------------------------- /src/main/webapp/products/1/cs40002.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/products/1/cs40002.png -------------------------------------------------------------------------------- /src/main/webapp/products/1/cs40003.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/products/1/cs40003.png -------------------------------------------------------------------------------- /src/main/webapp/products/1/cs40004.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/products/1/cs40004.jpg -------------------------------------------------------------------------------- /src/main/webapp/products/1/cs40005.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/products/1/cs40005.png -------------------------------------------------------------------------------- /src/main/webapp/products/1/cs40006.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/products/1/cs40006.png -------------------------------------------------------------------------------- /src/main/webapp/products/1/cs40007.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/products/1/cs40007.png -------------------------------------------------------------------------------- /src/main/webapp/products/1/cs40008.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/products/1/cs40008.png -------------------------------------------------------------------------------- /src/main/webapp/products/1/cs40009.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/products/1/cs40009.png -------------------------------------------------------------------------------- /src/main/webapp/products/1/cs40010.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/products/1/cs40010.png -------------------------------------------------------------------------------- /src/main/webapp/products/1/cs40011.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/products/1/cs40011.png -------------------------------------------------------------------------------- /src/main/webapp/products/1/cs50001.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/products/1/cs50001.png -------------------------------------------------------------------------------- /src/main/webapp/products/1/cs50002.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/products/1/cs50002.png -------------------------------------------------------------------------------- /src/main/webapp/products/1/cs50003.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/products/1/cs50003.png -------------------------------------------------------------------------------- /src/main/webapp/products/1/cs50004.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/products/1/cs50004.png -------------------------------------------------------------------------------- /src/main/webapp/products/1/cs50005.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/products/1/cs50005.png -------------------------------------------------------------------------------- /src/main/webapp/products/1/cs50006.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/products/1/cs50006.png -------------------------------------------------------------------------------- /src/main/webapp/products/1/cs50007.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/products/1/cs50007.png -------------------------------------------------------------------------------- /src/main/webapp/products/1/cs50008.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/products/1/cs50008.png -------------------------------------------------------------------------------- /src/main/webapp/products/1/cs50009.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/products/1/cs50009.png -------------------------------------------------------------------------------- /src/main/webapp/products/1/cs50010.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/products/1/cs50010.png -------------------------------------------------------------------------------- /src/main/webapp/products/1/cs60001.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/products/1/cs60001.png -------------------------------------------------------------------------------- /src/main/webapp/products/1/cs60002.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/products/1/cs60002.png -------------------------------------------------------------------------------- /src/main/webapp/products/1/cs60003.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/products/1/cs60003.png -------------------------------------------------------------------------------- /src/main/webapp/products/1/cs60004.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/products/1/cs60004.png -------------------------------------------------------------------------------- /src/main/webapp/products/1/cs60005.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/products/1/cs60005.png -------------------------------------------------------------------------------- /src/main/webapp/products/1/cs60006.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/products/1/cs60006.png -------------------------------------------------------------------------------- /src/main/webapp/products/1/cs60007.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/products/1/cs60007.png -------------------------------------------------------------------------------- /src/main/webapp/products/1/cs60008.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/products/1/cs60008.png -------------------------------------------------------------------------------- /src/main/webapp/products/1/cs60009.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/products/1/cs60009.png -------------------------------------------------------------------------------- /src/main/webapp/products/1/cs60010.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/products/1/cs60010.png -------------------------------------------------------------------------------- /src/main/webapp/products/1/cs70001.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/products/1/cs70001.png -------------------------------------------------------------------------------- /src/main/webapp/products/1/cs70002.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/products/1/cs70002.png -------------------------------------------------------------------------------- /src/main/webapp/products/1/cs70003.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/products/1/cs70003.png -------------------------------------------------------------------------------- /src/main/webapp/products/1/cs70004.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/products/1/cs70004.png -------------------------------------------------------------------------------- /src/main/webapp/products/1/cs70005.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/products/1/cs70005.png -------------------------------------------------------------------------------- /src/main/webapp/products/1/cs70006.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/products/1/cs70006.png -------------------------------------------------------------------------------- /src/main/webapp/products/1/cs70007.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/products/1/cs70007.png -------------------------------------------------------------------------------- /src/main/webapp/products/1/cs70008.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/products/1/cs70008.png -------------------------------------------------------------------------------- /src/main/webapp/products/1/cs70009.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/products/1/cs70009.png -------------------------------------------------------------------------------- /src/main/webapp/products/1/cs70010.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/products/1/cs70010.png -------------------------------------------------------------------------------- /src/main/webapp/products/1/duanxue1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/products/1/duanxue1.png -------------------------------------------------------------------------------- /src/main/webapp/products/1/duanxue2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/products/1/duanxue2.png -------------------------------------------------------------------------------- /src/main/webapp/products/1/duanxue3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/products/1/duanxue3.png -------------------------------------------------------------------------------- /src/main/webapp/products/1/duanxue4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/products/1/duanxue4.png -------------------------------------------------------------------------------- /src/main/webapp/products/1/nvxie.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/products/1/nvxie.jpg -------------------------------------------------------------------------------- /src/main/webapp/products/2/10001.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/products/2/10001.png -------------------------------------------------------------------------------- /src/main/webapp/products/2/10002.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/products/2/10002.png -------------------------------------------------------------------------------- /src/main/webapp/products/2/10003.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/products/2/10003.png -------------------------------------------------------------------------------- /src/main/webapp/products/2/10004.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/products/2/10004.png -------------------------------------------------------------------------------- /src/main/webapp/products/2/10005.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/products/2/10005.png -------------------------------------------------------------------------------- /src/main/webapp/products/2/10006.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/products/2/10006.png -------------------------------------------------------------------------------- /src/main/webapp/products/2/10007.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/products/2/10007.png -------------------------------------------------------------------------------- /src/main/webapp/products/2/10008.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/products/2/10008.png -------------------------------------------------------------------------------- /src/main/webapp/products/2/10009.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/products/2/10009.png -------------------------------------------------------------------------------- /src/main/webapp/products/2/10010.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/products/2/10010.png -------------------------------------------------------------------------------- /src/main/webapp/products/2/100101.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/products/2/100101.png -------------------------------------------------------------------------------- /src/main/webapp/products/2/100102.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/products/2/100102.png -------------------------------------------------------------------------------- /src/main/webapp/products/2/100103.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/products/2/100103.png -------------------------------------------------------------------------------- /src/main/webapp/products/2/100104.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/products/2/100104.png -------------------------------------------------------------------------------- /src/main/webapp/products/2/100105.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/products/2/100105.png -------------------------------------------------------------------------------- /src/main/webapp/products/2/10011.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/products/2/10011.png -------------------------------------------------------------------------------- /src/main/webapp/products/2/10012.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/products/2/10012.png -------------------------------------------------------------------------------- /src/main/webapp/products/2/10013.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/products/2/10013.png -------------------------------------------------------------------------------- /src/main/webapp/products/2/10014.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/products/2/10014.png -------------------------------------------------------------------------------- /src/main/webapp/products/2/10015.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Joryun/Shop/0be23b87661193f2de2067eb5119c37f77813e45/src/main/webapp/products/2/10015.png --------------------------------------------------------------------------------