├── .gitignore ├── .mvn └── wrapper │ ├── MavenWrapperDownloader.java │ ├── maven-wrapper.jar │ └── maven-wrapper.properties ├── db └── graduation.sql ├── mvnw ├── mvnw.cmd ├── pom.xml └── src ├── main ├── java │ └── com │ │ └── example │ │ └── demo │ │ ├── DemoApplication.java │ │ └── Graduation │ │ ├── Annotation │ │ └── LogAop.java │ │ ├── Configure │ │ ├── aop │ │ │ └── LogAspect.java │ │ ├── druid │ │ │ └── DruidConfig.java │ │ ├── mvc │ │ │ ├── MyInterceptorConfig.java │ │ │ └── WebConfig.java │ │ └── shiro │ │ │ ├── KickoutSessionControlFilter.java │ │ │ ├── ShiroConfig.java │ │ │ └── UserRealm.java │ │ ├── Dao │ │ ├── LogDao │ │ │ └── LogDao.java │ │ ├── MemberDao │ │ │ ├── ActivityDao.java │ │ │ ├── ExchageRecordDao.java │ │ │ ├── IntegralDao.java │ │ │ ├── MemberDao.java │ │ │ └── ReservationDao.java │ │ ├── MenuDao │ │ │ └── MenuDao.java │ │ ├── OderDao │ │ │ ├── OderDao.java │ │ │ └── OderItemDao.java │ │ ├── PetDao │ │ │ ├── PetFoodDao.java │ │ │ ├── PetFosterDao.java │ │ │ └── PetJewelryDao.java │ │ ├── RoleDao │ │ │ └── RoleDao.java │ │ ├── SysNoticeDao │ │ │ ├── SysNoticeDao.java │ │ │ └── SysUploadDao.java │ │ ├── UserDao │ │ │ └── UserDao.java │ │ └── VipDao │ │ │ └── VipDao.java │ │ ├── Tool │ │ ├── DateTime.java │ │ ├── IpUntil.java │ │ ├── JacksonUtil.java │ │ ├── PasswordUtil.java │ │ ├── QnUpload.java │ │ └── SendSms.java │ │ ├── controller │ │ ├── Error │ │ │ └── ErrorController.java │ │ ├── LogController │ │ │ └── LogController.java │ │ ├── MemberController │ │ │ ├── ActivityController.java │ │ │ ├── ExchangeRecordController.java │ │ │ ├── IntegralExchangeController.java │ │ │ ├── MemberController.java │ │ │ └── ReservationController.java │ │ ├── MenuController │ │ │ └── MenuController.java │ │ ├── OderController │ │ │ ├── OderController.java │ │ │ └── SaleSrecordController.java │ │ ├── PetController │ │ │ ├── PetFoodController.java │ │ │ ├── PetFosterController.java │ │ │ └── PetjewelryController.java │ │ ├── ReportController │ │ │ └── ReportController.java │ │ ├── RoleController │ │ │ └── RoleController.java │ │ ├── SysController │ │ │ ├── SysNoticeController.java │ │ │ └── SysUploadFileController.java │ │ ├── UserController │ │ │ ├── LoginController.java │ │ │ └── UserController.java │ │ ├── VipController │ │ │ └── VipController.java │ │ └── WeComeController │ │ │ └── WeComeController.java │ │ ├── entity │ │ ├── Activity.java │ │ ├── Exchangerecord.java │ │ ├── IntegralExchange.java │ │ ├── LogEntity.java │ │ ├── MemberEntity.java │ │ ├── MemberVipEntity.java │ │ ├── MenuEntity.java │ │ ├── MenuEntity2.java │ │ ├── OderEntity.java │ │ ├── OderItemEntity.java │ │ ├── PetfoodEntity.java │ │ ├── PetfosterEntity.java │ │ ├── PetjewelryEntity.java │ │ ├── ProducttypeSaleEchatrs.java │ │ ├── Reservation.java │ │ ├── Result.java │ │ ├── RoleEntity.java │ │ ├── RoleResourcesEntity.java │ │ ├── SaleEchartsEntity.java │ │ ├── SysNoticeEntity.java │ │ ├── SysUploadEntity.java │ │ ├── UserEntity.java │ │ ├── UserRole.java │ │ └── VipinfoEntity.java │ │ └── service │ │ ├── LogService │ │ └── LogService.java │ │ ├── MemberService │ │ ├── ActivityService.java │ │ ├── ExchangeRecordService.java │ │ ├── IntegralExchangeService.java │ │ ├── MemberSerice.java │ │ └── ReservationService.java │ │ ├── MenuService │ │ └── MenuService.java │ │ ├── OderService │ │ ├── OderItemService.java │ │ └── OderService.java │ │ ├── PetService │ │ ├── PetFoodService.java │ │ ├── PetFosterService.java │ │ └── PetJewelryService.java │ │ ├── RoleService │ │ └── RoleService.java │ │ ├── SysNoticeService │ │ ├── SysNoticeService.java │ │ └── SysUploadService.java │ │ ├── UserService │ │ └── UserService.java │ │ └── VipService │ │ └── VipService.java └── resources │ ├── Mapper │ ├── LogMapper │ │ └── LogMapper.xml │ ├── MemberMapper │ │ ├── ActivityMapper.xml │ │ ├── ExchageRecordMapper.xml │ │ ├── IntegralMapper.xml │ │ ├── MemberMapper.xml │ │ └── ReservationMapper.xml │ ├── MenuMapper │ │ └── MenuMapper.xml │ ├── OderMapper │ │ ├── OderItemMapper.xml │ │ └── OderMapper.xml │ ├── PetMapper │ │ ├── PetFoodMapper.xml │ │ ├── PetFosterMapper.xml │ │ └── PetJewelryMapper.xml │ ├── RoleMapper │ │ └── RoleMapper.xml │ ├── SysNoticeMapper │ │ ├── SysNoticeMapper.xml │ │ └── SysUploadMapper.xml │ ├── UserMapper │ │ └── UserMapper.xml │ └── VipMapper │ │ └── VipMapper.xml │ ├── application.yml │ ├── log4j2.xml │ ├── static │ ├── bootstrap │ │ ├── bootstrap-treetable.css │ │ ├── bootstrap-treetable.js │ │ ├── bootstrap-treetable.min.css │ │ ├── bootstrap-treetable.min.js │ │ ├── demo_v3.html │ │ ├── demo_v4.html │ │ ├── fonts │ │ │ ├── bstt-font.eot │ │ │ ├── bstt-font.js │ │ │ ├── bstt-font.svg │ │ │ ├── bstt-font.ttf │ │ │ └── bstt-font.woff │ │ └── libs │ │ │ ├── jquery.min.js │ │ │ ├── v3 │ │ │ ├── bootstrap.min.css │ │ │ ├── bootstrap.min.js │ │ │ └── fonts │ │ │ │ ├── glyphicons-halflings-regular.eot │ │ │ │ ├── glyphicons-halflings-regular.svg │ │ │ │ ├── glyphicons-halflings-regular.ttf │ │ │ │ ├── glyphicons-halflings-regular.woff │ │ │ │ ├── glyphicons-halflings-regular.woff2 │ │ │ │ └── glyphicons-halflings-regulard41d.eot │ │ │ └── v4 │ │ │ ├── bootstrap.min.css │ │ │ ├── bootstrap.min.js │ │ │ ├── iconic │ │ │ ├── css │ │ │ │ └── open-iconic-bootstrap.min.css │ │ │ └── fonts │ │ │ │ ├── open-iconic.eot │ │ │ │ ├── open-iconic.otf │ │ │ │ ├── open-iconic.svg │ │ │ │ ├── open-iconic.ttf │ │ │ │ └── open-iconic.woff │ │ │ └── popper.min.js │ ├── css │ │ ├── bootstrap.min.css │ │ ├── font.css │ │ ├── jquery.min.js │ │ ├── layuiadmin.css │ │ ├── login.css │ │ ├── page.css │ │ ├── style.css │ │ ├── xadmin.css │ │ └── ztree │ │ │ ├── awesomeStyle │ │ │ ├── awesome.css │ │ │ ├── awesome.less │ │ │ ├── fa.less │ │ │ └── img │ │ │ │ └── loading.gif │ │ │ ├── demo.css │ │ │ ├── metroStyle │ │ │ ├── img │ │ │ │ ├── line_conn.png │ │ │ │ ├── loading.gif │ │ │ │ ├── metro.gif │ │ │ │ └── metro.png │ │ │ └── metroStyle.css │ │ │ └── zTreeStyle │ │ │ ├── img │ │ │ ├── diy │ │ │ │ ├── 1_close.png │ │ │ │ ├── 1_open.png │ │ │ │ ├── 2.png │ │ │ │ ├── 3.png │ │ │ │ ├── 4.png │ │ │ │ ├── 5.png │ │ │ │ ├── 6.png │ │ │ │ ├── 7.png │ │ │ │ ├── 8.png │ │ │ │ └── 9.png │ │ │ ├── line_conn.gif │ │ │ ├── loading.gif │ │ │ ├── zTreeStandard.gif │ │ │ └── zTreeStandard.png │ │ │ └── zTreeStyle.css │ ├── fonts │ │ ├── iconfont.eot │ │ ├── iconfont.ttf │ │ └── iconfont.woff │ ├── images │ │ ├── aiwrap.png │ │ ├── bg.png │ │ └── pic │ │ │ ├── 1.png │ │ │ ├── 2.png │ │ │ └── 3.png │ ├── js │ │ ├── jquery.min.js │ │ ├── pageMe.js │ │ ├── xadmin.js │ │ ├── xcity.js │ │ └── ztree │ │ │ ├── jquery-1.4.4.min.js │ │ │ ├── jquery.ztree.all.js │ │ │ ├── jquery.ztree.all.min.js │ │ │ ├── jquery.ztree.core.js │ │ │ ├── jquery.ztree.core.min.js │ │ │ ├── jquery.ztree.excheck.js │ │ │ ├── jquery.ztree.excheck.min.js │ │ │ ├── jquery.ztree.exedit.js │ │ │ ├── jquery.ztree.exedit.min.js │ │ │ ├── jquery.ztree.exhide.js │ │ │ └── jquery.ztree.exhide.min.js │ ├── layui2.5 │ │ ├── css │ │ │ ├── layui.css │ │ │ ├── layui.mobile.css │ │ │ └── modules │ │ │ │ ├── code.css │ │ │ │ ├── laydate │ │ │ │ └── default │ │ │ │ │ └── laydate.css │ │ │ │ └── layer │ │ │ │ └── default │ │ │ │ ├── icon-ext.png │ │ │ │ ├── icon.png │ │ │ │ ├── layer.css │ │ │ │ ├── loading-0.gif │ │ │ │ ├── loading-1.gif │ │ │ │ └── loading-2.gif │ │ ├── font │ │ │ ├── iconfont.eot │ │ │ ├── iconfont.svg │ │ │ ├── iconfont.ttf │ │ │ ├── iconfont.woff │ │ │ └── iconfont.woff2 │ │ ├── images │ │ │ └── face │ │ │ │ ├── 0.gif │ │ │ │ ├── 1.gif │ │ │ │ ├── 10.gif │ │ │ │ ├── 11.gif │ │ │ │ ├── 12.gif │ │ │ │ ├── 13.gif │ │ │ │ ├── 14.gif │ │ │ │ ├── 15.gif │ │ │ │ ├── 16.gif │ │ │ │ ├── 17.gif │ │ │ │ ├── 18.gif │ │ │ │ ├── 19.gif │ │ │ │ ├── 2.gif │ │ │ │ ├── 20.gif │ │ │ │ ├── 21.gif │ │ │ │ ├── 22.gif │ │ │ │ ├── 23.gif │ │ │ │ ├── 24.gif │ │ │ │ ├── 25.gif │ │ │ │ ├── 26.gif │ │ │ │ ├── 27.gif │ │ │ │ ├── 28.gif │ │ │ │ ├── 29.gif │ │ │ │ ├── 3.gif │ │ │ │ ├── 30.gif │ │ │ │ ├── 31.gif │ │ │ │ ├── 32.gif │ │ │ │ ├── 33.gif │ │ │ │ ├── 34.gif │ │ │ │ ├── 35.gif │ │ │ │ ├── 36.gif │ │ │ │ ├── 37.gif │ │ │ │ ├── 38.gif │ │ │ │ ├── 39.gif │ │ │ │ ├── 4.gif │ │ │ │ ├── 40.gif │ │ │ │ ├── 41.gif │ │ │ │ ├── 42.gif │ │ │ │ ├── 43.gif │ │ │ │ ├── 44.gif │ │ │ │ ├── 45.gif │ │ │ │ ├── 46.gif │ │ │ │ ├── 47.gif │ │ │ │ ├── 48.gif │ │ │ │ ├── 49.gif │ │ │ │ ├── 5.gif │ │ │ │ ├── 50.gif │ │ │ │ ├── 51.gif │ │ │ │ ├── 52.gif │ │ │ │ ├── 53.gif │ │ │ │ ├── 54.gif │ │ │ │ ├── 55.gif │ │ │ │ ├── 56.gif │ │ │ │ ├── 57.gif │ │ │ │ ├── 58.gif │ │ │ │ ├── 59.gif │ │ │ │ ├── 6.gif │ │ │ │ ├── 60.gif │ │ │ │ ├── 61.gif │ │ │ │ ├── 62.gif │ │ │ │ ├── 63.gif │ │ │ │ ├── 64.gif │ │ │ │ ├── 65.gif │ │ │ │ ├── 66.gif │ │ │ │ ├── 67.gif │ │ │ │ ├── 68.gif │ │ │ │ ├── 69.gif │ │ │ │ ├── 7.gif │ │ │ │ ├── 70.gif │ │ │ │ ├── 71.gif │ │ │ │ ├── 8.gif │ │ │ │ └── 9.gif │ │ ├── lay │ │ │ └── modules │ │ │ │ ├── carousel.js │ │ │ │ ├── code.js │ │ │ │ ├── colorpicker.js │ │ │ │ ├── element.js │ │ │ │ ├── flow.js │ │ │ │ ├── form.js │ │ │ │ ├── jquery.js │ │ │ │ ├── laydate.js │ │ │ │ ├── layedit.js │ │ │ │ ├── layer.js │ │ │ │ ├── laypage.js │ │ │ │ ├── laytpl.js │ │ │ │ ├── mobile.js │ │ │ │ ├── rate.js │ │ │ │ ├── slider.js │ │ │ │ ├── table.js │ │ │ │ ├── transfer.js │ │ │ │ ├── tree.js │ │ │ │ ├── upload.js │ │ │ │ └── util.js │ │ ├── layui.all.js │ │ └── layui.js │ └── lib │ │ └── layui │ │ ├── css │ │ ├── global.css │ │ ├── layui.css │ │ ├── layui.mobile.css │ │ └── modules │ │ │ ├── code.css │ │ │ ├── laydate │ │ │ └── default │ │ │ │ └── laydate.css │ │ │ └── layer │ │ │ └── default │ │ │ ├── icon-ext.png │ │ │ ├── icon.png │ │ │ ├── layer.css │ │ │ ├── loading-0.gif │ │ │ ├── loading-1.gif │ │ │ └── loading-2.gif │ │ ├── font │ │ ├── iconfont.eot │ │ ├── iconfont.ttf │ │ └── iconfont.woff │ │ ├── images │ │ └── face │ │ │ ├── 0.gif │ │ │ ├── 1.gif │ │ │ ├── 10.gif │ │ │ ├── 11.gif │ │ │ ├── 12.gif │ │ │ ├── 13.gif │ │ │ ├── 14.gif │ │ │ ├── 15.gif │ │ │ ├── 16.gif │ │ │ ├── 17.gif │ │ │ ├── 18.gif │ │ │ ├── 19.gif │ │ │ ├── 2.gif │ │ │ ├── 20.gif │ │ │ ├── 21.gif │ │ │ ├── 22.gif │ │ │ ├── 23.gif │ │ │ ├── 24.gif │ │ │ ├── 25.gif │ │ │ ├── 26.gif │ │ │ ├── 27.gif │ │ │ ├── 28.gif │ │ │ ├── 29.gif │ │ │ ├── 3.gif │ │ │ ├── 30.gif │ │ │ ├── 31.gif │ │ │ ├── 32.gif │ │ │ ├── 33.gif │ │ │ ├── 34.gif │ │ │ ├── 35.gif │ │ │ ├── 36.gif │ │ │ ├── 37.gif │ │ │ ├── 38.gif │ │ │ ├── 39.gif │ │ │ ├── 4.gif │ │ │ ├── 40.gif │ │ │ ├── 41.gif │ │ │ ├── 42.gif │ │ │ ├── 43.gif │ │ │ ├── 44.gif │ │ │ ├── 45.gif │ │ │ ├── 46.gif │ │ │ ├── 47.gif │ │ │ ├── 48.gif │ │ │ ├── 49.gif │ │ │ ├── 5.gif │ │ │ ├── 50.gif │ │ │ ├── 51.gif │ │ │ ├── 52.gif │ │ │ ├── 53.gif │ │ │ ├── 54.gif │ │ │ ├── 55.gif │ │ │ ├── 56.gif │ │ │ ├── 57.gif │ │ │ ├── 58.gif │ │ │ ├── 59.gif │ │ │ ├── 6.gif │ │ │ ├── 60.gif │ │ │ ├── 61.gif │ │ │ ├── 62.gif │ │ │ ├── 63.gif │ │ │ ├── 64.gif │ │ │ ├── 65.gif │ │ │ ├── 66.gif │ │ │ ├── 67.gif │ │ │ ├── 68.gif │ │ │ ├── 69.gif │ │ │ ├── 7.gif │ │ │ ├── 70.gif │ │ │ ├── 71.gif │ │ │ ├── 8.gif │ │ │ └── 9.gif │ │ ├── lay │ │ └── modules │ │ │ ├── carousel.js │ │ │ ├── code.js │ │ │ ├── element.js │ │ │ ├── flow.js │ │ │ ├── form.js │ │ │ ├── jquery.js │ │ │ ├── laydate.js │ │ │ ├── layedit.js │ │ │ ├── layer.js │ │ │ ├── laypage.js │ │ │ ├── laytpl.js │ │ │ ├── mobile.js │ │ │ ├── table.js │ │ │ ├── tree.js │ │ │ ├── upload.js │ │ │ └── util.js │ │ └── layui.js │ └── templates │ ├── Activity │ ├── activityadd.html │ ├── activitydetail.html │ ├── activitylist.html │ └── activityupdate.html │ ├── Error │ ├── 403.html │ ├── 404.html │ ├── 405.html │ └── 500.html │ ├── ExchageRecord │ └── exchangerecordlist.html │ ├── Integral │ ├── Integraladd.html │ ├── Integrallist.html │ ├── Integralupdate.html │ ├── addnumber.html │ ├── exchange.html │ └── reducenumber.html │ ├── Member │ ├── memberadd.html │ ├── memberlist.html │ ├── memberupdate.html │ └── recharge.html │ ├── Oder │ ├── Oderlist.html │ ├── detailsoder.html │ ├── handleoder.html │ └── refund.html │ ├── PetFood │ ├── IncreaseStock.html │ ├── ReduceStock.html │ ├── Scrap.html │ ├── petfoodadd.html │ ├── petfoodlist.html │ └── petfoodupdate.html │ ├── PetJewelry │ ├── IncreaseStock.html │ ├── ReduceStock.html │ ├── Scrap.html │ ├── petjewelryadd.html │ ├── petjewelrylist.html │ └── petjewelryupdate.html │ ├── Petfoster │ ├── petfosteradd.html │ ├── petfosterdetails.html │ ├── petfosterlist.html │ └── petfosterupdate.html │ ├── Report │ └── ReportEcharts.html │ ├── Reservation │ ├── reservationadd.html │ ├── reservationlist.html │ ├── reservationupdate.html │ └── sreservationdetail.html │ ├── SaleSrecord │ └── salesrecord.html │ ├── SysLog │ ├── detailslog.html │ └── syslog.html │ ├── SysMenu │ ├── buttonadd.html │ ├── catalogadd.html │ ├── menuadd.html │ ├── menulist.html │ └── menusupdate.html │ ├── SysNotice │ ├── addsysnotice.html │ ├── deetails.html │ ├── sysnoticelist.html │ └── updatenotice.html │ ├── SysRole │ ├── roleadd.html │ ├── rolelist.html │ └── roleupdate.html │ ├── SysUpload │ ├── addupload.html │ ├── updateupload.html │ └── uploadfilelist.html │ ├── SysUser │ ├── useradd.html │ ├── userlist.html │ └── userupdate.html │ ├── System │ └── updatepassword.html │ ├── Vip │ ├── vipadd.html │ ├── viplist.html │ └── vipupdate.html │ ├── index.html │ ├── login.html │ ├── notice.html │ └── welcome.html └── test └── java └── com └── example └── demo └── DemoApplicationTests.java /.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/** 5 | !**/src/test/** 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | 30 | ### VS Code ### 31 | .vscode/ 32 | -------------------------------------------------------------------------------- /.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.3/apache-maven-3.6.3-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar 3 | -------------------------------------------------------------------------------- /src/main/java/com/example/demo/DemoApplication.java: -------------------------------------------------------------------------------- 1 | package com.example.demo; 2 | 3 | import org.mybatis.spring.annotation.MapperScan; 4 | import org.springframework.boot.SpringApplication; 5 | import org.springframework.boot.autoconfigure.SpringBootApplication; 6 | 7 | @SpringBootApplication 8 | @MapperScan("com.example.demo.Graduation.Dao") 9 | public class DemoApplication { 10 | 11 | public static void main(String[] args) { 12 | SpringApplication.run(DemoApplication.class, args); 13 | } 14 | 15 | } 16 | -------------------------------------------------------------------------------- /src/main/java/com/example/demo/Graduation/Annotation/LogAop.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.Graduation.Annotation; 2 | 3 | 4 | import java.lang.annotation.ElementType; 5 | import java.lang.annotation.Retention; 6 | import java.lang.annotation.RetentionPolicy; 7 | import java.lang.annotation.Target; 8 | 9 | @Target(ElementType.METHOD) 10 | @Retention(RetentionPolicy.RUNTIME) 11 | public @interface LogAop { 12 | String value() default ""; 13 | } -------------------------------------------------------------------------------- /src/main/java/com/example/demo/Graduation/Configure/druid/DruidConfig.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.Graduation.Configure.druid; 2 | 3 | import com.alibaba.druid.pool.DruidDataSource; 4 | import com.alibaba.druid.support.http.StatViewServlet; 5 | import com.zaxxer.hikari.util.DriverDataSource; 6 | import org.apache.catalina.manager.StatusManagerServlet; 7 | import org.springframework.boot.context.properties.ConfigurationProperties; 8 | import org.springframework.boot.web.servlet.ServletRegistrationBean; 9 | import org.springframework.context.annotation.Bean; 10 | import org.springframework.context.annotation.Configuration; 11 | 12 | import javax.sql.DataSource; 13 | import java.util.HashMap; 14 | 15 | //druid后台监控 16 | @Configuration 17 | public class DruidConfig { 18 | //绑定数据源 19 | @ConfigurationProperties(prefix = "spring.datasource") 20 | @Bean 21 | public DataSource druidDataSource() { 22 | return new DruidDataSource(); 23 | } 24 | 25 | //后台监控 26 | @Bean 27 | public ServletRegistrationBean creanbean() { 28 | ServletRegistrationBean druidbean = new ServletRegistrationBean<>(new StatViewServlet(), "/druid/*"); 29 | HashMap initmap = new HashMap<>(); 30 | initmap.put("loginUsername", "adminwuwen"); 31 | initmap.put("loginPassword", "WUwen*admin+-"); 32 | initmap.put("allow", "adminwuwen"); 33 | druidbean.setInitParameters(initmap);//初始化参数 34 | return druidbean; 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /src/main/java/com/example/demo/Graduation/Configure/mvc/MyInterceptorConfig.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.Graduation.Configure.mvc; 2 | 3 | 4 | import com.alibaba.fastjson.JSON; 5 | import com.example.demo.Graduation.controller.UserController.LoginController; 6 | import org.slf4j.Logger; 7 | import org.slf4j.LoggerFactory; 8 | import org.springframework.stereotype.Component; 9 | import org.springframework.web.servlet.HandlerInterceptor; 10 | import org.springframework.web.servlet.ModelAndView; 11 | 12 | import javax.servlet.http.HttpServletRequest; 13 | import javax.servlet.http.HttpServletResponse; 14 | 15 | @Component 16 | public class MyInterceptorConfig implements HandlerInterceptor { 17 | private static final Logger logger = LoggerFactory.getLogger(LoginController.class); 18 | 19 | @Override 20 | public void afterCompletion(HttpServletRequest arg0, HttpServletResponse arg1, Object arg2, Exception arg3) 21 | throws Exception { 22 | logger.info("请求地址" + arg0.getRequestURI()); 23 | } 24 | 25 | /* 26 | * 处理请求完成后视图渲染之前的处理操作 27 | */ 28 | @Override 29 | public void postHandle(HttpServletRequest arg0, HttpServletResponse arg1, Object arg2, ModelAndView arg3) 30 | throws Exception { 31 | logger.info("跳转视图" + arg0.getRequestURI()); 32 | } 33 | 34 | /* 35 | * 进入controller层之前拦截请求 36 | */ 37 | @Override 38 | public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object obj) throws Exception { 39 | logger.info("携带参数" + JSON.toJSONString(request.getParameterMap())); 40 | logger.info(" "); 41 | return true; 42 | } 43 | 44 | 45 | } 46 | -------------------------------------------------------------------------------- /src/main/java/com/example/demo/Graduation/Configure/mvc/WebConfig.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.Graduation.Configure.mvc; 2 | 3 | 4 | import org.springframework.context.annotation.Configuration; 5 | import org.springframework.web.servlet.config.annotation.InterceptorRegistry; 6 | import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; 7 | 8 | import javax.annotation.Resource; 9 | 10 | //自定义拦截器配置 11 | @Configuration 12 | public class WebConfig implements WebMvcConfigurer { 13 | @Resource 14 | private MyInterceptorConfig myInterceptorConfig; 15 | 16 | @Override 17 | public void addInterceptors(InterceptorRegistry interceptorRegistry) { 18 | interceptorRegistry.addInterceptor(myInterceptorConfig).addPathPatterns("/**").excludePathPatterns("/login", "/loginin", "/css/**", "/fonts/**", "/images/**", "/js/**", "/lib/**","/bootstrap/**","/layui2.5/**"); 19 | } 20 | 21 | 22 | } 23 | -------------------------------------------------------------------------------- /src/main/java/com/example/demo/Graduation/Configure/shiro/UserRealm.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.Graduation.Configure.shiro; 2 | 3 | import com.example.demo.Graduation.entity.MenuEntity; 4 | import com.example.demo.Graduation.entity.UserEntity; 5 | import com.example.demo.Graduation.service.MenuService.MenuService; 6 | import com.example.demo.Graduation.service.UserService.UserService; 7 | import org.apache.shiro.authc.*; 8 | import org.apache.shiro.authz.AuthorizationInfo; 9 | import org.apache.shiro.authz.SimpleAuthorizationInfo; 10 | import org.apache.shiro.realm.AuthorizingRealm; 11 | import org.apache.shiro.subject.PrincipalCollection; 12 | import org.apache.shiro.util.ByteSource; 13 | import org.springframework.beans.factory.annotation.Autowired; 14 | import org.springframework.beans.factory.annotation.Value; 15 | import org.springframework.util.StringUtils; 16 | 17 | import java.util.List; 18 | 19 | public class UserRealm extends AuthorizingRealm { 20 | private String dbusername = ""; 21 | private int dbstatus = 0; 22 | private String dbpassword = ""; 23 | 24 | 25 | @Autowired 26 | private UserService userService; 27 | @Autowired 28 | private MenuService menuService; 29 | @Value("${md5salt}") 30 | private String md5salt; 31 | 32 | //授权 33 | @Override 34 | protected AuthorizationInfo doGetAuthorizationInfo(PrincipalCollection principalCollection) { 35 | SimpleAuthorizationInfo info = new SimpleAuthorizationInfo(); 36 | String loginusernname = (String) principalCollection.getPrimaryPrincipal(); //获取当前登录的用户名 37 | List menuEntityList = menuService.UserNameFindPerssiom(loginusernname);//获取当前用户的所有权限 38 | for (MenuEntity menu : menuEntityList) { 39 | if (!StringUtils.isEmpty(menu.getPermission())) { 40 | info.addStringPermission(menu.getPermission()); 41 | } 42 | } 43 | return info; 44 | } 45 | 46 | //认证 47 | @Override 48 | protected AuthenticationInfo doGetAuthenticationInfo(AuthenticationToken authenticationToken) throws AuthenticationException { 49 | String username = (String) authenticationToken.getPrincipal(); 50 | UserEntity user = userService.FindUserInfo(username); 51 | if (null != user) { 52 | dbusername = user.getUsername();//从数据库里面取得账号 53 | dbstatus = user.getStatus();//从数据库里面取得密码 54 | dbpassword = user.getPassword();//从数据库里面取得登录黑名单状态 55 | if (dbstatus != 1) { 56 | throw new LockedAccountException("此帐号已被锁定,禁止登录!"); 57 | } 58 | } else { 59 | throw new UnknownAccountException("此用户不存在"); 60 | } 61 | SimpleAuthenticationInfo info = new SimpleAuthenticationInfo(username, dbpassword, ByteSource.Util.bytes(username + md5salt), getName()); 62 | return info; 63 | } 64 | 65 | 66 | } -------------------------------------------------------------------------------- /src/main/java/com/example/demo/Graduation/Dao/LogDao/LogDao.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.Graduation.Dao.LogDao; 2 | 3 | import com.example.demo.Graduation.entity.LogEntity; 4 | import org.apache.ibatis.annotations.Mapper; 5 | import org.apache.ibatis.annotations.Param; 6 | 7 | import java.util.List; 8 | 9 | @Mapper 10 | public interface LogDao { 11 | 12 | void saveSysLog(LogEntity logEntity); 13 | 14 | 15 | List FindSysLog(@Param("starttime") String starttime, @Param("endtime") String endtime, @Param("username") String username); 16 | 17 | LogEntity IdFindLog(@Param("id") String id); 18 | 19 | 20 | } 21 | -------------------------------------------------------------------------------- /src/main/java/com/example/demo/Graduation/Dao/MemberDao/ActivityDao.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.Graduation.Dao.MemberDao; 2 | 3 | import com.example.demo.Graduation.entity.Activity; 4 | import org.apache.ibatis.annotations.Mapper; 5 | import org.apache.ibatis.annotations.Param; 6 | 7 | import java.util.Date; 8 | import java.util.List; 9 | 10 | @Mapper 11 | public interface ActivityDao { 12 | //查询 13 | List FinAllActivityInfo(@Param("name") String name); 14 | 15 | //停止活动 16 | boolean UpdateActivityStatus(@Param("id") String id); 17 | 18 | //活动名查询信息 19 | Activity NameFindActivityInfo(@Param("name") String name); 20 | 21 | //ID查询信息 22 | Activity IdFindActivityInfo(@Param("id") String id); 23 | 24 | //添加活动 25 | boolean AddActivity(Activity activity); 26 | 27 | //删除活动 28 | boolean DeleteActivity(@Param("id") String id); 29 | 30 | //修改活动 31 | boolean UpdateActivity(Activity activity); 32 | 33 | 34 | //查询当前时间内的活动信息 35 | List FindUnderwayActivity(@Param("time")String time); 36 | 37 | 38 | } 39 | -------------------------------------------------------------------------------- /src/main/java/com/example/demo/Graduation/Dao/MemberDao/ExchageRecordDao.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.Graduation.Dao.MemberDao; 2 | 3 | import com.example.demo.Graduation.entity.Exchangerecord; 4 | import org.apache.ibatis.annotations.Mapper; 5 | import org.apache.ibatis.annotations.Param; 6 | 7 | import java.util.List; 8 | 9 | //积分兑换记录 10 | @Mapper 11 | public interface ExchageRecordDao { 12 | 13 | boolean AddExchageRecord(Exchangerecord exchangerecord); 14 | 15 | List FindAllExchageRecordInfo(@Param("membername")String membername); 16 | } 17 | -------------------------------------------------------------------------------- /src/main/java/com/example/demo/Graduation/Dao/MemberDao/IntegralDao.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.Graduation.Dao.MemberDao; 2 | 3 | import com.example.demo.Graduation.entity.IntegralExchange; 4 | import org.apache.ibatis.annotations.Mapper; 5 | import org.apache.ibatis.annotations.Param; 6 | 7 | import java.util.List; 8 | 9 | @Mapper 10 | public interface IntegralDao { 11 | //查询 12 | List FinAllIntegralInfo(IntegralExchange integralExchange); 13 | 14 | //添加积分兑换 15 | boolean AddIntegral(IntegralExchange integralExchange); 16 | 17 | //ID查询信息 18 | IntegralExchange IdFindIntegralExchangeInfo(@Param("id") String id); 19 | 20 | //补仓 21 | boolean UpdateNumber(@Param("id") String id, @Param("number") int number); 22 | 23 | //删除积分兑换信息 24 | boolean DeleteIntegral(@Param("id") String id); 25 | 26 | // 27 | boolean Exchange(@Param("id") String id, @Param("member_name") String member_name); 28 | 29 | //修改积分兑换信息 30 | boolean UpdateIntegral(@Param("id") String id, @Param("type") String type,@Param("needredeem")int needredeem, @Param("name") String name); 31 | 32 | } 33 | -------------------------------------------------------------------------------- /src/main/java/com/example/demo/Graduation/Dao/MemberDao/MemberDao.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.Graduation.Dao.MemberDao; 2 | 3 | import com.example.demo.Graduation.entity.MemberEntity; 4 | import org.apache.ibatis.annotations.Mapper; 5 | import org.apache.ibatis.annotations.Param; 6 | 7 | import java.awt.*; 8 | import java.math.BigDecimal; 9 | import java.util.List; 10 | 11 | @Mapper 12 | public interface MemberDao { 13 | 14 | //查询会员信息 15 | List MemberAllInfo(@Param("name") String name); 16 | 17 | //添加会员 18 | boolean AddMember(MemberEntity memberEntity); 19 | 20 | //添加会员与VIP信息关联 21 | 22 | boolean AddMemberVip(@Param("id") String id, @Param("vipid") String vipid, @Param("memberid") String memberid); 23 | 24 | //查询会员名是否存在 25 | 26 | MemberEntity VerificationMemberName(@Param("name") String name); 27 | 28 | //删除会员信息 29 | boolean DeleteMember(@Param("id") String id); 30 | 31 | //删除会员和VIP的关联 32 | boolean DeleteMemberVip(@Param("id") String id); 33 | 34 | //根据会员ID查询会员信息 35 | 36 | MemberEntity IdFIndMemberInfo(@Param("id") String id); 37 | 38 | //修改会员信息 39 | boolean UpdateMember(MemberEntity memberEntity); 40 | 41 | //修改会员和VIP关联 42 | boolean UpdateMemberVip(@Param("vipid") String vipid, @Param("memberid") String memberid); 43 | 44 | //查看会员数量 45 | int MemberNumber(); 46 | 47 | //根据会员名称查询会员信息 48 | MemberEntity NameFindMemberInfo(@Param("name") String name); 49 | 50 | 51 | //会员余额充值 52 | boolean Recharge(@Param("id") String id, @Param("name") String name, @Param("money") BigDecimal money); 53 | 54 | //修改积分 55 | boolean UpdateIntegral(@Param("id") String id, @Param("name") String name, @Param("integral") int integral); 56 | 57 | //修改总消费 58 | boolean UpdateTotalConsumption(@Param("id") String id, @Param("name") String name, @Param("money") BigDecimal money); 59 | 60 | 61 | 62 | } 63 | -------------------------------------------------------------------------------- /src/main/java/com/example/demo/Graduation/Dao/MemberDao/ReservationDao.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.Graduation.Dao.MemberDao; 2 | 3 | import com.example.demo.Graduation.entity.Reservation; 4 | import org.apache.ibatis.annotations.Mapper; 5 | import org.apache.ibatis.annotations.Param; 6 | 7 | import java.util.List; 8 | 9 | @Mapper 10 | public interface ReservationDao { 11 | //查询 12 | List FinAllReservationinfo(@Param("reservation_name") String reservation_name); 13 | 14 | //关闭预告 15 | boolean UpdateReservationStatus(@Param("id") String id); 16 | 17 | //删除预告 18 | boolean DeleteReservation(@Param("id") String id); 19 | 20 | //ID查询预约信息 21 | Reservation IdFindReservation(@Param("id") String id); 22 | 23 | 24 | //添加 25 | boolean AddReservation(Reservation reservation); 26 | 27 | //修改 28 | boolean UpdateReservation(Reservation reservation); 29 | 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/com/example/demo/Graduation/Dao/MenuDao/MenuDao.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.Graduation.Dao.MenuDao; 2 | 3 | import com.example.demo.Graduation.entity.MenuEntity; 4 | import org.apache.ibatis.annotations.Mapper; 5 | import org.apache.ibatis.annotations.Param; 6 | 7 | import java.util.List; 8 | 9 | 10 | @Mapper 11 | public interface MenuDao { 12 | 13 | List FindMenusType1(@Param("roleid") String roleid); 14 | 15 | List FindMenusType2(@Param("roleid") String roleid); 16 | 17 | 18 | List FindMenusType11(); 19 | 20 | List FindMenusType22(); 21 | 22 | 23 | List UserNameFindPerssiom(@Param("roleid") String roleid); 24 | 25 | MenuEntity Menu2NameFindID(@Param("name") String name); 26 | 27 | List FindAllMenu(); 28 | 29 | boolean DeleteMenu(@Param("id") String id); 30 | 31 | boolean DeleteMenuUser(@Param("id") String id); 32 | 33 | MenuEntity VerificationMenuName(@Param("name") String name); 34 | 35 | MenuEntity VerificationMenuUrl(@Param("url") String url); 36 | 37 | MenuEntity VerificationMenuPermission(@Param("permission") String permission); 38 | 39 | boolean AddMenu(MenuEntity menuEntity); 40 | 41 | MenuEntity IDFindResoucesinfo(@Param("id") String id); 42 | 43 | List ParentIdFindResoucesinfo(@Param("id") String id); 44 | 45 | boolean updateMenuinfo(MenuEntity menuEntity); 46 | 47 | List FindAllsMenu(); 48 | 49 | } 50 | -------------------------------------------------------------------------------- /src/main/java/com/example/demo/Graduation/Dao/OderDao/OderDao.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.Graduation.Dao.OderDao; 2 | 3 | import com.example.demo.Graduation.entity.OderEntity; 4 | import org.apache.ibatis.annotations.Mapper; 5 | import org.apache.ibatis.annotations.Param; 6 | 7 | import java.math.BigDecimal; 8 | import java.util.List; 9 | 10 | @Mapper 11 | public interface OderDao { 12 | //添加总订单 13 | boolean AddOder(OderEntity oderEntity); 14 | 15 | //查询总订单 16 | List FindAllOderInfo(OderEntity oderEntity); 17 | 18 | 19 | //ID查询订单信息 20 | OderEntity IdFindOderInfo(@Param("oder_no") String oder_no); 21 | 22 | 23 | //处理订单 24 | boolean HandleOder(OderEntity oderEntity); 25 | 26 | 27 | //删除总订单 28 | boolean DeleteOder(@Param("oder_no") String oder_no); 29 | 30 | //删除子订单 31 | boolean Delete_OderItem(@Param("oder_no") String oder_no); 32 | 33 | //查询未处理的订单数量 34 | int FindUnprocessedOderNumber(); 35 | 36 | 37 | //今日销售金额 38 | BigDecimal ToDaySales(@Param("starttime") String starttime, @Param("endtime") String endtime); 39 | 40 | //申请退款 41 | boolean ApplyRefund(OderEntity oderEntity); 42 | 43 | 44 | //查询商品是否在未处理订单中 45 | List ProductIdFindOderInfo(@Param("product_id") String product_id); 46 | 47 | //查询会员拥有未完成的订单 48 | int FindMenberOder(@Param("member_name") String member_name); 49 | } 50 | -------------------------------------------------------------------------------- /src/main/java/com/example/demo/Graduation/Dao/OderDao/OderItemDao.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.Graduation.Dao.OderDao; 2 | 3 | import com.example.demo.Graduation.entity.OderItemEntity; 4 | import com.example.demo.Graduation.entity.ProducttypeSaleEchatrs; 5 | import com.example.demo.Graduation.entity.SaleEchartsEntity; 6 | import org.apache.ibatis.annotations.Mapper; 7 | import org.apache.ibatis.annotations.Param; 8 | 9 | import java.math.BigDecimal; 10 | import java.util.List; 11 | 12 | @Mapper 13 | public interface OderItemDao { 14 | // 15 | boolean AddOderItem(OderItemEntity oderItemEntity); 16 | 17 | //查询所有 18 | List FindAllOderItemInfo(OderItemEntity oderItemEntity); 19 | 20 | 21 | int SaleMumber(@Param("product_type")String product_type,@Param("startime")String startime,@Param("endtime")String endtime); 22 | 23 | BigDecimal SaleMoney(@Param("product_type")String product_type,@Param("startime")String startime,@Param("endtime")String endtime); 24 | 25 | List ProducttypeFindSaleEchatrsTime(@Param("product_type")String product_type,@Param("startime")String startime,@Param("endtime")String endtime); 26 | 27 | OderItemEntity IdFindOderItemInfo(@Param("oder_no")String oder_no); 28 | 29 | 30 | 31 | 32 | 33 | } 34 | -------------------------------------------------------------------------------- /src/main/java/com/example/demo/Graduation/Dao/PetDao/PetFoodDao.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.Graduation.Dao.PetDao; 2 | 3 | import com.example.demo.Graduation.entity.PetfoodEntity; 4 | import org.apache.ibatis.annotations.Mapper; 5 | import org.apache.ibatis.annotations.Param; 6 | 7 | import java.util.List; 8 | 9 | //宠物寄养管理 10 | @Mapper 11 | public interface PetFoodDao { 12 | 13 | //查询 14 | List FindAllPetFoodInfo(@Param("foodname") String foodname, @Param("foodtype") String foodtype); 15 | 16 | //查询食品名称是否重复 17 | PetfoodEntity VerificationPetFoodName(@Param("foodname") String foodname); 18 | 19 | //添加食品 20 | boolean AddPetFood(PetfoodEntity petfoodEntity); 21 | 22 | //删除食品 23 | boolean DeletePetFood(@Param("id") String id); 24 | 25 | //根据ID查询食品信息 26 | PetfoodEntity IdFindPetFoodInfo(@Param("id") String id); 27 | 28 | //修改库存 29 | boolean UpdatePetFoodNumber(@Param("id") String id, @Param("foodnumber") int foodnumber); 30 | 31 | //修改宠物食品信息 32 | boolean UpdatePetFood(PetfoodEntity petfoodEntity); 33 | 34 | //查询宠物食品种类的数量 35 | int PetFoodNumber(); 36 | 37 | 38 | } 39 | -------------------------------------------------------------------------------- /src/main/java/com/example/demo/Graduation/Dao/PetDao/PetFosterDao.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.Graduation.Dao.PetDao; 2 | 3 | import com.example.demo.Graduation.entity.PetfosterEntity; 4 | import org.apache.ibatis.annotations.Mapper; 5 | import org.apache.ibatis.annotations.Param; 6 | 7 | import java.util.List; 8 | 9 | //宠物食品管理 10 | @Mapper 11 | public interface PetFosterDao { 12 | //查询 13 | List FindAllInfo(@Param("feedername") String feedername, @Param("feederphone") String feederphone); 14 | 15 | //添加 16 | boolean AddPetFoster(PetfosterEntity petfosterEntity); 17 | 18 | //根据ID查询信息 19 | PetfosterEntity IdFindPetFosterinfo(@Param("id") String id); 20 | 21 | //删除 22 | boolean DeletePetFoster(@Param("id") String id); 23 | 24 | //修改 25 | boolean UpdatePetFoster(PetfosterEntity petfosterEntity); 26 | 27 | //结束寄养 28 | boolean StopFoster(@Param("id") String id); 29 | 30 | //查询正在寄养的宠物数量 31 | int FindUnfinishedPetFosterMumber(); 32 | } 33 | -------------------------------------------------------------------------------- /src/main/java/com/example/demo/Graduation/Dao/PetDao/PetJewelryDao.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.Graduation.Dao.PetDao; 2 | 3 | import com.example.demo.Graduation.entity.PetjewelryEntity; 4 | import org.apache.ibatis.annotations.Mapper; 5 | import org.apache.ibatis.annotations.Param; 6 | 7 | import java.util.List; 8 | 9 | //宠物饰品管理 10 | @Mapper 11 | public interface PetJewelryDao { 12 | 13 | List FindAllPetFoodInfo(@Param("petjewelryname") String petjewelryname, @Param("petjewelrytype") String petjewelrytype); 14 | 15 | //添加 16 | boolean AdddPetJewelry(PetjewelryEntity petjewelryEntity); 17 | 18 | //查询饰品名字是否重复 19 | PetjewelryEntity VerificationPetJewelryName(@Param("petjewelryname") String petjewelryname); 20 | 21 | //删除 22 | boolean DeletePetjewelry(@Param("id") String id); 23 | 24 | 25 | //ID查询饰品信息 26 | PetjewelryEntity IdFindPetjewelryInfo(@Param("id") String id); 27 | 28 | 29 | //修改库存-入库,出库,报废 30 | boolean UpdatePetJewelryNumber(@Param("id") String id, @Param("petjewelrynumber") int petjewelrynumber); 31 | 32 | 33 | //修改 34 | boolean UpdatePetjewelry(PetjewelryEntity petjewelryEntity); 35 | 36 | //查询饰品种类的数量 37 | int PetjewelryNumber(); 38 | 39 | } 40 | -------------------------------------------------------------------------------- /src/main/java/com/example/demo/Graduation/Dao/RoleDao/RoleDao.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.Graduation.Dao.RoleDao; 2 | 3 | import com.example.demo.Graduation.entity.RoleEntity; 4 | import com.example.demo.Graduation.entity.RoleResourcesEntity; 5 | import com.example.demo.Graduation.entity.UserEntity; 6 | import org.apache.ibatis.annotations.Mapper; 7 | import org.apache.ibatis.annotations.Param; 8 | 9 | import java.util.List; 10 | 11 | @Mapper 12 | public interface RoleDao { 13 | 14 | List DifferentRoleFindRoleInfo(@Param("rolename") String rolename); 15 | 16 | //根据角色的名称查询角色的信息 17 | RoleEntity RoleNameFindRoleInfo(@Param("rolename") String rolename); 18 | 19 | boolean DeleteUserRole(@Param("id") String id); 20 | 21 | List FindRoleInfo(@Param("name") String name); 22 | 23 | boolean AddRoleinfo(RoleEntity roleEntity); 24 | 25 | RoleEntity IdFindRoleInfo(@Param("id") String id); 26 | 27 | 28 | boolean UpdateRoleInfo(RoleEntity roleEntity); 29 | 30 | boolean DeleteRoleinfo(@Param("id") String id); 31 | 32 | List RoleIdFindUserRole(@Param("id") String id); 33 | 34 | boolean AddRoleResources(@Param("roleid") String roleid, @Param("resourcesid") String resourcesid); 35 | 36 | List FindRoleAllResources(@Param("roleid") String roleid); 37 | 38 | boolean DeleteRoleResources(@Param("roleid") String roleid); 39 | 40 | 41 | } 42 | -------------------------------------------------------------------------------- /src/main/java/com/example/demo/Graduation/Dao/SysNoticeDao/SysNoticeDao.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.Graduation.Dao.SysNoticeDao; 2 | 3 | import com.example.demo.Graduation.entity.SysNoticeEntity; 4 | import org.apache.ibatis.annotations.Mapper; 5 | import org.apache.ibatis.annotations.Param; 6 | 7 | import java.util.List; 8 | import java.util.function.BinaryOperator; 9 | 10 | @Mapper 11 | public interface SysNoticeDao { 12 | //查询 13 | List FindAllSysNoticeInfo(@Param("name") String name); 14 | 15 | 16 | //添加 17 | boolean AddSnotice(SysNoticeEntity sysNoticeEntity); 18 | 19 | //Id查询公告信息 20 | SysNoticeEntity IdFindSysNoticeInfo(@Param("id") String id); 21 | 22 | 23 | //修改公告信息 24 | boolean UpdateNotice(SysNoticeEntity sysNoticeEntity); 25 | 26 | //删除公告 27 | boolean DeleteNotice(@Param("id") String id); 28 | 29 | //停止公告 30 | boolean StopNotice(@Param("id") String id); 31 | 32 | //查询启动中的公告 33 | SysNoticeEntity FindStarNotice(@Param("id") String id); 34 | 35 | //启动公告 36 | 37 | boolean StarNotice(@Param("id") String id); 38 | 39 | //显示公告 40 | SysNoticeEntity ShowNotice(); 41 | 42 | 43 | } 44 | 45 | -------------------------------------------------------------------------------- /src/main/java/com/example/demo/Graduation/Dao/SysNoticeDao/SysUploadDao.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.Graduation.Dao.SysNoticeDao; 2 | 3 | import com.example.demo.Graduation.entity.SysUploadEntity; 4 | import org.apache.ibatis.annotations.Mapper; 5 | import org.apache.ibatis.annotations.Param; 6 | 7 | import java.util.List; 8 | 9 | @Mapper 10 | public interface SysUploadDao { 11 | 12 | List FindAllUploadInfo(@Param("name") String name); 13 | 14 | boolean AddUploadReource(SysUploadEntity sysUploadEntity); 15 | 16 | 17 | SysUploadEntity IdFindUploadInfo(@Param("id") String id); 18 | 19 | 20 | boolean DeleteUploadReource(@Param("id") String id); 21 | 22 | 23 | boolean UpdateUploadReource(@Param("id") String id,@Param("name") String name,@Param("url") String url); 24 | } 25 | -------------------------------------------------------------------------------- /src/main/java/com/example/demo/Graduation/Dao/UserDao/UserDao.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.Graduation.Dao.UserDao; 2 | 3 | import com.example.demo.Graduation.entity.RoleEntity; 4 | import com.example.demo.Graduation.entity.UserEntity; 5 | import org.apache.ibatis.annotations.Mapper; 6 | import org.apache.ibatis.annotations.Param; 7 | 8 | import java.util.List; 9 | 10 | @Mapper 11 | public interface UserDao { 12 | 13 | UserEntity FindUserInfo(@Param("username") String username); 14 | 15 | RoleEntity Finduserinfo2(@Param("username") String username); 16 | 17 | List UserNameFindUserInfo(@Param("username") String username, @Param("rolename") String rolename, @Param("name") String name); 18 | 19 | UserEntity UsernameFindUser(@Param("username") String username); 20 | 21 | boolean AddUserInfo(UserEntity userEntity); 22 | 23 | boolean AddUserRoleInfo(@Param("userid") String userid, @Param("roleid") String roleid); 24 | 25 | boolean SealUser(@Param("id") String id); 26 | 27 | boolean RelieveSealUser(@Param("id") String id); 28 | 29 | UserEntity UserIdFindUserinfo(@Param("id") String id); 30 | 31 | boolean DeleteUserInfo(@Param("id") String id); 32 | 33 | boolean UpdateUserRole(@Param("userid") String userid, @Param("roleid") String roleid); 34 | 35 | boolean UpdateUserPassword(@Param("password") String password, @Param("id") String id); 36 | 37 | 38 | } 39 | -------------------------------------------------------------------------------- /src/main/java/com/example/demo/Graduation/Dao/VipDao/VipDao.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.Graduation.Dao.VipDao; 2 | 3 | import com.example.demo.Graduation.entity.VipinfoEntity; 4 | import org.apache.ibatis.annotations.Mapper; 5 | import org.apache.ibatis.annotations.Param; 6 | 7 | import java.util.List; 8 | 9 | @Mapper 10 | public interface VipDao { 11 | 12 | List FindAllVipInfo(@Param("name") String name); 13 | 14 | VipinfoEntity VerificationVipName(@Param("name") String name); 15 | 16 | boolean AddVip(VipinfoEntity vipinfoEntity); 17 | 18 | VipinfoEntity IdFindVipInfo(@Param("id") String id); 19 | 20 | boolean UpdateVip(VipinfoEntity vipinfoEntity); 21 | 22 | //查询VIP的会员的关联 23 | int IdFindVipMemberinfo(@Param("vipid") String vipid); 24 | 25 | //删除VIP信息 26 | boolean DeleteVip(@Param("id") String id); 27 | 28 | 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/com/example/demo/Graduation/Tool/DateTime.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.Graduation.Tool; 2 | 3 | import java.text.ParsePosition; 4 | import java.text.SimpleDateFormat; 5 | import java.util.Date; 6 | 7 | //日期工具类 8 | public class DateTime { 9 | 10 | public static Date strToDateLong(String strDate) { 11 | SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); 12 | ParsePosition pos = new ParsePosition(0); 13 | Date strtodate = formatter.parse(strDate, pos); 14 | return strtodate; 15 | } 16 | 17 | } 18 | -------------------------------------------------------------------------------- /src/main/java/com/example/demo/Graduation/Tool/IpUntil.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.Graduation.Tool; 2 | 3 | import javax.servlet.http.HttpServletRequest; 4 | 5 | //IP工具类 6 | public class IpUntil { 7 | 8 | public static String getIpAdrress(HttpServletRequest request) { 9 | String ip = null; 10 | 11 | //X-Forwarded-For:Squid 服务代理 12 | String ipAddresses = request.getHeader("X-Forwarded-For"); 13 | String unknown = "unknown"; 14 | if (ipAddresses == null || ipAddresses.length() == 0 || unknown.equalsIgnoreCase(ipAddresses)) { 15 | //Proxy-Client-IP:apache 服务代理 16 | ipAddresses = request.getHeader("Proxy-Client-IP"); 17 | } 18 | 19 | if (ipAddresses == null || ipAddresses.length() == 0 || unknown.equalsIgnoreCase(ipAddresses)) { 20 | //WL-Proxy-Client-IP:weblogic 服务代理 21 | ipAddresses = request.getHeader("WL-Proxy-Client-IP"); 22 | } 23 | 24 | if (ipAddresses == null || ipAddresses.length() == 0 || unknown.equalsIgnoreCase(ipAddresses)) { 25 | //HTTP_CLIENT_IP:有些代理服务器 26 | ipAddresses = request.getHeader("HTTP_CLIENT_IP"); 27 | } 28 | 29 | if (ipAddresses == null || ipAddresses.length() == 0 || unknown.equalsIgnoreCase(ipAddresses)) { 30 | //X-Real-IP:nginx服务代理 31 | ipAddresses = request.getHeader("X-Real-IP"); 32 | } 33 | 34 | //有些网络通过多层代理,那么获取到的ip就会有多个,一般都是通过逗号(,)分割开来,并且第一个ip为客户端的真实IP 35 | if (ipAddresses != null && ipAddresses.length() != 0) { 36 | ip = ipAddresses.split(",")[0]; 37 | } 38 | 39 | //还是不能获取到,最后再通过request.getRemoteAddr();获取 40 | if (ip == null || ip.length() == 0 || unknown.equalsIgnoreCase(ipAddresses)) { 41 | ip = request.getRemoteAddr(); 42 | } 43 | return ip; 44 | } 45 | 46 | 47 | } 48 | -------------------------------------------------------------------------------- /src/main/java/com/example/demo/Graduation/Tool/JacksonUtil.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.Graduation.Tool; 2 | 3 | import com.fasterxml.jackson.annotation.JsonInclude; 4 | import com.fasterxml.jackson.databind.DeserializationFeature; 5 | import com.fasterxml.jackson.databind.ObjectMapper; 6 | 7 | import java.util.Map; 8 | 9 | public class JacksonUtil { 10 | 11 | private final static ObjectMapper objectMapper = new ObjectMapper(); 12 | 13 | private JacksonUtil() { 14 | 15 | } 16 | 17 | public static ObjectMapper getInstance() { 18 | return objectMapper; 19 | } 20 | 21 | /** 22 | * javaBean、列表数组转换为json字符串 23 | */ 24 | public static String obj2json(Object obj) throws Exception { 25 | return objectMapper.writeValueAsString(obj); 26 | } 27 | 28 | /** 29 | * json 转JavaBean 30 | */ 31 | 32 | public static T json2pojo(String jsonString, Class clazz) throws Exception { 33 | objectMapper.configure(DeserializationFeature.ACCEPT_SINGLE_VALUE_AS_ARRAY, true); 34 | return objectMapper.readValue(jsonString, clazz); 35 | } 36 | 37 | /** 38 | * json字符串转换为map 39 | */ 40 | public static Map json2map(String jsonString) throws Exception { 41 | ObjectMapper mapper = new ObjectMapper(); 42 | mapper.setSerializationInclusion(JsonInclude.Include.NON_NULL); 43 | return mapper.readValue(jsonString, Map.class); 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /src/main/java/com/example/demo/Graduation/Tool/PasswordUtil.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.Graduation.Tool; 2 | 3 | import org.apache.shiro.crypto.hash.SimpleHash; 4 | import org.apache.shiro.util.ByteSource; 5 | import org.springframework.beans.factory.annotation.Value; 6 | import org.springframework.stereotype.Service; 7 | 8 | @Service 9 | public class PasswordUtil { 10 | @Value("${md5salt}") 11 | private String md5salt; 12 | 13 | public String PasswordConfidential(String username, String password) throws Exception { 14 | if (password == null || password == "") { 15 | 16 | } else { 17 | String hashAlgorithName = "MD5"; 18 | int hashIterations2 = 5;//加密次数 19 | ByteSource credentialsSalt = ByteSource.Util.bytes(username + md5salt); 20 | Object obj = new SimpleHash(hashAlgorithName, password, credentialsSalt, hashIterations2); 21 | return obj.toString(); 22 | } 23 | return ""; 24 | } 25 | 26 | } 27 | -------------------------------------------------------------------------------- /src/main/java/com/example/demo/Graduation/Tool/QnUpload.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.Graduation.Tool; 2 | 3 | import com.example.demo.Graduation.Dao.SysNoticeDao.SysUploadDao; 4 | import com.example.demo.Graduation.entity.Result; 5 | import com.example.demo.Graduation.entity.SysUploadEntity; 6 | import com.google.gson.Gson; 7 | import com.qiniu.common.QiniuException; 8 | import com.qiniu.http.Response; 9 | import com.qiniu.storage.BucketManager; 10 | import com.qiniu.storage.Configuration; 11 | import com.qiniu.storage.Region; 12 | import com.qiniu.storage.UploadManager; 13 | import com.qiniu.storage.model.DefaultPutRet; 14 | import com.qiniu.util.Auth; 15 | import org.springframework.beans.factory.annotation.Autowired; 16 | import org.springframework.beans.factory.annotation.Value; 17 | import org.springframework.stereotype.Service; 18 | 19 | @Service 20 | public class QnUpload { 21 | @Value("${AccessKey}") 22 | private String AccessKey; 23 | @Value("${SecretKey}") 24 | private String SecretKey; 25 | @Value("${bucket}") 26 | private String bucket; 27 | @Autowired 28 | private SysUploadDao sysUploadDao; 29 | 30 | //上传资源到七牛云服务器 31 | public Result AddQiNiuResource(String localFilePath, String filename) throws Exception { 32 | Configuration cfg = new Configuration(Region.region2()); 33 | UploadManager uploadManager = new UploadManager(cfg); 34 | String key = filename; 35 | Auth auth = Auth.create(AccessKey, SecretKey); 36 | String upToken = auth.uploadToken(bucket); 37 | try { 38 | Response response = uploadManager.put(localFilePath, key, upToken); 39 | //解析上传成功的结果 40 | DefaultPutRet putRet = new Gson().fromJson(response.bodyString(), DefaultPutRet.class); 41 | if (putRet.key.equals("")) { 42 | return Result.error(0, "上传失败"); 43 | } else { 44 | return Result.success(1, "上传成功"); 45 | } 46 | } catch (QiniuException ex) { 47 | Response r = ex.response; 48 | System.err.println(r.toString()); 49 | try { 50 | System.err.println(r.bodyString()); 51 | } catch (QiniuException ex2) { 52 | //ignore 53 | } 54 | return Result.error(0, "上传失败"); 55 | } 56 | } 57 | 58 | 59 | 60 | //删除七牛云的资源 61 | public Result DeleteQiNiuResource(String id) { 62 | SysUploadEntity sysUploadEntity = sysUploadDao.IdFindUploadInfo(id); 63 | Configuration cfg = new Configuration(Region.region0()); 64 | Auth auth = Auth.create(AccessKey, SecretKey); 65 | BucketManager bucketManager = new BucketManager(auth, cfg); 66 | String key = sysUploadEntity.getUrl().substring(sysUploadEntity.getUrl().lastIndexOf('/')); 67 | try { 68 | bucketManager.delete(bucket, key.replace("/", "")); 69 | return Result.success(1, "删除成功"); 70 | } catch (QiniuException ex) { 71 | return Result.error(0, "删除失败"); 72 | } 73 | 74 | } 75 | } 76 | -------------------------------------------------------------------------------- /src/main/java/com/example/demo/Graduation/controller/Error/ErrorController.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.Graduation.controller.Error; 2 | 3 | import org.springframework.stereotype.Controller; 4 | import org.springframework.web.bind.annotation.RequestMapping; 5 | 6 | @Controller 7 | @RequestMapping(value = "/error") 8 | public class ErrorController { 9 | @RequestMapping(value = "/500") 10 | public String error500() throws Exception { 11 | System.out.println("这是500"); 12 | return "Error/500"; 13 | } 14 | 15 | @RequestMapping(value = "/404") 16 | public String error404() throws Exception { 17 | System.out.println("这是404"); 18 | return "Error/404"; 19 | } 20 | 21 | } 22 | -------------------------------------------------------------------------------- /src/main/java/com/example/demo/Graduation/controller/LogController/LogController.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.Graduation.controller.LogController; 2 | 3 | import com.example.demo.Graduation.entity.LogEntity; 4 | import com.example.demo.Graduation.service.LogService.LogService; 5 | import com.github.pagehelper.PageInfo; 6 | import org.apache.ibatis.annotations.Param; 7 | import org.springframework.beans.factory.annotation.Autowired; 8 | import org.springframework.stereotype.Controller; 9 | import org.springframework.ui.Model; 10 | import org.springframework.web.bind.annotation.RequestMapping; 11 | import org.springframework.web.bind.annotation.RequestParam; 12 | //操作日志 13 | @RequestMapping(value = "/syslog") 14 | @Controller 15 | public class LogController { 16 | @Autowired 17 | private LogService logService; 18 | 19 | //跳转到日志管理界面 20 | @RequestMapping(value = "") 21 | public String syslog(Model model, @RequestParam(value = "pageNo", defaultValue = "1") int pageNo, @RequestParam(value = "pageSize", defaultValue = "10") int pageSize, LogEntity logEntity) { 22 | PageInfo logEntityList = logService.FindSysLog(pageNo, pageSize, logEntity.getStarttime(), logEntity.getEndtime(), logEntity.getUsername()); 23 | model.addAttribute("loglist", logEntityList); 24 | model.addAttribute("logEntity", logEntity);//查询条件回显 25 | return "SysLog/syslog"; 26 | } 27 | 28 | //日志详情 29 | @RequestMapping(value = "/detailslog") 30 | public String detailslog(Model model, @Param("id") String id) { 31 | LogEntity logEntity = logService.IdFindLog(id); 32 | model.addAttribute("loglist", logEntity); 33 | return "SysLog/detailslog"; 34 | } 35 | 36 | 37 | } 38 | -------------------------------------------------------------------------------- /src/main/java/com/example/demo/Graduation/controller/MemberController/ExchangeRecordController.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.Graduation.controller.MemberController; 2 | 3 | import com.example.demo.Graduation.entity.Exchangerecord; 4 | import com.example.demo.Graduation.service.MemberService.ExchangeRecordService; 5 | import com.github.pagehelper.PageInfo; 6 | import org.springframework.beans.factory.annotation.Autowired; 7 | import org.springframework.stereotype.Controller; 8 | import org.springframework.ui.Model; 9 | import org.springframework.web.bind.annotation.GetMapping; 10 | import org.springframework.web.bind.annotation.RequestMapping; 11 | import org.springframework.web.bind.annotation.RequestParam; 12 | //兑换记录 13 | @Controller 14 | @RequestMapping(value = "/exchangerecord") 15 | public class ExchangeRecordController { 16 | @Autowired 17 | private ExchangeRecordService exchangeRecordService; 18 | 19 | @GetMapping(value = "") 20 | public String GetExchangeRecordList(Model model, @RequestParam(value = "pageNo", defaultValue = "1") int pageNo, @RequestParam(value = "pageSize", defaultValue = "5") int pageSize, @RequestParam(value = "membername",defaultValue = "") String membername) { 21 | PageInfo pagelist = exchangeRecordService.FindAllExchageRecordInfo(pageNo, pageSize, membername); 22 | model.addAttribute("exrecord", pagelist); 23 | model.addAttribute("membername", membername); 24 | return "ExchageRecord/exchangerecordlist"; 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /src/main/java/com/example/demo/Graduation/controller/OderController/SaleSrecordController.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.Graduation.controller.OderController; 2 | 3 | import com.alibaba.fastjson.JSONArray; 4 | import com.example.demo.Graduation.entity.OderEntity; 5 | import com.example.demo.Graduation.entity.OderItemEntity; 6 | import com.example.demo.Graduation.entity.Result; 7 | import com.example.demo.Graduation.entity.SaleEchartsEntity; 8 | import com.example.demo.Graduation.service.OderService.OderItemService; 9 | import com.github.pagehelper.PageInfo; 10 | import org.springframework.beans.factory.annotation.Autowired; 11 | import org.springframework.stereotype.Controller; 12 | import org.springframework.ui.Model; 13 | import org.springframework.web.bind.annotation.*; 14 | 15 | import java.util.List; 16 | 17 | //报表管理 18 | @Controller 19 | @RequestMapping(value = "/salesrecord") 20 | public class SaleSrecordController { 21 | @Autowired 22 | private OderItemService oderItemService; 23 | 24 | @GetMapping(value = "") 25 | public String FindAllOderItemInfo(Model model, OderItemEntity oderItemEntity, @RequestParam(value = "pageNo", defaultValue = "1") int pageNo, @RequestParam(value = "pageSize", defaultValue = "10") int pageSize) { 26 | PageInfo salelist = oderItemService.FindAllOderItemInfo(pageNo, pageSize, oderItemEntity); 27 | model.addAttribute("salelist", salelist); 28 | model.addAttribute("sreachcondition", oderItemEntity); 29 | return "SaleSrecord/salesrecord"; 30 | } 31 | 32 | @PostMapping(value = "/SaleEcharts") 33 | @ResponseBody 34 | public JSONArray SaleEcharts(SaleEchartsEntity saleEchartsEntity) { 35 | JSONArray jsonArray = oderItemService.SaleEcharts(saleEchartsEntity); 36 | System.out.println(jsonArray); 37 | return jsonArray; 38 | } 39 | 40 | 41 | } 42 | -------------------------------------------------------------------------------- /src/main/java/com/example/demo/Graduation/controller/ReportController/ReportController.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.Graduation.controller.ReportController; 2 | 3 | import org.springframework.stereotype.Controller; 4 | import org.springframework.ui.Model; 5 | import org.springframework.web.bind.annotation.GetMapping; 6 | import org.springframework.web.bind.annotation.RequestMapping; 7 | 8 | @Controller 9 | @RequestMapping(value = "/Report") 10 | public class ReportController { 11 | 12 | @RequestMapping(value = "") 13 | public String GetReportlist() { 14 | return "Report/ReportEcharts"; 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /src/main/java/com/example/demo/Graduation/controller/VipController/VipController.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.Graduation.controller.VipController; 2 | 3 | import com.example.demo.Graduation.Annotation.LogAop; 4 | import com.example.demo.Graduation.entity.Result; 5 | import com.example.demo.Graduation.entity.VipinfoEntity; 6 | import com.example.demo.Graduation.service.VipService.VipService; 7 | import com.github.pagehelper.PageInfo; 8 | import org.apache.ibatis.annotations.Param; 9 | import org.apache.shiro.authz.annotation.RequiresPermissions; 10 | import org.springframework.beans.factory.annotation.Autowired; 11 | import org.springframework.stereotype.Controller; 12 | import org.springframework.ui.Model; 13 | import org.springframework.web.bind.annotation.PostMapping; 14 | import org.springframework.web.bind.annotation.RequestMapping; 15 | import org.springframework.web.bind.annotation.RequestParam; 16 | import org.springframework.web.bind.annotation.ResponseBody; 17 | //VIP管理 18 | @Controller 19 | @RequestMapping("/VipInfo") 20 | public class VipController { 21 | @Autowired 22 | private VipService vipService; 23 | 24 | 25 | @RequestMapping("") 26 | public String GetVipInfoList(Model model, @RequestParam(value = "pageNo", defaultValue = "1") int pageNo, @RequestParam(value = "pageSize", defaultValue = "5") int pageSize, VipinfoEntity vipinfoEntity) { 27 | PageInfo viplist = vipService.FindAllVipInfo(pageNo, pageSize, vipinfoEntity.getName()); 28 | model.addAttribute("viplist", viplist); 29 | model.addAttribute("vipname", vipinfoEntity.getName()); 30 | return "Vip/viplist"; 31 | } 32 | 33 | //跳转到添加VIP界面 34 | @RequestMapping("/GetAddVip") 35 | public String GetAddVip() { 36 | return "Vip/vipadd"; 37 | } 38 | 39 | //跳转到修改VIP界面 40 | @RequestMapping("/GetUpdateVip") 41 | public String GetUpdateVip(@Param("id") String id, Model model) { 42 | VipinfoEntity vipinfoEntity = vipService.IdFindVipInfo(id); 43 | model.addAttribute("vipinfo", vipinfoEntity); 44 | return "Vip/vipupdate"; 45 | } 46 | 47 | //添加VIP 48 | @LogAop("添加VIP") 49 | @PostMapping(value = "/AddVip") 50 | @RequiresPermissions("vip:add") 51 | @ResponseBody 52 | public Result AddVip(VipinfoEntity vipinfoEntity) { 53 | Result result = vipService.AddVip(vipinfoEntity); 54 | return result; 55 | } 56 | 57 | //修改VIP信息 58 | @LogAop("修改VIP") 59 | @PostMapping(value = "/UpdateVip") 60 | @RequiresPermissions("vip:update") 61 | @ResponseBody 62 | public Result UpdateVip(VipinfoEntity vipinfoEntity) { 63 | Result result = vipService.UpdateVip(vipinfoEntity); 64 | return result; 65 | } 66 | 67 | 68 | //查询vip名字是否重复 69 | @PostMapping(value = "/VerificationVipName") 70 | @ResponseBody 71 | public Result VerificationVipName(@RequestParam("name") String name) { 72 | Result result = vipService.VerificationVipName(name); 73 | return result; 74 | } 75 | 76 | //删除VIP信息 77 | @LogAop("删除VIP") 78 | @RequiresPermissions("vip:delete") 79 | @PostMapping(value = "/DeleteVip") 80 | @ResponseBody 81 | public Result DeleteVip(@RequestParam("id") String id) { 82 | Result result = vipService.DeleteVip(id); 83 | return result; 84 | } 85 | 86 | } 87 | -------------------------------------------------------------------------------- /src/main/java/com/example/demo/Graduation/controller/WeComeController/WeComeController.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.Graduation.controller.WeComeController; 2 | 3 | import com.example.demo.Graduation.entity.RoleEntity; 4 | import com.example.demo.Graduation.service.MenuService.MenuService; 5 | import com.example.demo.Graduation.service.UserService.UserService; 6 | import org.apache.shiro.SecurityUtils; 7 | import org.springframework.beans.factory.annotation.Autowired; 8 | import org.springframework.stereotype.Controller; 9 | import org.springframework.ui.Model; 10 | import org.springframework.web.bind.annotation.RequestMapping; 11 | //欢迎界面 12 | @Controller 13 | @RequestMapping("/menu") 14 | public class WeComeController { 15 | @Autowired 16 | private MenuService menuService; 17 | @Autowired 18 | private UserService userService; 19 | 20 | 21 | /* 22 | 跳转到桌面页 23 | */ 24 | @RequestMapping(value = "/Welcome") 25 | public String Test2(Model model) { 26 | String LoginUsername = (String) SecurityUtils.getSubject().getPrincipal();//已经登录的用户 27 | RoleEntity roleEntity = userService.Finduserinfo2(LoginUsername); 28 | model.addAttribute("roleEntity", roleEntity); 29 | model.addAttribute("username",LoginUsername); 30 | return "welcome"; 31 | } 32 | 33 | 34 | } 35 | -------------------------------------------------------------------------------- /src/main/java/com/example/demo/Graduation/entity/Activity.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.Graduation.entity; 2 | 3 | import java.math.BigDecimal; 4 | import java.util.Date; 5 | 6 | //活动管理 7 | public class Activity { 8 | private String id; 9 | private String activity_name;//活动名称 10 | private Date activity_starttime;//活动开始时间 11 | private Date activity_endtime;//活动结束时间 12 | private String activity_content;//活动内容 13 | private float activity_discount;//活动折扣 14 | private int activity_status;//活动状态 15 | private String starttime;// 16 | private String endtime; 17 | 18 | public float getActivity_discount() { 19 | return activity_discount; 20 | } 21 | 22 | public void setActivity_discount(float activity_discount) { 23 | this.activity_discount = activity_discount; 24 | } 25 | 26 | public String getStarttime() { 27 | return starttime; 28 | } 29 | 30 | public void setStarttime(String starttime) { 31 | this.starttime = starttime; 32 | } 33 | 34 | public String getEndtime() { 35 | return endtime; 36 | } 37 | 38 | public void setEndtime(String endtime) { 39 | this.endtime = endtime; 40 | } 41 | 42 | public String getId() { 43 | return id; 44 | } 45 | 46 | public void setId(String id) { 47 | this.id = id; 48 | } 49 | 50 | public String getActivity_name() { 51 | return activity_name; 52 | } 53 | 54 | public void setActivity_name(String activity_name) { 55 | this.activity_name = activity_name; 56 | } 57 | 58 | public Date getActivity_starttime() { 59 | return activity_starttime; 60 | } 61 | 62 | public void setActivity_starttime(Date activity_starttime) { 63 | this.activity_starttime = activity_starttime; 64 | } 65 | 66 | public Date getActivity_endtime() { 67 | return activity_endtime; 68 | } 69 | 70 | public void setActivity_endtime(Date activity_endtime) { 71 | this.activity_endtime = activity_endtime; 72 | } 73 | 74 | public String getActivity_content() { 75 | return activity_content; 76 | } 77 | 78 | public void setActivity_content(String activity_content) { 79 | this.activity_content = activity_content; 80 | } 81 | 82 | 83 | public int getActivity_status() { 84 | return activity_status; 85 | } 86 | 87 | public void setActivity_status(int activity_status) { 88 | this.activity_status = activity_status; 89 | } 90 | } 91 | -------------------------------------------------------------------------------- /src/main/java/com/example/demo/Graduation/entity/Exchangerecord.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.Graduation.entity; 2 | 3 | 4 | import java.util.Date; 5 | 6 | //积分兑换记录信息表 7 | public class Exchangerecord { 8 | 9 | private String id;// 10 | private String product_id;//商品ID 11 | private String product_name;//商品名称 12 | private String product_type;//商品类型 13 | private String membername;//兑换会员名 14 | private int number;//兑换数量 15 | private Date redeem_time;//兑换时间 16 | private int redeemintegral;//兑换积分 17 | 18 | public int getRedeemintegral() { 19 | return redeemintegral; 20 | } 21 | 22 | public void setRedeemintegral(int redeemintegral) { 23 | this.redeemintegral = redeemintegral; 24 | } 25 | 26 | public String getId() { 27 | return id; 28 | } 29 | 30 | public void setId(String id) { 31 | this.id = id; 32 | } 33 | 34 | public String getProduct_id() { 35 | return product_id; 36 | } 37 | 38 | public void setProduct_id(String product_id) { 39 | this.product_id = product_id; 40 | } 41 | 42 | public String getProduct_name() { 43 | return product_name; 44 | } 45 | 46 | public void setProduct_name(String product_name) { 47 | this.product_name = product_name; 48 | } 49 | 50 | public String getProduct_type() { 51 | return product_type; 52 | } 53 | 54 | public void setProduct_type(String product_type) { 55 | this.product_type = product_type; 56 | } 57 | 58 | public String getMembername() { 59 | return membername; 60 | } 61 | 62 | public void setMembername(String membername) { 63 | this.membername = membername; 64 | } 65 | 66 | public int getNumber() { 67 | return number; 68 | } 69 | 70 | public void setNumber(int number) { 71 | this.number = number; 72 | } 73 | 74 | public Date getRedeem_time() { 75 | return redeem_time; 76 | } 77 | 78 | public void setRedeem_time(Date redeem_time) { 79 | this.redeem_time = redeem_time; 80 | } 81 | } 82 | -------------------------------------------------------------------------------- /src/main/java/com/example/demo/Graduation/entity/IntegralExchange.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.Graduation.entity; 2 | 3 | //积分兑换信息表 4 | public class IntegralExchange { 5 | 6 | private String id; //商品ID 7 | private String name;//商品名称 8 | private String type;//商品类型 9 | private int needredeem;//兑换需要的积分 10 | private int number;//兑换的库存 11 | 12 | 13 | public String getId() { 14 | return id; 15 | } 16 | 17 | public void setId(String id) { 18 | this.id = id; 19 | } 20 | 21 | 22 | public String getName() { 23 | return name; 24 | } 25 | 26 | public void setName(String name) { 27 | this.name = name; 28 | } 29 | 30 | 31 | public String getType() { 32 | return type; 33 | } 34 | 35 | public void setType(String type) { 36 | this.type = type; 37 | } 38 | 39 | public int getNeedredeem() { 40 | return needredeem; 41 | } 42 | 43 | public void setNeedredeem(int needredeem) { 44 | this.needredeem = needredeem; 45 | } 46 | 47 | public int getNumber() { 48 | return number; 49 | } 50 | 51 | public void setNumber(int number) { 52 | this.number = number; 53 | } 54 | } 55 | -------------------------------------------------------------------------------- /src/main/java/com/example/demo/Graduation/entity/LogEntity.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.Graduation.entity; 2 | 3 | import java.util.Date; 4 | 5 | public class LogEntity { 6 | private String id;//id 7 | private String username;//操作者 8 | private String operation;//操作 9 | private int time;//响应时间 10 | private String method;//请求方法 11 | private String params;//参数 12 | private String ip;//iP 13 | private Date create_time;//请求时间 14 | private String starttime; 15 | private String endtime; 16 | 17 | public String getStarttime() { 18 | return starttime; 19 | } 20 | 21 | public void setStarttime(String starttime) { 22 | this.starttime = starttime; 23 | } 24 | 25 | public String getEndtime() { 26 | return endtime; 27 | } 28 | 29 | public void setEndtime(String endtime) { 30 | this.endtime = endtime; 31 | } 32 | 33 | public String getId() { 34 | return id; 35 | } 36 | 37 | public void setId(String id) { 38 | this.id = id; 39 | } 40 | 41 | public String getUsername() { 42 | return username; 43 | } 44 | 45 | public void setUsername(String username) { 46 | this.username = username; 47 | } 48 | 49 | public String getOperation() { 50 | return operation; 51 | } 52 | 53 | public void setOperation(String operation) { 54 | this.operation = operation; 55 | } 56 | 57 | public int getTime() { 58 | return time; 59 | } 60 | 61 | public void setTime(int time) { 62 | this.time = time; 63 | } 64 | 65 | public String getMethod() { 66 | return method; 67 | } 68 | 69 | public void setMethod(String method) { 70 | this.method = method; 71 | } 72 | 73 | public String getParams() { 74 | return params; 75 | } 76 | 77 | public void setParams(String params) { 78 | this.params = params; 79 | } 80 | 81 | public String getIp() { 82 | return ip; 83 | } 84 | 85 | public void setIp(String ip) { 86 | this.ip = ip; 87 | } 88 | 89 | public Date getCreate_time() { 90 | return create_time; 91 | } 92 | 93 | public void setCreate_time(Date create_time) { 94 | this.create_time = create_time; 95 | } 96 | } 97 | -------------------------------------------------------------------------------- /src/main/java/com/example/demo/Graduation/entity/MemberEntity.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.Graduation.entity; 2 | 3 | import java.math.BigDecimal; 4 | 5 | public class MemberEntity { 6 | private String id;//id 7 | private String name;//会员名 8 | private String phone;//会员手机 9 | private String email;//会员邮箱 10 | private BigDecimal balance;//账户余额 11 | private VipinfoEntity vip; 12 | private MemberVipEntity mv; 13 | private int integral;//会员积分 14 | private BigDecimal total_consumption;//总消费 15 | 16 | public BigDecimal getTotal_consumption() { 17 | return total_consumption; 18 | } 19 | 20 | public void setTotal_consumption(BigDecimal total_consumption) { 21 | this.total_consumption = total_consumption; 22 | } 23 | 24 | public int getIntegral() { 25 | return integral; 26 | } 27 | 28 | public void setIntegral(int integral) { 29 | this.integral = integral; 30 | } 31 | 32 | public BigDecimal getBalance() { 33 | return balance; 34 | } 35 | 36 | public void setBalance(BigDecimal balance) { 37 | this.balance = balance; 38 | } 39 | 40 | public MemberVipEntity getMv() { 41 | return mv; 42 | } 43 | 44 | public void setMv(MemberVipEntity mv) { 45 | this.mv = mv; 46 | } 47 | 48 | public VipinfoEntity getVip() { 49 | return vip; 50 | } 51 | 52 | public void setVip(VipinfoEntity vip) { 53 | this.vip = vip; 54 | } 55 | 56 | public String getId() { 57 | return id; 58 | } 59 | 60 | public void setId(String id) { 61 | this.id = id; 62 | } 63 | 64 | public String getName() { 65 | return name; 66 | } 67 | 68 | public void setName(String name) { 69 | this.name = name; 70 | } 71 | 72 | public String getPhone() { 73 | return phone; 74 | } 75 | 76 | public void setPhone(String phone) { 77 | this.phone = phone; 78 | } 79 | 80 | public String getEmail() { 81 | return email; 82 | } 83 | 84 | public void setEmail(String email) { 85 | this.email = email; 86 | } 87 | 88 | } 89 | -------------------------------------------------------------------------------- /src/main/java/com/example/demo/Graduation/entity/MemberVipEntity.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.Graduation.entity; 2 | 3 | public class MemberVipEntity { 4 | private String id; 5 | private String vipid; 6 | private String memberid; 7 | 8 | public String getId() { 9 | return id; 10 | } 11 | 12 | public void setId(String id) { 13 | this.id = id; 14 | } 15 | 16 | public String getVipid() { 17 | return vipid; 18 | } 19 | 20 | public void setVipid(String vipid) { 21 | this.vipid = vipid; 22 | } 23 | 24 | public String getMemberid() { 25 | return memberid; 26 | } 27 | 28 | public void setMemberid(String memberid) { 29 | this.memberid = memberid; 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /src/main/java/com/example/demo/Graduation/entity/MenuEntity.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.Graduation.entity; 2 | 3 | public class MenuEntity { 4 | private String id; 5 | private String name; 6 | private String parent_id; 7 | private String url; 8 | private int type; 9 | private String permission; 10 | private int sort; 11 | private MenuEntity2 menuEntity2; 12 | private UserEntity userEntity; 13 | private RoleEntity roleEntity; 14 | private UserRole userRole; 15 | 16 | public UserEntity getUserEntity() { 17 | return userEntity; 18 | } 19 | 20 | public void setUserEntity(UserEntity userEntity) { 21 | this.userEntity = userEntity; 22 | } 23 | 24 | public RoleEntity getRoleEntity() { 25 | return roleEntity; 26 | } 27 | 28 | public void setRoleEntity(RoleEntity roleEntity) { 29 | this.roleEntity = roleEntity; 30 | } 31 | 32 | public UserRole getUserRole() { 33 | return userRole; 34 | } 35 | 36 | public void setUserRole(UserRole userRole) { 37 | this.userRole = userRole; 38 | } 39 | 40 | public MenuEntity2 getMenuEntity2() { 41 | return menuEntity2; 42 | } 43 | 44 | public void setMenuEntity2(MenuEntity2 menuEntity2) { 45 | this.menuEntity2 = menuEntity2; 46 | } 47 | 48 | public String getId() { 49 | return id; 50 | } 51 | 52 | public void setId(String id) { 53 | this.id = id; 54 | } 55 | 56 | public String getName() { 57 | return name; 58 | } 59 | 60 | public void setName(String name) { 61 | this.name = name; 62 | } 63 | 64 | public String getParent_id() { 65 | return parent_id; 66 | } 67 | 68 | public void setParent_id(String parent_id) { 69 | this.parent_id = parent_id; 70 | } 71 | 72 | public String getUrl() { 73 | return url; 74 | } 75 | 76 | public void setUrl(String url) { 77 | this.url = url; 78 | } 79 | 80 | public int getType() { 81 | return type; 82 | } 83 | 84 | public void setType(int type) { 85 | this.type = type; 86 | } 87 | 88 | public String getPermission() { 89 | return permission; 90 | } 91 | 92 | public void setPermission(String permission) { 93 | this.permission = permission; 94 | } 95 | 96 | public int getSort() { 97 | return sort; 98 | } 99 | 100 | public void setSort(int sort) { 101 | this.sort = sort; 102 | } 103 | } 104 | -------------------------------------------------------------------------------- /src/main/java/com/example/demo/Graduation/entity/MenuEntity2.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.Graduation.entity; 2 | 3 | public class MenuEntity2 { 4 | private String id; 5 | private String name; 6 | private String url; 7 | 8 | public String getId() { 9 | return id; 10 | } 11 | 12 | public void setId(String id) { 13 | this.id = id; 14 | } 15 | 16 | public String getName() { 17 | return name; 18 | } 19 | 20 | public void setName(String name) { 21 | this.name = name; 22 | } 23 | 24 | public String getUrl() { 25 | return url; 26 | } 27 | 28 | public void setUrl(String url) { 29 | this.url = url; 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /src/main/java/com/example/demo/Graduation/entity/PetfoodEntity.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.Graduation.entity; 2 | 3 | 4 | import java.math.BigDecimal; 5 | 6 | public class PetfoodEntity { 7 | 8 | private String id; 9 | private String foodtype;//食品类型 10 | private int foodnumber;//食品库存数量 11 | private BigDecimal foodprice;//食品单价 12 | private String foodname;//食品名字 13 | private String member_name;//购买人 14 | 15 | public String getMember_name() { 16 | return member_name; 17 | } 18 | 19 | public void setMember_name(String member_name) { 20 | this.member_name = member_name; 21 | } 22 | 23 | public int getFoodnumber() { 24 | return foodnumber; 25 | } 26 | 27 | public void setFoodnumber(int foodnumber) { 28 | this.foodnumber = foodnumber; 29 | } 30 | 31 | public String getFoodname() { 32 | return foodname; 33 | } 34 | 35 | public void setFoodname(String foodname) { 36 | this.foodname = foodname; 37 | } 38 | 39 | public BigDecimal getFoodprice() { 40 | return foodprice; 41 | } 42 | 43 | public void setFoodprice(BigDecimal foodprice) { 44 | this.foodprice = foodprice; 45 | } 46 | 47 | public String getId() { 48 | return id; 49 | } 50 | 51 | public void setId(String id) { 52 | this.id = id; 53 | } 54 | 55 | 56 | public String getFoodtype() { 57 | return foodtype; 58 | } 59 | 60 | public void setFoodtype(String foodtype) { 61 | this.foodtype = foodtype; 62 | } 63 | 64 | 65 | } 66 | -------------------------------------------------------------------------------- /src/main/java/com/example/demo/Graduation/entity/PetfosterEntity.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.Graduation.entity; 2 | 3 | 4 | import org.springframework.format.annotation.DateTimeFormat; 5 | 6 | import java.math.BigDecimal; 7 | import java.util.Date; 8 | 9 | public class PetfosterEntity { 10 | 11 | private String id;// 12 | private String feedername;//饲养者名称 13 | private String pettype;//宠物类型 14 | private String petcage;//宠物笼子编号 15 | private Date fosterstartime;//寄养开始时间 16 | private Date fosterendtime;//寄养结束时间 17 | private String fosterremark;//寄养备注 18 | private String feederphone;//饲养者手机号 19 | private BigDecimal fosterprice;//寄养价格 20 | private int state;//寄养状态 0是寄养者,1是寄养完成 21 | private int oderstatus;//订单状态 0是生成订单,1是不生成订单 22 | 23 | public int getOderstatus() { 24 | return oderstatus; 25 | } 26 | 27 | public void setOderstatus(int oderstatus) { 28 | this.oderstatus = oderstatus; 29 | } 30 | 31 | public BigDecimal getFosterprice() { 32 | return fosterprice; 33 | } 34 | 35 | public void setFosterprice(BigDecimal fosterprice) { 36 | this.fosterprice = fosterprice; 37 | } 38 | 39 | public int getState() { 40 | return state; 41 | } 42 | 43 | public void setState(int state) { 44 | this.state = state; 45 | } 46 | 47 | public Date getFosterstartime() { 48 | return fosterstartime; 49 | } 50 | 51 | public void setFosterstartime(Date fosterstartime) { 52 | this.fosterstartime = fosterstartime; 53 | } 54 | 55 | public Date getFosterendtime() { 56 | return fosterendtime; 57 | } 58 | 59 | public void setFosterendtime(Date fosterendtime) { 60 | this.fosterendtime = fosterendtime; 61 | } 62 | 63 | 64 | public String getId() { 65 | return id; 66 | } 67 | 68 | public void setId(String id) { 69 | this.id = id; 70 | } 71 | 72 | 73 | public String getFeedername() { 74 | return feedername; 75 | } 76 | 77 | public void setFeedername(String feedername) { 78 | this.feedername = feedername; 79 | } 80 | 81 | 82 | public String getPettype() { 83 | return pettype; 84 | } 85 | 86 | public void setPettype(String pettype) { 87 | this.pettype = pettype; 88 | } 89 | 90 | 91 | public String getPetcage() { 92 | return petcage; 93 | } 94 | 95 | public void setPetcage(String petcage) { 96 | this.petcage = petcage; 97 | } 98 | 99 | 100 | public String getFosterremark() { 101 | return fosterremark; 102 | } 103 | 104 | public void setFosterremark(String fosterremark) { 105 | this.fosterremark = fosterremark; 106 | } 107 | 108 | 109 | public String getFeederphone() { 110 | return feederphone; 111 | } 112 | 113 | public void setFeederphone(String feederphone) { 114 | this.feederphone = feederphone; 115 | } 116 | 117 | } 118 | -------------------------------------------------------------------------------- /src/main/java/com/example/demo/Graduation/entity/PetjewelryEntity.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.Graduation.entity; 2 | 3 | 4 | import java.math.BigDecimal; 5 | 6 | public class PetjewelryEntity { 7 | 8 | private String id; 9 | private String petjewelryname; //饰品名称 10 | private String petjewelrytype; //饰品类型 11 | private BigDecimal petjewelryprice;//饰品单价 12 | private int petjewelrynumber;//饰品库存 13 | 14 | public int getPetjewelrynumber() { 15 | return petjewelrynumber; 16 | } 17 | 18 | public void setPetjewelrynumber(int petjewelrynumber) { 19 | this.petjewelrynumber = petjewelrynumber; 20 | } 21 | 22 | public String getId() { 23 | return id; 24 | } 25 | 26 | public void setId(String id) { 27 | this.id = id; 28 | } 29 | 30 | 31 | public String getPetjewelryname() { 32 | return petjewelryname; 33 | } 34 | 35 | public void setPetjewelryname(String petjewelryname) { 36 | this.petjewelryname = petjewelryname; 37 | } 38 | 39 | 40 | public String getPetjewelrytype() { 41 | return petjewelrytype; 42 | } 43 | 44 | public void setPetjewelrytype(String petjewelrytype) { 45 | this.petjewelrytype = petjewelrytype; 46 | } 47 | 48 | 49 | public BigDecimal getPetjewelryprice() { 50 | return petjewelryprice; 51 | } 52 | 53 | public void setPetjewelryprice(BigDecimal petjewelryprice) { 54 | this.petjewelryprice = petjewelryprice; 55 | } 56 | 57 | 58 | } 59 | -------------------------------------------------------------------------------- /src/main/java/com/example/demo/Graduation/entity/ProducttypeSaleEchatrs.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.Graduation.entity; 2 | 3 | import java.math.BigDecimal; 4 | import java.util.Date; 5 | 6 | public class ProducttypeSaleEchatrs { 7 | private String payment_time;//销售时间 8 | private BigDecimal final_payment;//销售金额 9 | 10 | public String getPayment_time() { 11 | return payment_time; 12 | } 13 | 14 | public void setPayment_time(String payment_time) { 15 | this.payment_time = payment_time; 16 | } 17 | 18 | public BigDecimal getFinal_payment() { 19 | return final_payment; 20 | } 21 | 22 | public void setFinal_payment(BigDecimal final_payment) { 23 | this.final_payment = final_payment; 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /src/main/java/com/example/demo/Graduation/entity/Reservation.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.Graduation.entity; 2 | 3 | import java.util.Date; 4 | 5 | //预约 6 | public class Reservation { 7 | private String id; 8 | private String reservation_name;//预约人 9 | private Date reservation_time;//预约时间 10 | private String reservation_type;//预约类型 11 | private String reservation_content;//预约内容 12 | private int status;//预约状态 13 | private String time; 14 | private String phone;//手机 15 | 16 | public String getPhone() { 17 | return phone; 18 | } 19 | 20 | public void setPhone(String phone) { 21 | this.phone = phone; 22 | } 23 | 24 | public String getTime() { 25 | return time; 26 | } 27 | 28 | public void setTime(String time) { 29 | this.time = time; 30 | } 31 | 32 | public String getId() { 33 | return id; 34 | } 35 | 36 | public void setId(String id) { 37 | this.id = id; 38 | } 39 | 40 | public String getReservation_name() { 41 | return reservation_name; 42 | } 43 | 44 | public void setReservation_name(String reservation_name) { 45 | this.reservation_name = reservation_name; 46 | } 47 | 48 | public Date getReservation_time() { 49 | return reservation_time; 50 | } 51 | 52 | public void setReservation_time(Date reservation_time) { 53 | this.reservation_time = reservation_time; 54 | } 55 | 56 | public String getReservation_type() { 57 | return reservation_type; 58 | } 59 | 60 | public void setReservation_type(String reservation_type) { 61 | this.reservation_type = reservation_type; 62 | } 63 | 64 | public String getReservation_content() { 65 | return reservation_content; 66 | } 67 | 68 | public void setReservation_content(String reservation_content) { 69 | this.reservation_content = reservation_content; 70 | } 71 | 72 | public int getStatus() { 73 | return status; 74 | } 75 | 76 | public void setStatus(int status) { 77 | this.status = status; 78 | } 79 | } 80 | -------------------------------------------------------------------------------- /src/main/java/com/example/demo/Graduation/entity/Result.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.Graduation.entity; 2 | 3 | public class Result { 4 | private int code; //状态码 1是成功 0是失败 5 | private String content;//内容 6 | private T data; 7 | 8 | public Result() { 9 | } 10 | 11 | //状态+内容 12 | public Result(int code, String content) { 13 | this.code = code; 14 | this.content = content; 15 | } 16 | 17 | //状态+数据 18 | public Result(int code, T data) { 19 | this.code = code; 20 | this.data = data; 21 | } 22 | 23 | //状态+内容+数据 24 | public Result(int code, String content, T data) { 25 | this.code = code; 26 | this.content = content; 27 | this.data = data; 28 | } 29 | 30 | //成功 31 | public static Result success(int code, String content) { 32 | return new Result(code, content); 33 | } 34 | 35 | //失败 36 | public static Result error(int code, String content) { 37 | return new Result(code, content); 38 | } 39 | 40 | public static Result listsuccess(int code, String content, T data) { 41 | return new Result(code, content, data); 42 | } 43 | 44 | public static Result listerror(int code, String content, T data) { 45 | return new Result(code, content, data); 46 | } 47 | 48 | 49 | public int getCode() { 50 | return code; 51 | } 52 | 53 | public void setCode(int code) { 54 | this.code = code; 55 | } 56 | 57 | public String getContent() { 58 | return content; 59 | } 60 | 61 | public void setContent(String content) { 62 | this.content = content; 63 | } 64 | 65 | } 66 | -------------------------------------------------------------------------------- /src/main/java/com/example/demo/Graduation/entity/RoleEntity.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.Graduation.entity; 2 | 3 | import com.fasterxml.jackson.annotation.JsonFormat; 4 | 5 | import java.util.Date; 6 | 7 | public class RoleEntity { 8 | private String id; 9 | private String name;//名称 10 | private String description;//备注 11 | private Date createtime; 12 | private Date updatetime; 13 | private Long roletree; 14 | 15 | public Long getRoletree() { 16 | return roletree; 17 | } 18 | 19 | public void setRoletree(Long roletree) { 20 | this.roletree = roletree; 21 | } 22 | 23 | public String getId() { 24 | return id; 25 | } 26 | 27 | public void setId(String id) { 28 | this.id = id; 29 | } 30 | 31 | public String getName() { 32 | return name; 33 | } 34 | 35 | public void setName(String name) { 36 | this.name = name; 37 | } 38 | 39 | public String getDescription() { 40 | return description; 41 | } 42 | 43 | public void setDescription(String description) { 44 | this.description = description; 45 | } 46 | 47 | public Date getCreatetime() { 48 | return createtime; 49 | } 50 | 51 | public void setCreatetime(Date createtime) { 52 | this.createtime = createtime; 53 | } 54 | 55 | public Date getUpdatetime() { 56 | return updatetime; 57 | } 58 | 59 | public void setUpdatetime(Date updatetime) { 60 | this.updatetime = updatetime; 61 | } 62 | } 63 | -------------------------------------------------------------------------------- /src/main/java/com/example/demo/Graduation/entity/RoleResourcesEntity.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.Graduation.entity; 2 | 3 | public class RoleResourcesEntity { 4 | private int id; 5 | private String roleid;//角色ID 6 | private String resourcesid;//菜单ID 7 | 8 | public int getId() { 9 | return id; 10 | } 11 | 12 | public void setId(int id) { 13 | this.id = id; 14 | } 15 | 16 | public String getRoleid() { 17 | return roleid; 18 | } 19 | 20 | public void setRoleid(String roleid) { 21 | this.roleid = roleid; 22 | } 23 | 24 | public String getResourcesid() { 25 | return resourcesid; 26 | } 27 | 28 | public void setResourcesid(String resourcesid) { 29 | this.resourcesid = resourcesid; 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /src/main/java/com/example/demo/Graduation/entity/SaleEchartsEntity.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.Graduation.entity; 2 | 3 | public class SaleEchartsEntity { 4 | private String name; 5 | private int number; 6 | private int money; 7 | private String startime; 8 | private String endtime; 9 | private String product_type; 10 | 11 | public String getName() { 12 | return name; 13 | } 14 | 15 | public void setName(String name) { 16 | this.name = name; 17 | } 18 | 19 | public int getNumber() { 20 | return number; 21 | } 22 | 23 | public void setNumber(int number) { 24 | this.number = number; 25 | } 26 | 27 | public int getMoney() { 28 | return money; 29 | } 30 | 31 | public void setMoney(int money) { 32 | this.money = money; 33 | } 34 | 35 | public String getStartime() { 36 | return startime; 37 | } 38 | 39 | public void setStartime(String startime) { 40 | this.startime = startime; 41 | } 42 | 43 | public String getEndtime() { 44 | return endtime; 45 | } 46 | 47 | public void setEndtime(String endtime) { 48 | this.endtime = endtime; 49 | } 50 | 51 | public String getProduct_type() { 52 | return product_type; 53 | } 54 | 55 | public void setProduct_type(String product_type) { 56 | this.product_type = product_type; 57 | } 58 | } 59 | -------------------------------------------------------------------------------- /src/main/java/com/example/demo/Graduation/entity/SysNoticeEntity.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.Graduation.entity; 2 | 3 | import java.util.Date; 4 | 5 | public class SysNoticeEntity { 6 | private String id; 7 | private String name;//公告名 8 | private String content;//公告内容 9 | private int states;//公告状态 10 | private String username;//操作人 11 | private Date createtime;//创建时间 12 | 13 | public String getUsername() { 14 | return username; 15 | } 16 | 17 | public void setUsername(String username) { 18 | this.username = username; 19 | } 20 | 21 | public Date getCreatetime() { 22 | return createtime; 23 | } 24 | 25 | public void setCreatetime(Date createtime) { 26 | this.createtime = createtime; 27 | } 28 | 29 | public String getId() { 30 | return id; 31 | } 32 | 33 | public void setId(String id) { 34 | this.id = id; 35 | } 36 | 37 | public String getName() { 38 | return name; 39 | } 40 | 41 | public void setName(String name) { 42 | this.name = name; 43 | } 44 | 45 | public String getContent() { 46 | return content; 47 | } 48 | 49 | public void setContent(String content) { 50 | this.content = content; 51 | } 52 | 53 | public int getStates() { 54 | return states; 55 | } 56 | 57 | public void setStates(int states) { 58 | this.states = states; 59 | } 60 | } 61 | 62 | 63 | -------------------------------------------------------------------------------- /src/main/java/com/example/demo/Graduation/entity/SysUploadEntity.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.Graduation.entity; 2 | 3 | import java.util.Date; 4 | 5 | public class SysUploadEntity { 6 | private String id;//资源ID 7 | private String name;//资源名称 8 | private String type;//资源类型 9 | private String url;//资源地址 10 | private Date creatime;//创建时间 11 | 12 | public String getId() { 13 | return id; 14 | } 15 | 16 | public void setId(String id) { 17 | this.id = id; 18 | } 19 | 20 | public String getName() { 21 | return name; 22 | } 23 | 24 | public void setName(String name) { 25 | this.name = name; 26 | } 27 | 28 | public String getType() { 29 | return type; 30 | } 31 | 32 | public void setType(String type) { 33 | this.type = type; 34 | } 35 | 36 | public String getUrl() { 37 | return url; 38 | } 39 | 40 | public void setUrl(String url) { 41 | this.url = url; 42 | } 43 | 44 | public Date getCreatime() { 45 | return creatime; 46 | } 47 | 48 | public void setCreatime(Date creatime) { 49 | this.creatime = creatime; 50 | } 51 | } 52 | -------------------------------------------------------------------------------- /src/main/java/com/example/demo/Graduation/entity/UserEntity.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.Graduation.entity; 2 | 3 | import com.example.demo.Graduation.entity.RoleEntity; 4 | import com.example.demo.Graduation.entity.UserRole; 5 | 6 | public class 7 | UserEntity { 8 | private String id; 9 | private String username; 10 | private String password; 11 | private int status; 12 | private RoleEntity roleEntity; 13 | private UserRole userRole; 14 | private String rolename; 15 | 16 | public String getRolename() { 17 | return rolename; 18 | } 19 | 20 | public void setRolename(String rolename) { 21 | this.rolename = rolename; 22 | } 23 | 24 | public int getStatus() { 25 | return status; 26 | } 27 | 28 | public void setStatus(int status) { 29 | this.status = status; 30 | } 31 | 32 | public RoleEntity getRoleEntity() { 33 | return roleEntity; 34 | } 35 | 36 | public void setRoleEntity(RoleEntity roleEntity) { 37 | this.roleEntity = roleEntity; 38 | } 39 | 40 | public UserRole getUserRole() { 41 | return userRole; 42 | } 43 | 44 | public void setUserRole(UserRole userRole) { 45 | this.userRole = userRole; 46 | } 47 | 48 | public String getId() { 49 | return id; 50 | } 51 | 52 | public void setId(String id) { 53 | this.id = id; 54 | } 55 | 56 | public String getUsername() { 57 | return username; 58 | } 59 | 60 | public void setUsername(String username) { 61 | this.username = username; 62 | } 63 | 64 | public String getPassword() { 65 | return password; 66 | } 67 | 68 | public void setPassword(String password) { 69 | this.password = password; 70 | } 71 | 72 | } 73 | -------------------------------------------------------------------------------- /src/main/java/com/example/demo/Graduation/entity/UserRole.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.Graduation.entity; 2 | 3 | import java.util.Date; 4 | 5 | public class UserRole { 6 | private String id; 7 | private String userid; 8 | private String roleid; 9 | private Date createtime; 10 | private Date updatetime; 11 | 12 | 13 | public String getId() { 14 | return id; 15 | } 16 | 17 | public void setId(String id) { 18 | this.id = id; 19 | } 20 | 21 | public String getUserid() { 22 | return userid; 23 | } 24 | 25 | public void setUserid(String userid) { 26 | this.userid = userid; 27 | } 28 | 29 | public String getRoleid() { 30 | return roleid; 31 | } 32 | 33 | public void setRoleid(String roleid) { 34 | this.roleid = roleid; 35 | } 36 | 37 | public Date getCreatetime() { 38 | return createtime; 39 | } 40 | 41 | public void setCreatetime(Date createtime) { 42 | this.createtime = createtime; 43 | } 44 | 45 | public Date getUpdatetime() { 46 | return updatetime; 47 | } 48 | 49 | public void setUpdatetime(Date updatetime) { 50 | this.updatetime = updatetime; 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /src/main/java/com/example/demo/Graduation/entity/VipinfoEntity.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.Graduation.entity; 2 | 3 | import java.math.BigDecimal; 4 | 5 | public class VipinfoEntity { 6 | private String id; 7 | private String name;//VIP名 8 | private float discount;//折扣 9 | private BigDecimal miconsumption;//最低消费 10 | 11 | public BigDecimal getMiconsumption() { 12 | return miconsumption; 13 | } 14 | 15 | public void setMiconsumption(BigDecimal miconsumption) { 16 | this.miconsumption = miconsumption; 17 | } 18 | 19 | public String getId() { 20 | return id; 21 | } 22 | 23 | public void setId(String id) { 24 | this.id = id; 25 | } 26 | 27 | public String getName() { 28 | return name; 29 | } 30 | 31 | public void setName(String name) { 32 | this.name = name; 33 | } 34 | 35 | 36 | public float getDiscount() { 37 | return discount; 38 | } 39 | 40 | public void setDiscount(float discount) { 41 | this.discount = discount; 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /src/main/java/com/example/demo/Graduation/service/LogService/LogService.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.Graduation.service.LogService; 2 | 3 | import com.example.demo.Graduation.Dao.LogDao.LogDao; 4 | import com.example.demo.Graduation.entity.LogEntity; 5 | import com.github.pagehelper.PageHelper; 6 | import com.github.pagehelper.PageInfo; 7 | import org.springframework.beans.factory.annotation.Autowired; 8 | import org.springframework.stereotype.Service; 9 | 10 | import java.util.List; 11 | 12 | @Service 13 | public class LogService { 14 | @Autowired 15 | private LogDao logDao; 16 | 17 | public PageInfo FindSysLog(int PageNo, int PageSzie, String starttime, String endtime, String username) { 18 | PageHelper.startPage(PageNo, PageSzie); 19 | List logEntityList = logDao.FindSysLog(starttime, endtime, username); 20 | PageInfo pagelist = new PageInfo(logEntityList); 21 | return pagelist; 22 | } 23 | 24 | public LogEntity IdFindLog(String id) { 25 | LogEntity logEntity = logDao.IdFindLog(id); 26 | return logEntity; 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /src/main/java/com/example/demo/Graduation/service/MemberService/ExchangeRecordService.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.Graduation.service.MemberService; 2 | 3 | import com.example.demo.Graduation.Dao.MemberDao.ExchageRecordDao; 4 | import com.example.demo.Graduation.entity.Exchangerecord; 5 | import com.github.pagehelper.PageHelper; 6 | import com.github.pagehelper.PageInfo; 7 | import org.springframework.beans.factory.annotation.Autowired; 8 | import org.springframework.stereotype.Service; 9 | 10 | import java.util.List; 11 | 12 | @Service 13 | public class ExchangeRecordService { 14 | @Autowired 15 | private ExchageRecordDao exchageRecordDao; 16 | 17 | //查询 18 | public PageInfo FindAllExchageRecordInfo(int pageNo, int pageSize, String membername) { 19 | PageHelper.startPage(pageNo, pageSize); 20 | List list = exchageRecordDao.FindAllExchageRecordInfo(membername); 21 | PageInfo pagelist = new PageInfo(list); 22 | return pagelist; 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /src/main/java/com/example/demo/Graduation/service/MemberService/ReservationService.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.Graduation.service.MemberService; 2 | 3 | import com.example.demo.Graduation.Dao.MemberDao.ReservationDao; 4 | import com.example.demo.Graduation.Tool.DateTime; 5 | import com.example.demo.Graduation.entity.Reservation; 6 | import com.example.demo.Graduation.entity.Result; 7 | import com.github.pagehelper.PageHelper; 8 | import com.github.pagehelper.PageInfo; 9 | import org.springframework.beans.factory.annotation.Autowired; 10 | import org.springframework.stereotype.Service; 11 | 12 | import java.text.SimpleDateFormat; 13 | import java.util.Date; 14 | import java.util.List; 15 | import java.util.UUID; 16 | 17 | @Service 18 | public class ReservationService { 19 | @Autowired 20 | private ReservationDao reservationDao; 21 | 22 | //查询 23 | public PageInfo FinAllReservationinfo(int pageno, int pagesize, String name) { 24 | PageHelper.startPage(pageno, pagesize); 25 | List list = reservationDao.FinAllReservationinfo(name); 26 | PageInfo pagelist = new PageInfo(list); 27 | return pagelist; 28 | } 29 | 30 | 31 | //停止预告 32 | public Result StopReservation(String id) { 33 | if (reservationDao.UpdateReservationStatus(id)) { 34 | return Result.success(1, "关闭成功"); 35 | } else { 36 | return Result.error(0, "关闭失败"); 37 | } 38 | } 39 | 40 | //删除预告 41 | public Result DeleteReservation(String id) { 42 | Reservation reservation = reservationDao.IdFindReservation(id); 43 | if (reservation.getStatus() == 0) { 44 | return Result.error(0, "未被处理,不能被删除"); 45 | } else { 46 | if (reservationDao.DeleteReservation(id)) { 47 | return Result.success(1, "删除成功"); 48 | } else { 49 | return Result.error(0, "删除失败"); 50 | } 51 | } 52 | } 53 | 54 | //ID查询预告信息 55 | public Reservation IdFindReservation(String id) { 56 | Reservation reservation = reservationDao.IdFindReservation(id); 57 | return reservation; 58 | } 59 | 60 | //添加预约 61 | public Result AddReservation(Reservation reservation, String time) throws Exception { 62 | SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd");//设置日期格式 63 | reservation.setId(UUID.randomUUID().toString()); 64 | reservation.setReservation_time(df.parse(time)); 65 | if (reservationDao.AddReservation(reservation)) { 66 | return Result.success(1, "添加成功"); 67 | } else { 68 | return Result.error(0, "添加失败"); 69 | } 70 | } 71 | 72 | //修改 73 | public Result UpdateReservation(Reservation reservation) throws Exception { 74 | SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");//设置日期格式 75 | Reservation re = reservationDao.IdFindReservation(reservation.getId()); 76 | reservation.setReservation_time(df.parse(reservation.getTime())); 77 | if (null != re) { 78 | if (reservationDao.UpdateReservation(reservation)) { 79 | return Result.success(1, "修改成功"); 80 | } else { 81 | return Result.error(0, "修改失败"); 82 | } 83 | 84 | } else { 85 | return Result.error(0, "该预约不存在"); 86 | } 87 | 88 | } 89 | 90 | } 91 | -------------------------------------------------------------------------------- /src/main/resources/Mapper/LogMapper/LogMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | INSERT INTO sys_log VALUES(#{id},#{username},#{operation},#{time},#{method},#{params},#{ip},#{create_time}) 18 | 19 | 20 | 21 | 22 | 37 | 38 | 41 | 42 | -------------------------------------------------------------------------------- /src/main/resources/Mapper/MemberMapper/ActivityMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | INSERT into activityinfo(id,activity_name,activity_starttime,activity_endtime,activity_content,activity_discount) 7 | VALUES(#{id},#{activity_name},#{activity_starttime},#{activity_endtime},#{activity_content},#{activity_discount}) 8 | 9 | 10 | 11 | UPDATE activityinfo SET activity_status=1 WHERE id=#{id} 12 | 13 | 14 | 15 | UPDATE activityinfo set activity_name=#{activity_name},activity_starttime=#{activity_starttime},activity_endtime=#{activity_endtime}, 16 | activity_discount=#{activity_discount},activity_discount=#{activity_discount} WHERE id=#{id} 17 | 18 | 19 | 20 | DELETE FROM activityinfo WHERE id=#{id} 21 | 22 | 23 | 30 | 31 | 34 | 35 | 38 | 41 | -------------------------------------------------------------------------------- /src/main/resources/Mapper/MemberMapper/ExchageRecordMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | INSERT INTO exchangerecord VALUES(#{id},#{product_id},#{product_name},#{product_type},#{membername},#{number},#{redeem_time}) 8 | 9 | 10 | 18 | -------------------------------------------------------------------------------- /src/main/resources/Mapper/MemberMapper/IntegralMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | INSERT INTO redeeminfo VALUES(#{id},#{name},#{type},#{needredeem},#{number}) 7 | 8 | 9 | 10 | UPDATE redeeminfo SET number=#{number} WHERE id=#{id} 11 | 12 | 13 | 14 | 15 | 16 | UPDATE redeeminfo SET name=#{name},type=#{type},needredeem=#{needredeem} where id=#{id} 17 | 18 | 19 | 20 | 21 | DELETE FROM redeeminfo WHERE id=#{id} 22 | 23 | 24 | 35 | 36 | 39 | -------------------------------------------------------------------------------- /src/main/resources/Mapper/MemberMapper/ReservationMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | INSERT INTO reservationinfo ( 7 | id, 8 | reservation_name, 9 | reservation_time, 10 | reservation_type, 11 | reservation_content, 12 | phone 13 | ) VALUES 14 | (#{id}, 15 | #{reservation_name}, 16 | #{reservation_time}, 17 | #{reservation_type}, 18 | #{reservation_content}, 19 | #{phone} 20 | ) 21 | 22 | 23 | 24 | UPDATE reservationinfo SET status=1 WHERE id=#{id} 25 | 26 | 27 | 28 | 29 | UPDATE reservationinfo 30 | SET reservation_name=#{reservation_name},reservation_time=#{reservation_time},reservation_type=#{reservation_type},reservation_content=#{reservation_content},phone=#{phone} 31 | WHERE id=#{id} 32 | 33 | 34 | 35 | DELETE FROM reservationinfo WHERE id=#{id} 36 | 37 | 38 | 47 | 48 | 51 | -------------------------------------------------------------------------------- /src/main/resources/Mapper/PetMapper/PetFoodMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | insert into petfood values (#{id},#{foodtype},#{foodnumber},#{foodprice},#{foodname}) 7 | 8 | 9 | 10 | UPDATE petfood SET foodnumber=#{foodnumber} WHERE id=#{id} 11 | 12 | 13 | 14 | UPDATE petfood set foodtype=#{foodtype},foodprice=#{foodprice},foodname=#{foodname} where id=#{id} 15 | 16 | 17 | 18 | delete from petfood where id=#{id} 19 | 20 | 21 | 22 | 23 | 34 | 35 | 38 | 39 | 42 | 43 | 46 | -------------------------------------------------------------------------------- /src/main/resources/Mapper/PetMapper/PetFosterMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | insert into petfoster(id, feedername, pettype, petcage, fosterstartime, fosterendtime, fosterremark, feederphone,fosterprice) values(#{id}, #{feedername}, #{pettype}, #{petcage}, #{fosterstartime}, #{fosterendtime}, #{fosterremark}, #{feederphone},#{fosterprice}) 8 | 9 | 10 | 11 | update petfoster set feedername=#{feedername},pettype=#{pettype},petcage=#{petcage},fosterendtime=#{fosterendtime}, 12 | fosterremark=#{fosterremark},feederphone=#{feederphone},state=#{state}, 13 | fosterstartime=#{fosterstartime},fosterprice=#{fosterprice} where 14 | id=#{id} 15 | 16 | 17 | 18 | update petfoster set state='1' where id=#{id} 19 | 20 | 21 | 22 | 23 | delete from petfoster where id=#{id} 24 | 25 | 26 | 27 | 28 | 40 | 41 | 44 | 45 | 48 | -------------------------------------------------------------------------------- /src/main/resources/Mapper/PetMapper/PetJewelryMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | update petjewelry set petjewelrynumber=#{petjewelrynumber} where id=#{id} 7 | 8 | 9 | 10 | UPDATE petjewelry SET petjewelryname=#{petjewelryname},petjewelrytype=#{petjewelrytype},petjewelryprice=#{petjewelryprice},petjewelrynumber=#{petjewelrynumber} WHERE id=#{id} 11 | 12 | 13 | 14 | delete from petjewelry where id=#{id} 15 | 16 | 17 | 18 | 30 | 33 | 34 | 37 | 38 | 41 | 42 | 43 | 44 | 45 | insert into petjewelry(id,petjewelryname,petjewelrytype,petjewelryprice,petjewelrynumber) VALUES (#{id},#{petjewelryname},#{petjewelrytype},#{petjewelryprice},#{petjewelrynumber}) 46 | 47 | 48 | 49 | -------------------------------------------------------------------------------- /src/main/resources/Mapper/RoleMapper/RoleMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 25 | 26 | 29 | 30 | 31 | 39 | 40 | 41 | 42 | DELETE FROM sys_user_role WHERE userid=#{id} 43 | 44 | 45 | 46 | 47 | DELETE FROM sys_role WHERE id=#{id} 48 | 49 | 50 | 51 | 52 | 53 | INSERT INTO sys_role VALUES(#{id},#{name},#{description},#{createtime},#{updatetime}) 54 | 55 | 56 | 57 | 60 | 61 | 62 | 63 | UPDATE sys_role SET name=#{name},description=#{description},updatetime=#{updatetime} WHERE id=#{id} 64 | 65 | 66 | 67 | 73 | 74 | 75 | 78 | 79 | 80 | 81 | INSERT INTO sys_role_resources(roleid,resourcesid) VALUES(#{roleid},#{resourcesid}) 82 | 83 | 84 | 85 | 86 | DELETE FROM sys_role_resources WHERE roleid=#{roleid} 87 | 88 | 89 | 90 | 91 | -------------------------------------------------------------------------------- /src/main/resources/Mapper/SysNoticeMapper/SysNoticeMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | INSERT INTO sys_notice(id,name,content,username,createtime) VALUES(#{id},#{name},#{content},#{username},#{createtime}) 8 | 9 | 10 | 11 | DELETE FROM sys_notice WHERE id=#{id} 12 | 13 | 14 | 15 | 23 | 24 | 27 | 28 | 31 | 32 | 35 | 36 | 37 | 38 | UPDATE sys_notice set name=#{name},content=#{content} WHERE id=#{id} 39 | 40 | 41 | 42 | UPDATE sys_notice SET states=0 WHERE id=#{id} 43 | 44 | 45 | 46 | UPDATE sys_notice SET states=1 WHERE id=#{id} 47 | 48 | 49 | -------------------------------------------------------------------------------- /src/main/resources/Mapper/SysNoticeMapper/SysUploadMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | UPDATE sys_upload SET name=#{name},url=#{url} WHERE id=#{id} 7 | 8 | 9 | 10 | DELETE FROM sys_upload WHERE id=#{id} 11 | 12 | 13 | 14 | 22 | 25 | 26 | 27 | INSERT INTO sys_upload VALUES(#{id},#{name},#{type},#{url},#{creatime}) 28 | 29 | 30 | -------------------------------------------------------------------------------- /src/main/resources/Mapper/VipMapper/VipMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 14 | 15 | 16 | 17 | 20 | 21 | 22 | 23 | INSERT into vipinfo VALUES(#{id},#{name},#{discount},#{miconsumption}) 24 | 25 | 26 | 27 | 28 | 31 | 32 | 33 | 36 | 37 | 38 | 39 | UPDATE vipinfo SET name=#{name},discount=#{discount},miconsumption=#{miconsumption} WHERE id=#{id} 40 | 41 | 42 | 43 | 44 | DELETE FROM vipinfo WHERE id=#{id} 45 | 46 | 47 | 48 | -------------------------------------------------------------------------------- /src/main/resources/application.yml: -------------------------------------------------------------------------------- 1 | server: 2 | port: 8888 3 | 4 | spring: 5 | datasource: 6 | name: test 7 | url: jdbc:mysql://localhost:3306/graduation?serverTimezone=UTC&useSSL=false&serverTimezone=Asia/Shanghai 8 | username: root 9 | password: wuwen123 10 | # 使用druid数据源 11 | type: com.alibaba.druid.pool.DruidDataSource 12 | driver-class-name: com.mysql.cj.jdbc.Driver 13 | initialSize: 1 14 | minIdle: 3 15 | maxActive: 20 16 | # 配置获取连接等待超时的时间 17 | maxWait: 60000 18 | # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒 19 | timeBetweenEvictionRunsMillis: 60000 20 | # 配置一个连接在池中最小生存的时间,单位是毫秒 21 | minEvictableIdleTimeMillis: 30000 22 | validationQuery: select 'x' 23 | testWhileIdle: true 24 | testOnBorrow: false 25 | testOnReturn: false 26 | # 打开PSCache,并且指定每个连接上PSCache的大小 27 | poolPreparedStatements: true 28 | maxPoolPreparedStatementPerConnectionSize: 20 29 | # 配置监控统计拦截的filters,去掉后监控界面sql无法统计,'wall'用于防火墙 30 | filters: stat,wall,slf4j 31 | # 通过connectProperties属性来打开mergeSql功能;慢SQL记录 32 | connectionProperties: druid.stat.mergeSql=true;druid.stat.slowSqlMillis=5000 33 | # 合并多个DruidDataSource的监控数据 34 | #useGlobalDataSourceStat: true 35 | redis: 36 | host: localhost 37 | port: 6379 38 | password: 39 | # 连接超时时间(毫秒) 40 | timeout: 10000 41 | jedis: 42 | pool: 43 | # 连接池中的最大空闲连接 44 | max-idle: 8 45 | # 连接池中的最小空闲连接 46 | min-idle: 10 47 | # 连接池最大连接数(使用负值表示没有限制) 48 | max-active: 100 49 | # 连接池最大阻塞等待时间(使用负值表示没有限制) 50 | max-wait: -1 51 | thymeleaf: 52 | enabled: true #开启thymeleaf视图解析 53 | encoding: utf-8 #编码 54 | prefix: classpath:/templates/ #前缀 55 | cache: false #是否使用缓存 56 | suffix: .html #后缀名 57 | aop: #开启spring boot aop 58 | auto: true 59 | proxy-target-class: true 60 | servlet: 61 | multipart: 62 | enabled: true 63 | max-file-size: 20MB 64 | max-request-size: 20MB 65 | 66 | 67 | 68 | mybatis: 69 | mapper-locations: classpath:Mapper/**/*.xml 70 | type-aliases-package: com.example.demo.Graduation.entity 71 | configuration: 72 | log-impl: org.apache.ibatis.logging.stdout.StdOutImpl 73 | 74 | 75 | 76 | 77 | logging: 78 | config: classpath:log4j2.xml 79 | level: 80 | com.example.demo: debug 81 | 82 | pagehelper: 83 | helperDialect: mysql 84 | reasonable: true 85 | supportMethodsArguments: true 86 | params: count=countSql 87 | 88 | #七牛云 89 | AccessKey: cgxe41ygttLPrQmoGXfVy3hCQ4Np8YMtBTgJ9NNG 90 | SecretKey: AC5GiwKa_MdRgLdydDQgAVJFbY2RJgEFsneFSBpb 91 | bucket: mmpetshop 92 | fileurl: http://zbrqfx.top/ 93 | TXSecretId: AKIDQefRxExHOG2hDKq9uSkmbXbVAfvwfa5X 94 | TXSecretKey: XYKr88sbTSmkTTVx2gAatGxMRp12rT8b 95 | AppID: 1400378468 96 | AppKey: 2762f1fd846dcdce1f64a83df49ad3c0 97 | ModelId: 624038 98 | QmContent: 百里挑一网 99 | 100 | #MD5盐值 101 | md5salt: Yiqiwan 102 | 103 | #文件存储 104 | upload: 105 | path: D:\Graduation\file\ 106 | 107 | 108 | 109 | -------------------------------------------------------------------------------- /src/main/resources/static/bootstrap/fonts/bstt-font.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/bootstrap/fonts/bstt-font.eot -------------------------------------------------------------------------------- /src/main/resources/static/bootstrap/fonts/bstt-font.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 | 8 | Created by iconfont 9 | 10 | 11 | 12 | 13 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | -------------------------------------------------------------------------------- /src/main/resources/static/bootstrap/fonts/bstt-font.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/bootstrap/fonts/bstt-font.ttf -------------------------------------------------------------------------------- /src/main/resources/static/bootstrap/fonts/bstt-font.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/bootstrap/fonts/bstt-font.woff -------------------------------------------------------------------------------- /src/main/resources/static/bootstrap/libs/v3/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/bootstrap/libs/v3/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /src/main/resources/static/bootstrap/libs/v3/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/bootstrap/libs/v3/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /src/main/resources/static/bootstrap/libs/v3/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/bootstrap/libs/v3/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /src/main/resources/static/bootstrap/libs/v3/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/bootstrap/libs/v3/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /src/main/resources/static/bootstrap/libs/v3/fonts/glyphicons-halflings-regulard41d.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/bootstrap/libs/v3/fonts/glyphicons-halflings-regulard41d.eot -------------------------------------------------------------------------------- /src/main/resources/static/bootstrap/libs/v4/iconic/fonts/open-iconic.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/bootstrap/libs/v4/iconic/fonts/open-iconic.eot -------------------------------------------------------------------------------- /src/main/resources/static/bootstrap/libs/v4/iconic/fonts/open-iconic.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/bootstrap/libs/v4/iconic/fonts/open-iconic.otf -------------------------------------------------------------------------------- /src/main/resources/static/bootstrap/libs/v4/iconic/fonts/open-iconic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/bootstrap/libs/v4/iconic/fonts/open-iconic.ttf -------------------------------------------------------------------------------- /src/main/resources/static/bootstrap/libs/v4/iconic/fonts/open-iconic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/bootstrap/libs/v4/iconic/fonts/open-iconic.woff -------------------------------------------------------------------------------- /src/main/resources/static/css/font.css: -------------------------------------------------------------------------------- 1 | @font-face { 2 | font-family: 'iconfont'; 3 | src: url('../fonts/iconfont.eot'); 4 | src: url('../fonts/iconfont.eot?#iefix') format('embedded-opentype'), 5 | url('../fonts/iconfont.woff') format('woff'), 6 | url('../fonts/iconfont.ttf') format('truetype'), 7 | url('../fonts/iconfont.svg#iconfont') format('svg'); 8 | } 9 | .iconfont{ 10 | font-family:"iconfont" !important; 11 | font-size:15px;font-style:normal; 12 | -webkit-font-smoothing: antialiased; 13 | -webkit-text-stroke-width: 0.2px; 14 | -moz-osx-font-smoothing: grayscale; 15 | } 16 | 17 | -------------------------------------------------------------------------------- /src/main/resources/static/css/page.css: -------------------------------------------------------------------------------- 1 | 2 | td { 3 | white-space: nowrap; 4 | overflow: hidden; 5 | text-overflow: ellipsis; 6 | } 7 | 8 | /* 外面盒子样式---自己定义 */ 9 | .page_div { 10 | margin: 20px 10px 20px 0; 11 | color: #666 12 | } 13 | 14 | /* 页数按钮样式 */ 15 | .page_div button { 16 | display: inline-block; 17 | min-width: 30px; 18 | height: 28px; 19 | cursor: pointer; 20 | color: #666; 21 | font-size: 13px; 22 | line-height: 28px; 23 | background-color: #f9f9f9; 24 | border: 1px solid #dce0e0; 25 | text-align: center; 26 | margin: 0 4px; 27 | -webkit-appearance: none; 28 | -moz-appearance: none; 29 | appearance: none; 30 | } 31 | 32 | #firstPage, #lastPage, #nextPage, #prePage { 33 | width: 50px; 34 | color: #0073A9; 35 | border: 1px solid #0073A9 36 | } 37 | 38 | #nextPage, #prePage { 39 | width: 70px 40 | } 41 | 42 | .page_div .current { 43 | background-color: #0073A9; 44 | border-color: #0073A9; 45 | color: #FFF 46 | } 47 | 48 | /* 页面数量 */ 49 | .totalPages { 50 | margin: 0 10px 51 | } 52 | 53 | .totalPages span, .totalSize span { 54 | color: #0073A9; 55 | margin: 0 5px 56 | } 57 | 58 | /*button禁用*/ 59 | .page_div button:disabled { 60 | opacity: .5; 61 | cursor: no-drop 62 | } -------------------------------------------------------------------------------- /src/main/resources/static/css/ztree/awesomeStyle/img/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/css/ztree/awesomeStyle/img/loading.gif -------------------------------------------------------------------------------- /src/main/resources/static/css/ztree/demo.css: -------------------------------------------------------------------------------- 1 | html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td { 2 | margin: 0;padding: 0;border: 0;outline: 0;font-weight: inherit;font-style: inherit;font-size: 100%;font-family: inherit;vertical-align: baseline;} 3 | body {color: #2f332a;font: 15px/21px Arial, Helvetica, simsun, sans-serif;background: #f0f6e4 \9;} 4 | h1, h2, h3, h4, h5, h6 {color: #2f332a;font-weight: bold;font-family: Helvetica, Arial, sans-serif;padding-bottom: 5px;} 5 | h1 {font-size: 24px;line-height: 34px;text-align: center;} 6 | h2 {font-size: 14px;line-height: 24px;padding-top: 5px;} 7 | h6 {font-weight: normal;font-size: 12px;letter-spacing: 1px;line-height: 24px;text-align: center;} 8 | a {color:#3C6E31;text-decoration: underline;} 9 | a:hover {background-color:#3C6E31;color:white;} 10 | input.radio {margin: 0 2px 0 8px;} 11 | input.radio.first {margin-left:0;} 12 | input.empty {color: lightgray;} 13 | code {color: #2f332a;} 14 | .highlight_red {color:#A60000;} 15 | .highlight_green {color:#A7F43D;} 16 | li {list-style: circle;font-size: 12px;} 17 | li.title {list-style: none;} 18 | ul.list {margin-left: 17px;} 19 | 20 | div.content_wrap {width: 600px;height:380px;} 21 | div.content_wrap div.left{float: left;width: 250px;} 22 | div.content_wrap div.right{float: right;width: 340px;} 23 | div.zTreeDemoBackground {width:250px;height:362px;text-align:left;} 24 | 25 | ul.ztree {margin-top: 10px;border: 1px solid #617775;background: #f0f6e4;width:220px;height:360px;overflow-y:scroll;overflow-x:auto;} 26 | ul.log {border: 1px solid #617775;background: #f0f6e4;width:300px;height:170px;overflow: hidden;} 27 | ul.log.small {height:45px;} 28 | ul.log li {color: #666666;list-style: none;padding-left: 10px;} 29 | ul.log li.dark {background-color: #E3E3E3;} 30 | 31 | /* ruler */ 32 | div.ruler {height:20px; width:220px; background-color:#f0f6e4;border: 1px solid #333; margin-bottom: 5px; cursor: pointer} 33 | div.ruler div.cursor {height:20px; width:30px; background-color:#3C6E31; color:white; text-align: right; padding-right: 5px; cursor: pointer} -------------------------------------------------------------------------------- /src/main/resources/static/css/ztree/metroStyle/img/line_conn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/css/ztree/metroStyle/img/line_conn.png -------------------------------------------------------------------------------- /src/main/resources/static/css/ztree/metroStyle/img/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/css/ztree/metroStyle/img/loading.gif -------------------------------------------------------------------------------- /src/main/resources/static/css/ztree/metroStyle/img/metro.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/css/ztree/metroStyle/img/metro.gif -------------------------------------------------------------------------------- /src/main/resources/static/css/ztree/metroStyle/img/metro.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/css/ztree/metroStyle/img/metro.png -------------------------------------------------------------------------------- /src/main/resources/static/css/ztree/zTreeStyle/img/diy/1_close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/css/ztree/zTreeStyle/img/diy/1_close.png -------------------------------------------------------------------------------- /src/main/resources/static/css/ztree/zTreeStyle/img/diy/1_open.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/css/ztree/zTreeStyle/img/diy/1_open.png -------------------------------------------------------------------------------- /src/main/resources/static/css/ztree/zTreeStyle/img/diy/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/css/ztree/zTreeStyle/img/diy/2.png -------------------------------------------------------------------------------- /src/main/resources/static/css/ztree/zTreeStyle/img/diy/3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/css/ztree/zTreeStyle/img/diy/3.png -------------------------------------------------------------------------------- /src/main/resources/static/css/ztree/zTreeStyle/img/diy/4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/css/ztree/zTreeStyle/img/diy/4.png -------------------------------------------------------------------------------- /src/main/resources/static/css/ztree/zTreeStyle/img/diy/5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/css/ztree/zTreeStyle/img/diy/5.png -------------------------------------------------------------------------------- /src/main/resources/static/css/ztree/zTreeStyle/img/diy/6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/css/ztree/zTreeStyle/img/diy/6.png -------------------------------------------------------------------------------- /src/main/resources/static/css/ztree/zTreeStyle/img/diy/7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/css/ztree/zTreeStyle/img/diy/7.png -------------------------------------------------------------------------------- /src/main/resources/static/css/ztree/zTreeStyle/img/diy/8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/css/ztree/zTreeStyle/img/diy/8.png -------------------------------------------------------------------------------- /src/main/resources/static/css/ztree/zTreeStyle/img/diy/9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/css/ztree/zTreeStyle/img/diy/9.png -------------------------------------------------------------------------------- /src/main/resources/static/css/ztree/zTreeStyle/img/line_conn.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/css/ztree/zTreeStyle/img/line_conn.gif -------------------------------------------------------------------------------- /src/main/resources/static/css/ztree/zTreeStyle/img/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/css/ztree/zTreeStyle/img/loading.gif -------------------------------------------------------------------------------- /src/main/resources/static/css/ztree/zTreeStyle/img/zTreeStandard.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/css/ztree/zTreeStyle/img/zTreeStandard.gif -------------------------------------------------------------------------------- /src/main/resources/static/css/ztree/zTreeStyle/img/zTreeStandard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/css/ztree/zTreeStyle/img/zTreeStandard.png -------------------------------------------------------------------------------- /src/main/resources/static/fonts/iconfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/fonts/iconfont.eot -------------------------------------------------------------------------------- /src/main/resources/static/fonts/iconfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/fonts/iconfont.ttf -------------------------------------------------------------------------------- /src/main/resources/static/fonts/iconfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/fonts/iconfont.woff -------------------------------------------------------------------------------- /src/main/resources/static/images/aiwrap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/images/aiwrap.png -------------------------------------------------------------------------------- /src/main/resources/static/images/bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/images/bg.png -------------------------------------------------------------------------------- /src/main/resources/static/images/pic/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/images/pic/1.png -------------------------------------------------------------------------------- /src/main/resources/static/images/pic/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/images/pic/2.png -------------------------------------------------------------------------------- /src/main/resources/static/images/pic/3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/images/pic/3.png -------------------------------------------------------------------------------- /src/main/resources/static/layui2.5/css/modules/code.css: -------------------------------------------------------------------------------- 1 | /** layui-v2.5.6 MIT License By https://www.layui.com */ 2 | html #layuicss-skincodecss{display:none;position:absolute;width:1989px}.layui-code-h3,.layui-code-view{position:relative;font-size:12px}.layui-code-view{display:block;margin:10px 0;padding:0;border:1px solid #e2e2e2;border-left-width:6px;background-color:#F2F2F2;color:#333;font-family:Courier New}.layui-code-h3{padding:0 10px;height:32px;line-height:32px;border-bottom:1px solid #e2e2e2}.layui-code-h3 a{position:absolute;right:10px;top:0;color:#999}.layui-code-view .layui-code-ol{position:relative;overflow:auto}.layui-code-view .layui-code-ol li{position:relative;margin-left:45px;line-height:20px;padding:0 5px;border-left:1px solid #e2e2e2;list-style-type:decimal-leading-zero;*list-style-type:decimal;background-color:#fff}.layui-code-view pre{margin:0}.layui-code-notepad{border:1px solid #0C0C0C;border-left-color:#3F3F3F;background-color:#0C0C0C;color:#C2BE9E}.layui-code-notepad .layui-code-h3{border-bottom:none}.layui-code-notepad .layui-code-ol li{background-color:#3F3F3F;border-left:none} -------------------------------------------------------------------------------- /src/main/resources/static/layui2.5/css/modules/layer/default/icon-ext.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/layui2.5/css/modules/layer/default/icon-ext.png -------------------------------------------------------------------------------- /src/main/resources/static/layui2.5/css/modules/layer/default/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/layui2.5/css/modules/layer/default/icon.png -------------------------------------------------------------------------------- /src/main/resources/static/layui2.5/css/modules/layer/default/loading-0.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/layui2.5/css/modules/layer/default/loading-0.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui2.5/css/modules/layer/default/loading-1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/layui2.5/css/modules/layer/default/loading-1.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui2.5/css/modules/layer/default/loading-2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/layui2.5/css/modules/layer/default/loading-2.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui2.5/font/iconfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/layui2.5/font/iconfont.eot -------------------------------------------------------------------------------- /src/main/resources/static/layui2.5/font/iconfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/layui2.5/font/iconfont.ttf -------------------------------------------------------------------------------- /src/main/resources/static/layui2.5/font/iconfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/layui2.5/font/iconfont.woff -------------------------------------------------------------------------------- /src/main/resources/static/layui2.5/font/iconfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/layui2.5/font/iconfont.woff2 -------------------------------------------------------------------------------- /src/main/resources/static/layui2.5/images/face/0.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/layui2.5/images/face/0.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui2.5/images/face/1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/layui2.5/images/face/1.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui2.5/images/face/10.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/layui2.5/images/face/10.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui2.5/images/face/11.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/layui2.5/images/face/11.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui2.5/images/face/12.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/layui2.5/images/face/12.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui2.5/images/face/13.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/layui2.5/images/face/13.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui2.5/images/face/14.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/layui2.5/images/face/14.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui2.5/images/face/15.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/layui2.5/images/face/15.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui2.5/images/face/16.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/layui2.5/images/face/16.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui2.5/images/face/17.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/layui2.5/images/face/17.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui2.5/images/face/18.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/layui2.5/images/face/18.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui2.5/images/face/19.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/layui2.5/images/face/19.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui2.5/images/face/2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/layui2.5/images/face/2.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui2.5/images/face/20.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/layui2.5/images/face/20.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui2.5/images/face/21.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/layui2.5/images/face/21.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui2.5/images/face/22.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/layui2.5/images/face/22.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui2.5/images/face/23.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/layui2.5/images/face/23.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui2.5/images/face/24.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/layui2.5/images/face/24.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui2.5/images/face/25.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/layui2.5/images/face/25.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui2.5/images/face/26.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/layui2.5/images/face/26.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui2.5/images/face/27.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/layui2.5/images/face/27.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui2.5/images/face/28.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/layui2.5/images/face/28.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui2.5/images/face/29.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/layui2.5/images/face/29.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui2.5/images/face/3.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/layui2.5/images/face/3.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui2.5/images/face/30.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/layui2.5/images/face/30.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui2.5/images/face/31.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/layui2.5/images/face/31.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui2.5/images/face/32.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/layui2.5/images/face/32.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui2.5/images/face/33.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/layui2.5/images/face/33.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui2.5/images/face/34.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/layui2.5/images/face/34.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui2.5/images/face/35.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/layui2.5/images/face/35.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui2.5/images/face/36.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/layui2.5/images/face/36.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui2.5/images/face/37.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/layui2.5/images/face/37.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui2.5/images/face/38.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/layui2.5/images/face/38.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui2.5/images/face/39.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/layui2.5/images/face/39.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui2.5/images/face/4.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/layui2.5/images/face/4.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui2.5/images/face/40.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/layui2.5/images/face/40.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui2.5/images/face/41.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/layui2.5/images/face/41.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui2.5/images/face/42.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/layui2.5/images/face/42.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui2.5/images/face/43.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/layui2.5/images/face/43.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui2.5/images/face/44.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/layui2.5/images/face/44.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui2.5/images/face/45.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/layui2.5/images/face/45.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui2.5/images/face/46.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/layui2.5/images/face/46.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui2.5/images/face/47.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/layui2.5/images/face/47.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui2.5/images/face/48.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/layui2.5/images/face/48.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui2.5/images/face/49.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/layui2.5/images/face/49.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui2.5/images/face/5.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/layui2.5/images/face/5.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui2.5/images/face/50.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/layui2.5/images/face/50.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui2.5/images/face/51.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/layui2.5/images/face/51.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui2.5/images/face/52.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/layui2.5/images/face/52.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui2.5/images/face/53.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/layui2.5/images/face/53.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui2.5/images/face/54.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/layui2.5/images/face/54.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui2.5/images/face/55.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/layui2.5/images/face/55.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui2.5/images/face/56.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/layui2.5/images/face/56.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui2.5/images/face/57.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/layui2.5/images/face/57.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui2.5/images/face/58.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/layui2.5/images/face/58.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui2.5/images/face/59.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/layui2.5/images/face/59.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui2.5/images/face/6.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/layui2.5/images/face/6.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui2.5/images/face/60.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/layui2.5/images/face/60.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui2.5/images/face/61.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/layui2.5/images/face/61.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui2.5/images/face/62.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/layui2.5/images/face/62.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui2.5/images/face/63.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/layui2.5/images/face/63.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui2.5/images/face/64.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/layui2.5/images/face/64.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui2.5/images/face/65.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/layui2.5/images/face/65.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui2.5/images/face/66.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/layui2.5/images/face/66.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui2.5/images/face/67.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/layui2.5/images/face/67.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui2.5/images/face/68.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/layui2.5/images/face/68.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui2.5/images/face/69.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/layui2.5/images/face/69.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui2.5/images/face/7.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/layui2.5/images/face/7.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui2.5/images/face/70.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/layui2.5/images/face/70.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui2.5/images/face/71.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/layui2.5/images/face/71.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui2.5/images/face/8.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/layui2.5/images/face/8.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui2.5/images/face/9.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/layui2.5/images/face/9.gif -------------------------------------------------------------------------------- /src/main/resources/static/layui2.5/lay/modules/code.js: -------------------------------------------------------------------------------- 1 | /** layui-v2.5.6 MIT License By https://www.layui.com */ 2 | ;layui.define("jquery",function(e){"use strict";var a=layui.$,l="http://www.layui.com/doc/modules/code.html";e("code",function(e){var t=[];e=e||{},e.elem=a(e.elem||".layui-code"),e.about=!("about"in e)||e.about,e.elem.each(function(){t.push(this)}),layui.each(t.reverse(),function(t,i){var c=a(i),o=c.html();(c.attr("lay-encode")||e.encode)&&(o=o.replace(/&(?!#?[a-zA-Z0-9]+;)/g,"&").replace(//g,">").replace(/'/g,"'").replace(/"/g,""")),c.html('
  1. '+o.replace(/[\r\t\n]+/g,"
  2. ")+"
"),c.find(">.layui-code-h3")[0]||c.prepend('

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

");var d=c.find(">.layui-code-ol");c.addClass("layui-box layui-code-view"),(c.attr("lay-skin")||e.skin)&&c.addClass("layui-code-"+(c.attr("lay-skin")||e.skin)),(d.find("li").length/100|0)>0&&d.css("margin-left",(d.find("li").length/100|0)+"px"),(c.attr("lay-height")||e.height)&&d.css("max-height",c.attr("lay-height")||e.height)})})}).addcss("modules/code.css","skincodecss"); -------------------------------------------------------------------------------- /src/main/resources/static/layui2.5/lay/modules/flow.js: -------------------------------------------------------------------------------- 1 | /** layui-v2.5.6 MIT License By https://www.layui.com */ 2 | ;layui.define("jquery",function(e){"use strict";var l=layui.$,o=function(e){},t='';o.prototype.load=function(e){var o,i,n,r,a=this,c=0;e=e||{};var f=l(e.elem);if(f[0]){var m=l(e.scrollElem||document),u=e.mb||50,s=!("isAuto"in e)||e.isAuto,v=e.end||"没有更多了",y=e.scrollElem&&e.scrollElem!==document,d="加载更多",h=l('");f.find(".layui-flow-more")[0]||f.append(h);var p=function(e,t){e=l(e),h.before(e),t=0==t||null,t?h.html(v):h.find("a").html(d),i=t,o=null,n&&n()},g=function(){o=!0,h.find("a").html(t),"function"==typeof e.done&&e.done(++c,p)};if(g(),h.find("a").on("click",function(){l(this);i||o||g()}),e.isLazyimg)var n=a.lazyimg({elem:e.elem+" img",scrollElem:e.scrollElem});return s?(m.on("scroll",function(){var e=l(this),t=e.scrollTop();r&&clearTimeout(r),!i&&f.width()&&(r=setTimeout(function(){var i=y?e.height():l(window).height(),n=y?e.prop("scrollHeight"):document.documentElement.scrollHeight;n-t-i<=u&&(o||g())},100))}),a):a}},o.prototype.lazyimg=function(e){var o,t=this,i=0;e=e||{};var n=l(e.scrollElem||document),r=e.elem||"img",a=e.scrollElem&&e.scrollElem!==document,c=function(e,l){var o=n.scrollTop(),r=o+l,c=a?function(){return e.offset().top-n.offset().top+o}():e.offset().top;if(c>=o&&c<=r&&!e.attr("src")){var m=e.attr("lay-src");layui.img(m,function(){var l=t.lazyimg.elem.eq(i);e.attr("src",m).removeAttr("lay-src"),l[0]&&f(l),i++})}},f=function(e,o){var f=a?(o||n).height():l(window).height(),m=n.scrollTop(),u=m+f;if(t.lazyimg.elem=l(r),e)c(e,f);else for(var s=0;su)break}};if(f(),!o){var m;n.on("scroll",function(){var e=l(this);m&&clearTimeout(m),m=setTimeout(function(){f(null,e)},50)}),o=!0}return f},e("flow",new o)}); -------------------------------------------------------------------------------- /src/main/resources/static/layui2.5/lay/modules/laytpl.js: -------------------------------------------------------------------------------- 1 | /** layui-v2.5.6 MIT License By https://www.layui.com */ 2 | ;layui.define(function(e){"use strict";var r={open:"{{",close:"}}"},c={exp:function(e){return new RegExp(e,"g")},query:function(e,c,t){var o=["#([\\s\\S])+?","([^{#}])*?"][e||0];return n((c||"")+r.open+o+r.close+(t||""))},escape:function(e){return String(e||"").replace(/&(?!#?[a-zA-Z0-9]+;)/g,"&").replace(//g,">").replace(/'/g,"'").replace(/"/g,""")},error:function(e,r){var c="Laytpl Error:";return"object"==typeof console&&console.error(c+e+"\n"+(r||"")),c+e}},n=c.exp,t=function(e){this.tpl=e};t.pt=t.prototype,window.errors=0,t.pt.parse=function(e,t){var o=this,p=e,a=n("^"+r.open+"#",""),l=n(r.close+"$","");e=e.replace(/\s+|\r|\t|\n/g," ").replace(n(r.open+"#"),r.open+"# ").replace(n(r.close+"}"),"} "+r.close).replace(/\\/g,"\\\\").replace(n(r.open+"!(.+?)!"+r.close),function(e){return e=e.replace(n("^"+r.open+"!"),"").replace(n("!"+r.close),"").replace(n(r.open+"|"+r.close),function(e){return e.replace(/(.)/g,"\\$1")})}).replace(/(?="|')/g,"\\").replace(c.query(),function(e){return e=e.replace(a,"").replace(l,""),'";'+e.replace(/\\/g,"")+';view+="'}).replace(c.query(1),function(e){var c='"+(';return e.replace(/\s/g,"")===r.open+r.close?"":(e=e.replace(n(r.open+"|"+r.close),""),/^=/.test(e)&&(e=e.replace(/^=/,""),c='"+_escape_('),c+e.replace(/\\/g,"")+')+"')}),e='"use strict";var view = "'+e+'";return view;';try{return o.cache=e=new Function("d, _escape_",e),e(t,c.escape)}catch(u){return delete o.cache,c.error(u,p)}},t.pt.render=function(e,r){var n,t=this;return e?(n=t.cache?t.cache(e,c.escape):t.parse(t.tpl,e),r?void r(n):n):c.error("no data")};var o=function(e){return"string"!=typeof e?c.error("Template not found"):new t(e)};o.config=function(e){e=e||{};for(var c in e)r[c]=e[c]},o.v="1.2.0",e("laytpl",o)}); -------------------------------------------------------------------------------- /src/main/resources/static/layui2.5/lay/modules/rate.js: -------------------------------------------------------------------------------- 1 | /** layui-v2.5.6 MIT License By https://www.layui.com */ 2 | ;layui.define("jquery",function(e){"use strict";var a=layui.jquery,i={config:{},index:layui.rate?layui.rate.index+1e4:0,set:function(e){var i=this;return i.config=a.extend({},i.config,e),i},on:function(e,a){return layui.onevent.call(this,n,e,a)}},l=function(){var e=this,a=e.config;return{setvalue:function(a){e.setvalue.call(e,a)},config:a}},n="rate",t="layui-rate",o="layui-icon-rate",s="layui-icon-rate-solid",u="layui-icon-rate-half",r="layui-icon-rate-solid layui-icon-rate-half",c="layui-icon-rate-solid layui-icon-rate",f="layui-icon-rate layui-icon-rate-half",v=function(e){var l=this;l.index=++i.index,l.config=a.extend({},l.config,i.config,e),l.render()};v.prototype.config={length:5,text:!1,readonly:!1,half:!1,value:0,theme:""},v.prototype.render=function(){var e=this,i=e.config,l=i.theme?'style="color: '+i.theme+';"':"";i.elem=a(i.elem),parseInt(i.value)!==i.value&&(i.half||(i.value=Math.ceil(i.value)-i.value<.5?Math.ceil(i.value):Math.floor(i.value)));for(var n='
    ",u=1;u<=i.length;u++){var r='
  • ";i.half&&parseInt(i.value)!==i.value&&u==Math.ceil(i.value)?n=n+'
  • ":n+=r}n+="
"+(i.text?''+i.value+"星":"")+"";var c=i.elem,f=c.next("."+t);f[0]&&f.remove(),e.elemTemp=a(n),i.span=e.elemTemp.next("span"),i.setText&&i.setText(i.value),c.html(e.elemTemp),c.addClass("layui-inline"),i.readonly||e.action()},v.prototype.setvalue=function(e){var a=this,i=a.config;i.value=e,a.render()},v.prototype.action=function(){var e=this,i=e.config,l=e.elemTemp,n=l.find("i").width();l.children("li").each(function(e){var t=e+1,v=a(this);v.on("click",function(e){if(i.value=t,i.half){var o=e.pageX-a(this).offset().left;o<=n/2&&(i.value=i.value-.5)}i.text&&l.next("span").text(i.value+"星"),i.choose&&i.choose(i.value),i.setText&&i.setText(i.value)}),v.on("mousemove",function(e){if(l.find("i").each(function(){a(this).addClass(o).removeClass(r)}),l.find("i:lt("+t+")").each(function(){a(this).addClass(s).removeClass(f)}),i.half){var c=e.pageX-a(this).offset().left;c<=n/2&&v.children("i").addClass(u).removeClass(s)}}),v.on("mouseleave",function(){l.find("i").each(function(){a(this).addClass(o).removeClass(r)}),l.find("i:lt("+Math.floor(i.value)+")").each(function(){a(this).addClass(s).removeClass(f)}),i.half&&parseInt(i.value)!==i.value&&l.children("li:eq("+Math.floor(i.value)+")").children("i").addClass(u).removeClass(c)})})},v.prototype.events=function(){var e=this;e.config},i.render=function(e){var a=new v(e);return l.call(a)},e(n,i)}); -------------------------------------------------------------------------------- /src/main/resources/static/lib/layui/css/modules/code.css: -------------------------------------------------------------------------------- 1 | /** layui-v2.2.6 MIT License By https://www.layui.com */ 2 | html #layuicss-skincodecss{display:none;position:absolute;width:1989px}.layui-code-h3,.layui-code-view{position:relative;font-size:12px}.layui-code-view{display:block;margin:10px 0;padding:0;border:1px solid #e2e2e2;border-left-width:6px;background-color:#F2F2F2;color:#333;font-family:Courier New}.layui-code-h3{padding:0 10px;height:32px;line-height:32px;border-bottom:1px solid #e2e2e2}.layui-code-h3 a{position:absolute;right:10px;top:0;color:#999}.layui-code-view .layui-code-ol{position:relative;overflow:auto}.layui-code-view .layui-code-ol li{position:relative;margin-left:45px;line-height:20px;padding:0 5px;border-left:1px solid #e2e2e2;list-style-type:decimal-leading-zero;*list-style-type:decimal;background-color:#fff}.layui-code-view pre{margin:0}.layui-code-notepad{border:1px solid #0C0C0C;border-left-color:#3F3F3F;background-color:#0C0C0C;color:#C2BE9E}.layui-code-notepad .layui-code-h3{border-bottom:none}.layui-code-notepad .layui-code-ol li{background-color:#3F3F3F;border-left:none} -------------------------------------------------------------------------------- /src/main/resources/static/lib/layui/css/modules/layer/default/icon-ext.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/lib/layui/css/modules/layer/default/icon-ext.png -------------------------------------------------------------------------------- /src/main/resources/static/lib/layui/css/modules/layer/default/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/lib/layui/css/modules/layer/default/icon.png -------------------------------------------------------------------------------- /src/main/resources/static/lib/layui/css/modules/layer/default/loading-0.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/lib/layui/css/modules/layer/default/loading-0.gif -------------------------------------------------------------------------------- /src/main/resources/static/lib/layui/css/modules/layer/default/loading-1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/lib/layui/css/modules/layer/default/loading-1.gif -------------------------------------------------------------------------------- /src/main/resources/static/lib/layui/css/modules/layer/default/loading-2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/lib/layui/css/modules/layer/default/loading-2.gif -------------------------------------------------------------------------------- /src/main/resources/static/lib/layui/font/iconfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/lib/layui/font/iconfont.eot -------------------------------------------------------------------------------- /src/main/resources/static/lib/layui/font/iconfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/lib/layui/font/iconfont.ttf -------------------------------------------------------------------------------- /src/main/resources/static/lib/layui/font/iconfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/lib/layui/font/iconfont.woff -------------------------------------------------------------------------------- /src/main/resources/static/lib/layui/images/face/0.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/lib/layui/images/face/0.gif -------------------------------------------------------------------------------- /src/main/resources/static/lib/layui/images/face/1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/lib/layui/images/face/1.gif -------------------------------------------------------------------------------- /src/main/resources/static/lib/layui/images/face/10.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/lib/layui/images/face/10.gif -------------------------------------------------------------------------------- /src/main/resources/static/lib/layui/images/face/11.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/lib/layui/images/face/11.gif -------------------------------------------------------------------------------- /src/main/resources/static/lib/layui/images/face/12.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/lib/layui/images/face/12.gif -------------------------------------------------------------------------------- /src/main/resources/static/lib/layui/images/face/13.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/lib/layui/images/face/13.gif -------------------------------------------------------------------------------- /src/main/resources/static/lib/layui/images/face/14.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/lib/layui/images/face/14.gif -------------------------------------------------------------------------------- /src/main/resources/static/lib/layui/images/face/15.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/lib/layui/images/face/15.gif -------------------------------------------------------------------------------- /src/main/resources/static/lib/layui/images/face/16.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/lib/layui/images/face/16.gif -------------------------------------------------------------------------------- /src/main/resources/static/lib/layui/images/face/17.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/lib/layui/images/face/17.gif -------------------------------------------------------------------------------- /src/main/resources/static/lib/layui/images/face/18.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/lib/layui/images/face/18.gif -------------------------------------------------------------------------------- /src/main/resources/static/lib/layui/images/face/19.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/lib/layui/images/face/19.gif -------------------------------------------------------------------------------- /src/main/resources/static/lib/layui/images/face/2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/lib/layui/images/face/2.gif -------------------------------------------------------------------------------- /src/main/resources/static/lib/layui/images/face/20.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/lib/layui/images/face/20.gif -------------------------------------------------------------------------------- /src/main/resources/static/lib/layui/images/face/21.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/lib/layui/images/face/21.gif -------------------------------------------------------------------------------- /src/main/resources/static/lib/layui/images/face/22.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/lib/layui/images/face/22.gif -------------------------------------------------------------------------------- /src/main/resources/static/lib/layui/images/face/23.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/lib/layui/images/face/23.gif -------------------------------------------------------------------------------- /src/main/resources/static/lib/layui/images/face/24.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/lib/layui/images/face/24.gif -------------------------------------------------------------------------------- /src/main/resources/static/lib/layui/images/face/25.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/lib/layui/images/face/25.gif -------------------------------------------------------------------------------- /src/main/resources/static/lib/layui/images/face/26.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/lib/layui/images/face/26.gif -------------------------------------------------------------------------------- /src/main/resources/static/lib/layui/images/face/27.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/lib/layui/images/face/27.gif -------------------------------------------------------------------------------- /src/main/resources/static/lib/layui/images/face/28.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/lib/layui/images/face/28.gif -------------------------------------------------------------------------------- /src/main/resources/static/lib/layui/images/face/29.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/lib/layui/images/face/29.gif -------------------------------------------------------------------------------- /src/main/resources/static/lib/layui/images/face/3.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/lib/layui/images/face/3.gif -------------------------------------------------------------------------------- /src/main/resources/static/lib/layui/images/face/30.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/lib/layui/images/face/30.gif -------------------------------------------------------------------------------- /src/main/resources/static/lib/layui/images/face/31.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/lib/layui/images/face/31.gif -------------------------------------------------------------------------------- /src/main/resources/static/lib/layui/images/face/32.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/lib/layui/images/face/32.gif -------------------------------------------------------------------------------- /src/main/resources/static/lib/layui/images/face/33.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/lib/layui/images/face/33.gif -------------------------------------------------------------------------------- /src/main/resources/static/lib/layui/images/face/34.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/lib/layui/images/face/34.gif -------------------------------------------------------------------------------- /src/main/resources/static/lib/layui/images/face/35.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/lib/layui/images/face/35.gif -------------------------------------------------------------------------------- /src/main/resources/static/lib/layui/images/face/36.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/lib/layui/images/face/36.gif -------------------------------------------------------------------------------- /src/main/resources/static/lib/layui/images/face/37.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/lib/layui/images/face/37.gif -------------------------------------------------------------------------------- /src/main/resources/static/lib/layui/images/face/38.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/lib/layui/images/face/38.gif -------------------------------------------------------------------------------- /src/main/resources/static/lib/layui/images/face/39.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/lib/layui/images/face/39.gif -------------------------------------------------------------------------------- /src/main/resources/static/lib/layui/images/face/4.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/lib/layui/images/face/4.gif -------------------------------------------------------------------------------- /src/main/resources/static/lib/layui/images/face/40.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/lib/layui/images/face/40.gif -------------------------------------------------------------------------------- /src/main/resources/static/lib/layui/images/face/41.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/lib/layui/images/face/41.gif -------------------------------------------------------------------------------- /src/main/resources/static/lib/layui/images/face/42.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/lib/layui/images/face/42.gif -------------------------------------------------------------------------------- /src/main/resources/static/lib/layui/images/face/43.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/lib/layui/images/face/43.gif -------------------------------------------------------------------------------- /src/main/resources/static/lib/layui/images/face/44.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/lib/layui/images/face/44.gif -------------------------------------------------------------------------------- /src/main/resources/static/lib/layui/images/face/45.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/lib/layui/images/face/45.gif -------------------------------------------------------------------------------- /src/main/resources/static/lib/layui/images/face/46.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/lib/layui/images/face/46.gif -------------------------------------------------------------------------------- /src/main/resources/static/lib/layui/images/face/47.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/lib/layui/images/face/47.gif -------------------------------------------------------------------------------- /src/main/resources/static/lib/layui/images/face/48.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/lib/layui/images/face/48.gif -------------------------------------------------------------------------------- /src/main/resources/static/lib/layui/images/face/49.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/lib/layui/images/face/49.gif -------------------------------------------------------------------------------- /src/main/resources/static/lib/layui/images/face/5.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/lib/layui/images/face/5.gif -------------------------------------------------------------------------------- /src/main/resources/static/lib/layui/images/face/50.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/lib/layui/images/face/50.gif -------------------------------------------------------------------------------- /src/main/resources/static/lib/layui/images/face/51.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/lib/layui/images/face/51.gif -------------------------------------------------------------------------------- /src/main/resources/static/lib/layui/images/face/52.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/lib/layui/images/face/52.gif -------------------------------------------------------------------------------- /src/main/resources/static/lib/layui/images/face/53.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/lib/layui/images/face/53.gif -------------------------------------------------------------------------------- /src/main/resources/static/lib/layui/images/face/54.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/lib/layui/images/face/54.gif -------------------------------------------------------------------------------- /src/main/resources/static/lib/layui/images/face/55.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/lib/layui/images/face/55.gif -------------------------------------------------------------------------------- /src/main/resources/static/lib/layui/images/face/56.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/lib/layui/images/face/56.gif -------------------------------------------------------------------------------- /src/main/resources/static/lib/layui/images/face/57.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/lib/layui/images/face/57.gif -------------------------------------------------------------------------------- /src/main/resources/static/lib/layui/images/face/58.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/lib/layui/images/face/58.gif -------------------------------------------------------------------------------- /src/main/resources/static/lib/layui/images/face/59.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/lib/layui/images/face/59.gif -------------------------------------------------------------------------------- /src/main/resources/static/lib/layui/images/face/6.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/lib/layui/images/face/6.gif -------------------------------------------------------------------------------- /src/main/resources/static/lib/layui/images/face/60.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/lib/layui/images/face/60.gif -------------------------------------------------------------------------------- /src/main/resources/static/lib/layui/images/face/61.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/lib/layui/images/face/61.gif -------------------------------------------------------------------------------- /src/main/resources/static/lib/layui/images/face/62.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/lib/layui/images/face/62.gif -------------------------------------------------------------------------------- /src/main/resources/static/lib/layui/images/face/63.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/lib/layui/images/face/63.gif -------------------------------------------------------------------------------- /src/main/resources/static/lib/layui/images/face/64.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/lib/layui/images/face/64.gif -------------------------------------------------------------------------------- /src/main/resources/static/lib/layui/images/face/65.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/lib/layui/images/face/65.gif -------------------------------------------------------------------------------- /src/main/resources/static/lib/layui/images/face/66.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/lib/layui/images/face/66.gif -------------------------------------------------------------------------------- /src/main/resources/static/lib/layui/images/face/67.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/lib/layui/images/face/67.gif -------------------------------------------------------------------------------- /src/main/resources/static/lib/layui/images/face/68.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/lib/layui/images/face/68.gif -------------------------------------------------------------------------------- /src/main/resources/static/lib/layui/images/face/69.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/lib/layui/images/face/69.gif -------------------------------------------------------------------------------- /src/main/resources/static/lib/layui/images/face/7.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/lib/layui/images/face/7.gif -------------------------------------------------------------------------------- /src/main/resources/static/lib/layui/images/face/70.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/lib/layui/images/face/70.gif -------------------------------------------------------------------------------- /src/main/resources/static/lib/layui/images/face/71.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/lib/layui/images/face/71.gif -------------------------------------------------------------------------------- /src/main/resources/static/lib/layui/images/face/8.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/lib/layui/images/face/8.gif -------------------------------------------------------------------------------- /src/main/resources/static/lib/layui/images/face/9.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/errorabc/Graduation/f85f8f68a770f164fbc95c1810a2691146ad1ab2/src/main/resources/static/lib/layui/images/face/9.gif -------------------------------------------------------------------------------- /src/main/resources/static/lib/layui/lay/modules/code.js: -------------------------------------------------------------------------------- 1 | /** layui-v2.2.6 MIT License By https://www.layui.com */ 2 | ;layui.define("jquery",function(e){"use strict";var a=layui.$,l="http://www.layui.com/doc/modules/code.html";e("code",function(e){var t=[];e=e||{},e.elem=a(e.elem||".layui-code"),e.about=!("about"in e)||e.about,e.elem.each(function(){t.push(this)}),layui.each(t.reverse(),function(t,i){var c=a(i),o=c.html();(c.attr("lay-encode")||e.encode)&&(o=o.replace(/&(?!#?[a-zA-Z0-9]+;)/g,"&").replace(//g,">").replace(/'/g,"'").replace(/"/g,""")),c.html('
  1. '+o.replace(/[\r\t\n]+/g,"
  2. ")+"
"),c.find(">.layui-code-h3")[0]||c.prepend('

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

");var d=c.find(">.layui-code-ol");c.addClass("layui-box layui-code-view"),(c.attr("lay-skin")||e.skin)&&c.addClass("layui-code-"+(c.attr("lay-skin")||e.skin)),(d.find("li").length/100|0)>0&&d.css("margin-left",(d.find("li").length/100|0)+"px"),(c.attr("lay-height")||e.height)&&d.css("max-height",c.attr("lay-height")||e.height)})})}).addcss("modules/code.css","skincodecss"); -------------------------------------------------------------------------------- /src/main/resources/static/lib/layui/lay/modules/flow.js: -------------------------------------------------------------------------------- 1 | /** layui-v2.2.6 MIT License By https://www.layui.com */ 2 | ;layui.define("jquery",function(e){"use strict";var l=layui.$,o=function(e){},t='';o.prototype.load=function(e){var o,i,n,r,a=this,c=0;e=e||{};var f=l(e.elem);if(f[0]){var m=l(e.scrollElem||document),u=e.mb||50,s=!("isAuto"in e)||e.isAuto,v=e.end||"没有更多了",y=e.scrollElem&&e.scrollElem!==document,d="加载更多",h=l('");f.find(".layui-flow-more")[0]||f.append(h);var p=function(e,t){e=l(e),h.before(e),t=0==t||null,t?h.html(v):h.find("a").html(d),i=t,o=null,n&&n()},g=function(){o=!0,h.find("a").html(t),"function"==typeof e.done&&e.done(++c,p)};if(g(),h.find("a").on("click",function(){l(this);i||o||g()}),e.isLazyimg)var n=a.lazyimg({elem:e.elem+" img",scrollElem:e.scrollElem});return s?(m.on("scroll",function(){var e=l(this),t=e.scrollTop();r&&clearTimeout(r),i||(r=setTimeout(function(){var i=y?e.height():l(window).height(),n=y?e.prop("scrollHeight"):document.documentElement.scrollHeight;n-t-i<=u&&(o||g())},100))}),a):a}},o.prototype.lazyimg=function(e){var o,t=this,i=0;e=e||{};var n=l(e.scrollElem||document),r=e.elem||"img",a=e.scrollElem&&e.scrollElem!==document,c=function(e,l){var o=n.scrollTop(),r=o+l,c=a?function(){return e.offset().top-n.offset().top+o}():e.offset().top;if(c>=o&&c<=r&&!e.attr("src")){var m=e.attr("lay-src");layui.img(m,function(){var l=t.lazyimg.elem.eq(i);e.attr("src",m).removeAttr("lay-src"),l[0]&&f(l),i++})}},f=function(e,o){var f=a?(o||n).height():l(window).height(),m=n.scrollTop(),u=m+f;if(t.lazyimg.elem=l(r),e)c(e,f);else for(var s=0;su)break}};if(f(),!o){var m;n.on("scroll",function(){var e=l(this);m&&clearTimeout(m),m=setTimeout(function(){f(null,e)},50)}),o=!0}return f},e("flow",new o)}); -------------------------------------------------------------------------------- /src/main/resources/static/lib/layui/lay/modules/laytpl.js: -------------------------------------------------------------------------------- 1 | /** layui-v2.2.6 MIT License By https://www.layui.com */ 2 | ;layui.define(function(e){"use strict";var r={open:"{{",close:"}}"},c={exp:function(e){return new RegExp(e,"g")},query:function(e,c,t){var o=["#([\\s\\S])+?","([^{#}])*?"][e||0];return n((c||"")+r.open+o+r.close+(t||""))},escape:function(e){return String(e||"").replace(/&(?!#?[a-zA-Z0-9]+;)/g,"&").replace(//g,">").replace(/'/g,"'").replace(/"/g,""")},error:function(e,r){var c="Laytpl Error:";return"object"==typeof console&&console.error(c+e+"\n"+(r||"")),c+e}},n=c.exp,t=function(e){this.tpl=e};t.pt=t.prototype,window.errors=0,t.pt.parse=function(e,t){var o=this,p=e,a=n("^"+r.open+"#",""),l=n(r.close+"$","");e=e.replace(/\s+|\r|\t|\n/g," ").replace(n(r.open+"#"),r.open+"# ").replace(n(r.close+"}"),"} "+r.close).replace(/\\/g,"\\\\").replace(n(r.open+"!(.+?)!"+r.close),function(e){return e=e.replace(n("^"+r.open+"!"),"").replace(n("!"+r.close),"").replace(n(r.open+"|"+r.close),function(e){return e.replace(/(.)/g,"\\$1")})}).replace(/(?="|')/g,"\\").replace(c.query(),function(e){return e=e.replace(a,"").replace(l,""),'";'+e.replace(/\\/g,"")+';view+="'}).replace(c.query(1),function(e){var c='"+(';return e.replace(/\s/g,"")===r.open+r.close?"":(e=e.replace(n(r.open+"|"+r.close),""),/^=/.test(e)&&(e=e.replace(/^=/,""),c='"+_escape_('),c+e.replace(/\\/g,"")+')+"')}),e='"use strict";var view = "'+e+'";return view;';try{return o.cache=e=new Function("d, _escape_",e),e(t,c.escape)}catch(u){return delete o.cache,c.error(u,p)}},t.pt.render=function(e,r){var n,t=this;return e?(n=t.cache?t.cache(e,c.escape):t.parse(t.tpl,e),r?void r(n):n):c.error("no data")};var o=function(e){return"string"!=typeof e?c.error("Template not found"):new t(e)};o.config=function(e){e=e||{};for(var c in e)r[c]=e[c]},o.v="1.2.0",e("laytpl",o)}); -------------------------------------------------------------------------------- /src/main/resources/static/lib/layui/lay/modules/tree.js: -------------------------------------------------------------------------------- 1 | /** layui-v2.2.6 MIT License By https://www.layui.com */ 2 | ;layui.define("jquery",function(e){"use strict";var o=layui.$,a=layui.hint(),i="layui-tree-enter",r=function(e){this.options=e},t={arrow:["",""],checkbox:["",""],radio:["",""],branch:["",""],leaf:""};r.prototype.init=function(e){var o=this;e.addClass("layui-box layui-tree"),o.options.skin&&e.addClass("layui-tree-skin-"+o.options.skin),o.tree(e),o.on(e)},r.prototype.tree=function(e,a){var i=this,r=i.options,n=a||r.nodes;layui.each(n,function(a,n){var l=n.children&&n.children.length>0,c=o('
    '),s=o(["
  • ",function(){return l?''+(n.spread?t.arrow[1]:t.arrow[0])+"":""}(),function(){return r.check?''+("checkbox"===r.check?t.checkbox[0]:"radio"===r.check?t.radio[0]:"")+"":""}(),function(){return'"+(''+(l?n.spread?t.branch[1]:t.branch[0]:t.leaf)+"")+(""+(n.name||"未命名")+"")}(),"
  • "].join(""));l&&(s.append(c),i.tree(c,n.children)),e.append(s),"function"==typeof r.click&&i.click(s,n),i.spread(s,n),r.drag&&i.drag(s,n)})},r.prototype.click=function(e,o){var a=this,i=a.options;e.children("a").on("click",function(e){layui.stope(e),i.click(o)})},r.prototype.spread=function(e,o){var a=this,i=(a.options,e.children(".layui-tree-spread")),r=e.children("ul"),n=e.children("a"),l=function(){e.data("spread")?(e.data("spread",null),r.removeClass("layui-show"),i.html(t.arrow[0]),n.find(".layui-icon").html(t.branch[0])):(e.data("spread",!0),r.addClass("layui-show"),i.html(t.arrow[1]),n.find(".layui-icon").html(t.branch[1]))};r[0]&&(i.on("click",l),n.on("dblclick",l))},r.prototype.on=function(e){var a=this,r=a.options,t="layui-tree-drag";e.find("i").on("selectstart",function(e){return!1}),r.drag&&o(document).on("mousemove",function(e){var i=a.move;if(i.from){var r=(i.to,o('
    '));e.preventDefault(),o("."+t)[0]||o("body").append(r);var n=o("."+t)[0]?o("."+t):r;n.addClass("layui-show").html(i.from.elem.children("a").html()),n.css({left:e.pageX+10,top:e.pageY+10})}}).on("mouseup",function(){var e=a.move;e.from&&(e.from.elem.children("a").removeClass(i),e.to&&e.to.elem.children("a").removeClass(i),a.move={},o("."+t).remove())})},r.prototype.move={},r.prototype.drag=function(e,a){var r=this,t=(r.options,e.children("a")),n=function(){var t=o(this),n=r.move;n.from&&(n.to={item:a,elem:e},t.addClass(i))};t.on("mousedown",function(){var o=r.move;o.from={item:a,elem:e}}),t.on("mouseenter",n).on("mousemove",n).on("mouseleave",function(){var e=o(this),a=r.move;a.from&&(delete a.to,e.removeClass(i))})},e("tree",function(e){var i=new r(e=e||{}),t=o(e.elem);return t[0]?void i.init(t):a.error("layui.tree 没有找到"+e.elem+"元素")})}); -------------------------------------------------------------------------------- /src/main/resources/static/lib/layui/lay/modules/util.js: -------------------------------------------------------------------------------- 1 | /** layui-v2.2.6 MIT License By https://www.layui.com */ 2 | ;layui.define("jquery",function(e){"use strict";var t=layui.$,i={fixbar:function(e){var i,o,a="layui-fixbar",r="layui-fixbar-top",n=t(document),l=t("body");e=t.extend({showHeight:200},e),e.bar1=e.bar1===!0?"":e.bar1,e.bar2=e.bar2===!0?"":e.bar2,e.bgcolor=e.bgcolor?"background-color:"+e.bgcolor:"";var c=[e.bar1,e.bar2,""],g=t(['
      ',e.bar1?'
    • '+c[0]+"
    • ":"",e.bar2?'
    • '+c[1]+"
    • ":"",'
    • '+c[2]+"
    • ","
    "].join("")),s=g.find("."+r),u=function(){var t=n.scrollTop();t>=e.showHeight?i||(s.show(),i=1):i&&(s.hide(),i=0)};t("."+a)[0]||("object"==typeof e.css&&g.css(e.css),l.append(g),u(),g.find("li").on("click",function(){var i=t(this),o=i.attr("lay-type");"top"===o&&t("html,body").animate({scrollTop:0},200),e.click&&e.click.call(this,o)}),n.on("scroll",function(){clearTimeout(o),o=setTimeout(function(){u()},100)}))},countdown:function(e,t,i){var o=this,a="function"==typeof t,r=new Date(e).getTime(),n=new Date(!t||a?(new Date).getTime():t).getTime(),l=r-n,c=[Math.floor(l/864e5),Math.floor(l/36e5)%24,Math.floor(l/6e4)%60,Math.floor(l/1e3)%60];a&&(i=t);var g=setTimeout(function(){o.countdown(e,n+1e3,i)},1e3);return i&&i(l>0?c:[0,0,0,0],t,g),l<=0&&clearTimeout(g),g},timeAgo:function(e,t){var i=this,o=[[],[]],a=(new Date).getTime()-new Date(e).getTime();return a>6912e5?(a=new Date(e),o[0][0]=i.digit(a.getFullYear(),4),o[0][1]=i.digit(a.getMonth()+1),o[0][2]=i.digit(a.getDate()),t||(o[1][0]=i.digit(a.getHours()),o[1][1]=i.digit(a.getMinutes()),o[1][2]=i.digit(a.getSeconds())),o[0].join("-")+" "+o[1].join(":")):a>=864e5?(a/1e3/60/60/24|0)+"天前":a>=36e5?(a/1e3/60/60|0)+"小时前":a>=12e4?(a/1e3/60|0)+"分钟前":a<0?"未来":"刚刚"},digit:function(e,t){var i="";e=String(e),t=t||2;for(var o=e.length;o 2 | 3 | 4 | 5 | 未授权 6 | 7 | 8 | 您没有权限,请联系管理员 9 | 10 | -------------------------------------------------------------------------------- /src/main/resources/templates/Error/404.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 404 6 | 7 | 8 | 该链接不存在,请联系管理员 9 | 10 | -------------------------------------------------------------------------------- /src/main/resources/templates/Error/405.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 405 6 | 7 | 8 | 服务器异常,请联系管理员 9 | 10 | -------------------------------------------------------------------------------- /src/main/resources/templates/Error/500.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Title 6 | 7 | 8 | 服务器错误,请联系管理员 9 | 10 | -------------------------------------------------------------------------------- /src/main/resources/templates/SysNotice/addsysnotice.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 添加公告 12 | 13 | 14 |
    15 |
    16 | 19 |
    20 | 22 |
    23 |
    24 | 25 |
    26 | 27 |
    28 | 31 |
    32 |
    33 |
    34 |
    35 |
    36 | 37 | 38 |
    39 | 40 |
    41 | 42 | 43 |
    44 | 45 | 89 | 90 | -------------------------------------------------------------------------------- /src/main/resources/templates/SysNotice/deetails.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 公告详情 12 | 13 | 14 |
    15 |
    16 | 19 |
    20 | 22 |
    23 |
    24 | 27 |
    28 |
    29 |
    30 |
    31 |
    32 |
    33 | 34 | 41 | 42 | -------------------------------------------------------------------------------- /src/main/resources/templates/login.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 登录 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 28 | 29 | 48 | 49 | -------------------------------------------------------------------------------- /src/main/resources/templates/notice.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | Title 12 | 13 | 14 | 15 |

    系统公告

    16 |
    17 |
    18 |
    19 |
    20 | 21 | 33 | -------------------------------------------------------------------------------- /src/test/java/com/example/demo/DemoApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.example.demo; 2 | 3 | import com.alibaba.fastjson.JSONArray; 4 | import com.alibaba.fastjson.JSONObject; 5 | import com.example.demo.Graduation.Tool.DateTime; 6 | import org.apache.shiro.crypto.hash.SimpleHash; 7 | import org.apache.shiro.util.ByteSource; 8 | import org.junit.jupiter.api.Test; 9 | import org.springframework.boot.test.context.SpringBootTest; 10 | 11 | import java.text.DateFormat; 12 | import java.text.ParseException; 13 | import java.text.SimpleDateFormat; 14 | import java.util.Date; 15 | import java.util.HashMap; 16 | import java.util.Map; 17 | import java.util.UUID; 18 | 19 | @SpringBootTest 20 | class DemoApplicationTests { 21 | 22 | @Test 23 | 24 | void contextLoads() throws ParseException { 25 | } 26 | 27 | } 28 | --------------------------------------------------------------------------------