├── video.iml ├── .idea ├── dictionaries │ └── lmy.xml ├── vcs.xml ├── encodings.xml ├── webContexts.xml ├── compiler.xml ├── inspectionProfiles │ └── Project_Default.xml └── misc.xml ├── src └── main │ ├── resources │ ├── log4j.properties │ ├── db.properties │ ├── mapper │ │ ├── AdminMapper.xml │ │ ├── UserCollectionMapper.xml │ │ ├── VideoDetailMapper.xml │ │ ├── UserMapper.xml │ │ ├── CategoryMapper.xml │ │ └── HistoryMapper.xml │ ├── springmvc.xml │ └── applicationContext.xml │ ├── webapp │ ├── static │ │ ├── images │ │ │ ├── 用户.png │ │ │ ├── into.png │ │ │ ├── logo.png │ │ │ ├── search.png │ │ │ ├── 管理员头像.png │ │ │ ├── register.png │ │ │ └── layuiimages │ │ │ │ ├── case.png │ │ │ │ ├── fly.jpg │ │ │ │ ├── logo.png │ │ │ │ ├── logo-1.png │ │ │ │ ├── weixin.jpg │ │ │ │ ├── avatar │ │ │ │ ├── 0.jpg │ │ │ │ ├── 00.jpg │ │ │ │ ├── 1.jpg │ │ │ │ ├── 10.jpg │ │ │ │ ├── 11.jpg │ │ │ │ ├── 2.jpg │ │ │ │ ├── 3.jpg │ │ │ │ ├── 4.jpg │ │ │ │ ├── 5.jpg │ │ │ │ ├── 6.jpg │ │ │ │ ├── 7.jpg │ │ │ │ ├── 8.jpg │ │ │ │ ├── 9.jpg │ │ │ │ └── default.png │ │ │ │ └── other │ │ │ │ ├── study-a.png │ │ │ │ └── 1437100018023.jpg │ │ ├── css │ │ │ ├── iconfont.eot │ │ │ ├── iconfont.ttf │ │ │ ├── iconfont.woff │ │ │ ├── userHome.css │ │ │ ├── video_play.css │ │ │ ├── register.css │ │ │ ├── full.css │ │ │ ├── video_detail.css │ │ │ └── video │ │ │ │ └── css.css │ │ ├── plugins │ │ │ ├── layui │ │ │ │ ├── font │ │ │ │ │ ├── iconfont.eot │ │ │ │ │ ├── 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 │ │ │ │ ├── css │ │ │ │ │ └── modules │ │ │ │ │ │ ├── layer │ │ │ │ │ │ └── default │ │ │ │ │ │ │ ├── icon.png │ │ │ │ │ │ │ ├── icon-ext.png │ │ │ │ │ │ │ ├── loading-0.gif │ │ │ │ │ │ │ ├── loading-1.gif │ │ │ │ │ │ │ └── loading-2.gif │ │ │ │ │ │ └── code.css │ │ │ │ └── lay │ │ │ │ │ └── modules │ │ │ │ │ ├── code.js │ │ │ │ │ ├── laytpl.js │ │ │ │ │ ├── flow.js │ │ │ │ │ ├── rate.js │ │ │ │ │ ├── util.js │ │ │ │ │ ├── carousel.js │ │ │ │ │ └── transfer.js │ │ │ └── webUploader │ │ │ │ ├── Uploader.swf │ │ │ │ └── webuploader.css │ │ ├── js │ │ │ └── movie.js │ │ ├── 11-HTML5-视频播放器-.html │ │ └── mods │ │ │ └── face.js │ ├── file │ │ ├── video │ │ │ └── images │ │ │ │ ├── 诛仙.jpg │ │ │ │ └── 轮播图 │ │ │ │ ├── 功夫.jpg │ │ │ │ ├── 好小子.jpg │ │ │ │ ├── 过春天.jpg │ │ │ │ ├── 慎重勇者.jpg │ │ │ │ ├── 狄仁杰2四大天王.jpg │ │ │ │ └── 超人高中生们.jpg │ │ └── user │ │ │ └── avatar │ │ │ └── 4f456e40-1415-408d-adb1-c376456e4402.png │ ├── jsp │ │ ├── common │ │ │ └── footer.jsp │ │ ├── video │ │ │ ├── play1.jsp │ │ │ └── play.jsp │ │ └── manager │ │ │ ├── index.jsp │ │ │ ├── login.jsp │ │ │ ├── user_detail.jsp │ │ │ └── test.jsp │ └── WEB-INF │ │ ├── jsp │ │ ├── common │ │ │ └── footer.jsp │ │ ├── manager │ │ │ ├── login.jsp │ │ │ ├── user_detail.jsp │ │ │ ├── index.jsp │ │ │ ├── videolist.jsp │ │ │ └── userlist.jsp │ │ └── video │ │ │ ├── play1.jsp │ │ │ └── play.jsp │ │ └── web.xml │ └── java │ └── com │ └── example │ ├── service │ ├── ManagerService.java │ ├── HistoryService.java │ ├── CategoryService.java │ ├── impl │ │ ├── ManagerServiceImpl.java │ │ ├── HistoryServiceImpl.java │ │ ├── CategoryServcieImpl.java │ │ └── UserServiceImpl.java │ ├── UserService.java │ └── VideoService.java │ ├── mapper │ ├── UserCollectionMapper.java │ ├── AdminMapper.java │ ├── HistoryMapper.java │ ├── VideoDetailMapper.java │ ├── UserMapper.java │ ├── CategoryMapper.java │ └── VideoMapper.java │ ├── test │ ├── Test1.java │ └── MBGTest.java │ ├── pojo │ ├── UserCollection.java │ ├── VideoCategory.java │ ├── Admin.java │ ├── Category.java │ ├── VideoDetail.java │ ├── History.java │ ├── User.java │ └── Video.java │ ├── interceptor │ ├── UserInterceptor.java │ └── ManagerInterceptor.java │ ├── controller │ ├── CategoryController.java │ └── VideoController.java │ ├── page │ └── PageInfo.java │ └── utils │ └── CodeImageUtil.java ├── generatorConfig.xml └── README.md /video.iml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /.idea/dictionaries/lmy.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /src/main/resources/log4j.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/resources/log4j.properties -------------------------------------------------------------------------------- /src/main/webapp/static/images/用户.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/images/用户.png -------------------------------------------------------------------------------- /src/main/webapp/file/video/images/诛仙.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/file/video/images/诛仙.jpg -------------------------------------------------------------------------------- /src/main/webapp/static/css/iconfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/css/iconfont.eot -------------------------------------------------------------------------------- /src/main/webapp/static/css/iconfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/css/iconfont.ttf -------------------------------------------------------------------------------- /src/main/webapp/static/css/iconfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/css/iconfont.woff -------------------------------------------------------------------------------- /src/main/webapp/static/images/into.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/images/into.png -------------------------------------------------------------------------------- /src/main/webapp/static/images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/images/logo.png -------------------------------------------------------------------------------- /src/main/webapp/static/images/search.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/images/search.png -------------------------------------------------------------------------------- /src/main/webapp/static/images/管理员头像.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/images/管理员头像.png -------------------------------------------------------------------------------- /src/main/webapp/static/images/register.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/images/register.png -------------------------------------------------------------------------------- /src/main/webapp/file/video/images/轮播图/功夫.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/file/video/images/轮播图/功夫.jpg -------------------------------------------------------------------------------- /src/main/webapp/file/video/images/轮播图/好小子.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/file/video/images/轮播图/好小子.jpg -------------------------------------------------------------------------------- /src/main/webapp/file/video/images/轮播图/过春天.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/file/video/images/轮播图/过春天.jpg -------------------------------------------------------------------------------- /src/main/webapp/file/video/images/轮播图/慎重勇者.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/file/video/images/轮播图/慎重勇者.jpg -------------------------------------------------------------------------------- /src/main/webapp/file/video/images/轮播图/狄仁杰2四大天王.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/file/video/images/轮播图/狄仁杰2四大天王.jpg -------------------------------------------------------------------------------- /src/main/webapp/file/video/images/轮播图/超人高中生们.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/file/video/images/轮播图/超人高中生们.jpg -------------------------------------------------------------------------------- /src/main/webapp/static/images/layuiimages/case.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/images/layuiimages/case.png -------------------------------------------------------------------------------- /src/main/webapp/static/images/layuiimages/fly.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/images/layuiimages/fly.jpg -------------------------------------------------------------------------------- /src/main/webapp/static/images/layuiimages/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/images/layuiimages/logo.png -------------------------------------------------------------------------------- /src/main/webapp/static/images/layuiimages/logo-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/images/layuiimages/logo-1.png -------------------------------------------------------------------------------- /src/main/webapp/static/images/layuiimages/weixin.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/images/layuiimages/weixin.jpg -------------------------------------------------------------------------------- /src/main/webapp/static/images/layuiimages/avatar/0.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/images/layuiimages/avatar/0.jpg -------------------------------------------------------------------------------- /src/main/webapp/static/images/layuiimages/avatar/00.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/images/layuiimages/avatar/00.jpg -------------------------------------------------------------------------------- /src/main/webapp/static/images/layuiimages/avatar/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/images/layuiimages/avatar/1.jpg -------------------------------------------------------------------------------- /src/main/webapp/static/images/layuiimages/avatar/10.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/images/layuiimages/avatar/10.jpg -------------------------------------------------------------------------------- /src/main/webapp/static/images/layuiimages/avatar/11.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/images/layuiimages/avatar/11.jpg -------------------------------------------------------------------------------- /src/main/webapp/static/images/layuiimages/avatar/2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/images/layuiimages/avatar/2.jpg -------------------------------------------------------------------------------- /src/main/webapp/static/images/layuiimages/avatar/3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/images/layuiimages/avatar/3.jpg -------------------------------------------------------------------------------- /src/main/webapp/static/images/layuiimages/avatar/4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/images/layuiimages/avatar/4.jpg -------------------------------------------------------------------------------- /src/main/webapp/static/images/layuiimages/avatar/5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/images/layuiimages/avatar/5.jpg -------------------------------------------------------------------------------- /src/main/webapp/static/images/layuiimages/avatar/6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/images/layuiimages/avatar/6.jpg -------------------------------------------------------------------------------- /src/main/webapp/static/images/layuiimages/avatar/7.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/images/layuiimages/avatar/7.jpg -------------------------------------------------------------------------------- /src/main/webapp/static/images/layuiimages/avatar/8.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/images/layuiimages/avatar/8.jpg -------------------------------------------------------------------------------- /src/main/webapp/static/images/layuiimages/avatar/9.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/images/layuiimages/avatar/9.jpg -------------------------------------------------------------------------------- /src/main/webapp/static/plugins/layui/font/iconfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/plugins/layui/font/iconfont.eot -------------------------------------------------------------------------------- /src/main/webapp/static/plugins/layui/font/iconfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/plugins/layui/font/iconfont.ttf -------------------------------------------------------------------------------- /src/main/webapp/static/plugins/layui/font/iconfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/plugins/layui/font/iconfont.woff -------------------------------------------------------------------------------- /src/main/webapp/static/plugins/layui/images/face/0.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/plugins/layui/images/face/0.gif -------------------------------------------------------------------------------- /src/main/webapp/static/plugins/layui/images/face/1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/plugins/layui/images/face/1.gif -------------------------------------------------------------------------------- /src/main/webapp/static/plugins/layui/images/face/10.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/plugins/layui/images/face/10.gif -------------------------------------------------------------------------------- /src/main/webapp/static/plugins/layui/images/face/11.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/plugins/layui/images/face/11.gif -------------------------------------------------------------------------------- /src/main/webapp/static/plugins/layui/images/face/12.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/plugins/layui/images/face/12.gif -------------------------------------------------------------------------------- /src/main/webapp/static/plugins/layui/images/face/13.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/plugins/layui/images/face/13.gif -------------------------------------------------------------------------------- /src/main/webapp/static/plugins/layui/images/face/14.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/plugins/layui/images/face/14.gif -------------------------------------------------------------------------------- /src/main/webapp/static/plugins/layui/images/face/15.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/plugins/layui/images/face/15.gif -------------------------------------------------------------------------------- /src/main/webapp/static/plugins/layui/images/face/16.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/plugins/layui/images/face/16.gif -------------------------------------------------------------------------------- /src/main/webapp/static/plugins/layui/images/face/17.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/plugins/layui/images/face/17.gif -------------------------------------------------------------------------------- /src/main/webapp/static/plugins/layui/images/face/18.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/plugins/layui/images/face/18.gif -------------------------------------------------------------------------------- /src/main/webapp/static/plugins/layui/images/face/19.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/plugins/layui/images/face/19.gif -------------------------------------------------------------------------------- /src/main/webapp/static/plugins/layui/images/face/2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/plugins/layui/images/face/2.gif -------------------------------------------------------------------------------- /src/main/webapp/static/plugins/layui/images/face/20.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/plugins/layui/images/face/20.gif -------------------------------------------------------------------------------- /src/main/webapp/static/plugins/layui/images/face/21.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/plugins/layui/images/face/21.gif -------------------------------------------------------------------------------- /src/main/webapp/static/plugins/layui/images/face/22.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/plugins/layui/images/face/22.gif -------------------------------------------------------------------------------- /src/main/webapp/static/plugins/layui/images/face/23.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/plugins/layui/images/face/23.gif -------------------------------------------------------------------------------- /src/main/webapp/static/plugins/layui/images/face/24.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/plugins/layui/images/face/24.gif -------------------------------------------------------------------------------- /src/main/webapp/static/plugins/layui/images/face/25.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/plugins/layui/images/face/25.gif -------------------------------------------------------------------------------- /src/main/webapp/static/plugins/layui/images/face/26.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/plugins/layui/images/face/26.gif -------------------------------------------------------------------------------- /src/main/webapp/static/plugins/layui/images/face/27.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/plugins/layui/images/face/27.gif -------------------------------------------------------------------------------- /src/main/webapp/static/plugins/layui/images/face/28.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/plugins/layui/images/face/28.gif -------------------------------------------------------------------------------- /src/main/webapp/static/plugins/layui/images/face/29.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/plugins/layui/images/face/29.gif -------------------------------------------------------------------------------- /src/main/webapp/static/plugins/layui/images/face/3.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/plugins/layui/images/face/3.gif -------------------------------------------------------------------------------- /src/main/webapp/static/plugins/layui/images/face/30.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/plugins/layui/images/face/30.gif -------------------------------------------------------------------------------- /src/main/webapp/static/plugins/layui/images/face/31.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/plugins/layui/images/face/31.gif -------------------------------------------------------------------------------- /src/main/webapp/static/plugins/layui/images/face/32.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/plugins/layui/images/face/32.gif -------------------------------------------------------------------------------- /src/main/webapp/static/plugins/layui/images/face/33.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/plugins/layui/images/face/33.gif -------------------------------------------------------------------------------- /src/main/webapp/static/plugins/layui/images/face/34.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/plugins/layui/images/face/34.gif -------------------------------------------------------------------------------- /src/main/webapp/static/plugins/layui/images/face/35.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/plugins/layui/images/face/35.gif -------------------------------------------------------------------------------- /src/main/webapp/static/plugins/layui/images/face/36.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/plugins/layui/images/face/36.gif -------------------------------------------------------------------------------- /src/main/webapp/static/plugins/layui/images/face/37.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/plugins/layui/images/face/37.gif -------------------------------------------------------------------------------- /src/main/webapp/static/plugins/layui/images/face/38.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/plugins/layui/images/face/38.gif -------------------------------------------------------------------------------- /src/main/webapp/static/plugins/layui/images/face/39.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/plugins/layui/images/face/39.gif -------------------------------------------------------------------------------- /src/main/webapp/static/plugins/layui/images/face/4.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/plugins/layui/images/face/4.gif -------------------------------------------------------------------------------- /src/main/webapp/static/plugins/layui/images/face/40.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/plugins/layui/images/face/40.gif -------------------------------------------------------------------------------- /src/main/webapp/static/plugins/layui/images/face/41.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/plugins/layui/images/face/41.gif -------------------------------------------------------------------------------- /src/main/webapp/static/plugins/layui/images/face/42.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/plugins/layui/images/face/42.gif -------------------------------------------------------------------------------- /src/main/webapp/static/plugins/layui/images/face/43.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/plugins/layui/images/face/43.gif -------------------------------------------------------------------------------- /src/main/webapp/static/plugins/layui/images/face/44.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/plugins/layui/images/face/44.gif -------------------------------------------------------------------------------- /src/main/webapp/static/plugins/layui/images/face/45.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/plugins/layui/images/face/45.gif -------------------------------------------------------------------------------- /src/main/webapp/static/plugins/layui/images/face/46.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/plugins/layui/images/face/46.gif -------------------------------------------------------------------------------- /src/main/webapp/static/plugins/layui/images/face/47.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/plugins/layui/images/face/47.gif -------------------------------------------------------------------------------- /src/main/webapp/static/plugins/layui/images/face/48.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/plugins/layui/images/face/48.gif -------------------------------------------------------------------------------- /src/main/webapp/static/plugins/layui/images/face/49.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/plugins/layui/images/face/49.gif -------------------------------------------------------------------------------- /src/main/webapp/static/plugins/layui/images/face/5.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/plugins/layui/images/face/5.gif -------------------------------------------------------------------------------- /src/main/webapp/static/plugins/layui/images/face/50.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/plugins/layui/images/face/50.gif -------------------------------------------------------------------------------- /src/main/webapp/static/plugins/layui/images/face/51.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/plugins/layui/images/face/51.gif -------------------------------------------------------------------------------- /src/main/webapp/static/plugins/layui/images/face/52.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/plugins/layui/images/face/52.gif -------------------------------------------------------------------------------- /src/main/webapp/static/plugins/layui/images/face/53.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/plugins/layui/images/face/53.gif -------------------------------------------------------------------------------- /src/main/webapp/static/plugins/layui/images/face/54.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/plugins/layui/images/face/54.gif -------------------------------------------------------------------------------- /src/main/webapp/static/plugins/layui/images/face/55.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/plugins/layui/images/face/55.gif -------------------------------------------------------------------------------- /src/main/webapp/static/plugins/layui/images/face/56.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/plugins/layui/images/face/56.gif -------------------------------------------------------------------------------- /src/main/webapp/static/plugins/layui/images/face/57.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/plugins/layui/images/face/57.gif -------------------------------------------------------------------------------- /src/main/webapp/static/plugins/layui/images/face/58.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/plugins/layui/images/face/58.gif -------------------------------------------------------------------------------- /src/main/webapp/static/plugins/layui/images/face/59.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/plugins/layui/images/face/59.gif -------------------------------------------------------------------------------- /src/main/webapp/static/plugins/layui/images/face/6.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/plugins/layui/images/face/6.gif -------------------------------------------------------------------------------- /src/main/webapp/static/plugins/layui/images/face/60.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/plugins/layui/images/face/60.gif -------------------------------------------------------------------------------- /src/main/webapp/static/plugins/layui/images/face/61.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/plugins/layui/images/face/61.gif -------------------------------------------------------------------------------- /src/main/webapp/static/plugins/layui/images/face/62.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/plugins/layui/images/face/62.gif -------------------------------------------------------------------------------- /src/main/webapp/static/plugins/layui/images/face/63.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/plugins/layui/images/face/63.gif -------------------------------------------------------------------------------- /src/main/webapp/static/plugins/layui/images/face/64.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/plugins/layui/images/face/64.gif -------------------------------------------------------------------------------- /src/main/webapp/static/plugins/layui/images/face/65.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/plugins/layui/images/face/65.gif -------------------------------------------------------------------------------- /src/main/webapp/static/plugins/layui/images/face/66.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/plugins/layui/images/face/66.gif -------------------------------------------------------------------------------- /src/main/webapp/static/plugins/layui/images/face/67.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/plugins/layui/images/face/67.gif -------------------------------------------------------------------------------- /src/main/webapp/static/plugins/layui/images/face/68.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/plugins/layui/images/face/68.gif -------------------------------------------------------------------------------- /src/main/webapp/static/plugins/layui/images/face/69.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/plugins/layui/images/face/69.gif -------------------------------------------------------------------------------- /src/main/webapp/static/plugins/layui/images/face/7.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/plugins/layui/images/face/7.gif -------------------------------------------------------------------------------- /src/main/webapp/static/plugins/layui/images/face/70.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/plugins/layui/images/face/70.gif -------------------------------------------------------------------------------- /src/main/webapp/static/plugins/layui/images/face/71.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/plugins/layui/images/face/71.gif -------------------------------------------------------------------------------- /src/main/webapp/static/plugins/layui/images/face/8.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/plugins/layui/images/face/8.gif -------------------------------------------------------------------------------- /src/main/webapp/static/plugins/layui/images/face/9.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/plugins/layui/images/face/9.gif -------------------------------------------------------------------------------- /src/main/webapp/static/plugins/webUploader/Uploader.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/plugins/webUploader/Uploader.swf -------------------------------------------------------------------------------- /src/main/webapp/static/plugins/layui/font/iconfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/plugins/layui/font/iconfont.woff2 -------------------------------------------------------------------------------- /src/main/webapp/static/images/layuiimages/avatar/default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/images/layuiimages/avatar/default.png -------------------------------------------------------------------------------- /src/main/webapp/static/images/layuiimages/other/study-a.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/images/layuiimages/other/study-a.png -------------------------------------------------------------------------------- /src/main/webapp/static/images/layuiimages/other/1437100018023.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/images/layuiimages/other/1437100018023.jpg -------------------------------------------------------------------------------- /src/main/resources/db.properties: -------------------------------------------------------------------------------- 1 | jdbc.url=jdbc:mysql://localhost:3306/video?useUnicode=true&characterEncoding=UTF-8 2 | jdbc.driver=com.mysql.jdbc.Driver 3 | jdbc.username=root 4 | jdbc.password=123456 -------------------------------------------------------------------------------- /src/main/webapp/static/plugins/layui/css/modules/layer/default/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/plugins/layui/css/modules/layer/default/icon.png -------------------------------------------------------------------------------- /src/main/webapp/file/user/avatar/4f456e40-1415-408d-adb1-c376456e4402.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/file/user/avatar/4f456e40-1415-408d-adb1-c376456e4402.png -------------------------------------------------------------------------------- /src/main/webapp/static/plugins/layui/css/modules/layer/default/icon-ext.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/plugins/layui/css/modules/layer/default/icon-ext.png -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/main/webapp/static/plugins/layui/css/modules/layer/default/loading-0.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/plugins/layui/css/modules/layer/default/loading-0.gif -------------------------------------------------------------------------------- /src/main/webapp/static/plugins/layui/css/modules/layer/default/loading-1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/plugins/layui/css/modules/layer/default/loading-1.gif -------------------------------------------------------------------------------- /src/main/webapp/static/plugins/layui/css/modules/layer/default/loading-2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishardtogetaname/video/HEAD/src/main/webapp/static/plugins/layui/css/modules/layer/default/loading-2.gif -------------------------------------------------------------------------------- /.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /src/main/resources/mapper/AdminMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /src/main/resources/mapper/UserCollectionMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /src/main/java/com/example/service/ManagerService.java: -------------------------------------------------------------------------------- 1 | package com.example.service; 2 | 3 | import com.example.pojo.Admin; 4 | 5 | public interface ManagerService { 6 | 7 | Admin selByName(String name); 8 | 9 | Admin selByNameAndPassword(String name,String password); 10 | } 11 | -------------------------------------------------------------------------------- /.idea/webContexts.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 10 | -------------------------------------------------------------------------------- /src/main/webapp/jsp/common/footer.jsp: -------------------------------------------------------------------------------- 1 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> 2 |
3 |
4 |

5 | 本网站为学生毕设练习作品,内容、图文来自于网络,如有内容侵犯您的合法权益,请及时与我联系,我将第一时间安排核实及删除! 联系邮箱:1057622126@qq.com 6 |

7 |

8 | 版权所有 © lmy 9 |

10 |
11 |
-------------------------------------------------------------------------------- /src/main/webapp/WEB-INF/jsp/common/footer.jsp: -------------------------------------------------------------------------------- 1 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> 2 |
3 |
4 |

5 | 本网站的内容、图文来自于网络,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系,我们将第一时间安排核实及删除! 法务联系邮箱:1057622126@qq.com 6 |

7 |

8 | 版权所有 © lmy.com 9 |

10 |
11 |
-------------------------------------------------------------------------------- /src/main/java/com/example/mapper/UserCollectionMapper.java: -------------------------------------------------------------------------------- 1 | package com.example.mapper; 2 | 3 | import com.example.pojo.User; 4 | import com.example.pojo.Video; 5 | import org.apache.ibatis.annotations.Delete; 6 | import org.apache.ibatis.annotations.Insert; 7 | import org.apache.ibatis.annotations.Select; 8 | 9 | import javax.xml.ws.Action; 10 | import java.util.List; 11 | 12 | public interface UserCollectionMapper { 13 | 14 | } 15 | -------------------------------------------------------------------------------- /src/main/java/com/example/test/Test1.java: -------------------------------------------------------------------------------- 1 | package com.example.test; 2 | 3 | import com.example.mapper.UserMapper; 4 | import com.example.pojo.User; 5 | import org.junit.jupiter.api.Test; 6 | 7 | import javax.annotation.Resource; 8 | import java.util.Date; 9 | import java.util.List; 10 | 11 | public class Test1 { 12 | @Test 13 | public void test01(){ 14 | System.out.println(new Date().getYear()); 15 | } 16 | 17 | } 18 | -------------------------------------------------------------------------------- /src/main/java/com/example/service/HistoryService.java: -------------------------------------------------------------------------------- 1 | package com.example.service; 2 | 3 | import com.example.pojo.History; 4 | import org.springframework.stereotype.Service; 5 | 6 | import java.util.List; 7 | 8 | public interface HistoryService { 9 | int insHistory(History history); 10 | 11 | int updHistory(History history); 12 | 13 | History selHistoryByName(int uid,String videoName); 14 | 15 | List selHistoryByUid(int uid); 16 | } 17 | -------------------------------------------------------------------------------- /src/main/java/com/example/mapper/AdminMapper.java: -------------------------------------------------------------------------------- 1 | package com.example.mapper; 2 | 3 | import com.example.pojo.Admin; 4 | import org.apache.ibatis.annotations.Select; 5 | 6 | public interface AdminMapper { 7 | 8 | @Select("select * from admins where name = #{param1}") 9 | Admin selByName(String name); 10 | 11 | @Select("select * from admins where name = #{param1} and password = #{param2}") 12 | Admin selByNameAndPassword(String name, String password); 13 | } -------------------------------------------------------------------------------- /src/main/java/com/example/pojo/UserCollection.java: -------------------------------------------------------------------------------- 1 | package com.example.pojo; 2 | 3 | public class UserCollection { 4 | private int uid; 5 | private int vid; 6 | 7 | public int getUid() { 8 | return uid; 9 | } 10 | 11 | public void setUid(int uid) { 12 | this.uid = uid; 13 | } 14 | 15 | public int getVid() { 16 | return vid; 17 | } 18 | 19 | public void setVid(int vid) { 20 | this.vid = vid; 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /.idea/compiler.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /src/main/java/com/example/service/CategoryService.java: -------------------------------------------------------------------------------- 1 | package com.example.service; 2 | 3 | import com.example.pojo.Category; 4 | 5 | import java.util.List; 6 | 7 | public interface CategoryService { 8 | List selByPid(int pid); 9 | 10 | List selAll(); 11 | 12 | List selByLimit(Integer page, Integer limit); 13 | 14 | int selCount(); 15 | 16 | List selByNameWithLimit(String name,Integer pid, Integer page, Integer limit); 17 | 18 | int selCountByName(String name,Integer pid); 19 | 20 | int delById(Integer id); 21 | 22 | int insCategory(String name, Integer pid); 23 | } 24 | -------------------------------------------------------------------------------- /.idea/inspectionProfiles/Project_Default.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 9 | -------------------------------------------------------------------------------- /src/main/webapp/static/plugins/webUploader/webuploader.css: -------------------------------------------------------------------------------- 1 | .webuploader-container { 2 | position: relative; 3 | } 4 | .webuploader-element-invisible { 5 | position: absolute !important; 6 | clip: rect(1px 1px 1px 1px); /* IE6, IE7 */ 7 | clip: rect(1px,1px,1px,1px); 8 | } 9 | .webuploader-pick { 10 | position: relative; 11 | display: inline-block; 12 | cursor: pointer; 13 | background: #00b7ee; 14 | padding: 10px 15px; 15 | color: #fff; 16 | text-align: center; 17 | border-radius: 3px; 18 | overflow: hidden; 19 | } 20 | .webuploader-pick-hover { 21 | background: #00a2d4; 22 | } 23 | 24 | .webuploader-pick-disable { 25 | opacity: 0.6; 26 | pointer-events:none; 27 | } 28 | 29 | -------------------------------------------------------------------------------- /src/main/java/com/example/pojo/VideoCategory.java: -------------------------------------------------------------------------------- 1 | package com.example.pojo; 2 | 3 | public class VideoCategory { 4 | private Integer id; 5 | 6 | private Integer videoId; 7 | 8 | private Integer categoryId; 9 | 10 | public Integer getId() { 11 | return id; 12 | } 13 | 14 | public void setId(Integer id) { 15 | this.id = id; 16 | } 17 | 18 | public Integer getVideoId() { 19 | return videoId; 20 | } 21 | 22 | public void setVideoId(Integer videoId) { 23 | this.videoId = videoId; 24 | } 25 | 26 | public Integer getCategoryId() { 27 | return categoryId; 28 | } 29 | 30 | public void setCategoryId(Integer categoryId) { 31 | this.categoryId = categoryId; 32 | } 33 | } -------------------------------------------------------------------------------- /src/main/java/com/example/service/impl/ManagerServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.example.service.impl; 2 | 3 | import com.example.mapper.AdminMapper; 4 | import com.example.pojo.Admin; 5 | import com.example.service.ManagerService; 6 | import org.springframework.stereotype.Service; 7 | 8 | import javax.annotation.Resource; 9 | 10 | @Service 11 | public class ManagerServiceImpl implements ManagerService { 12 | 13 | @Resource 14 | AdminMapper adminMapper; 15 | 16 | @Override 17 | public Admin selByName(String name) { 18 | return adminMapper.selByName(name); 19 | } 20 | 21 | @Override 22 | public Admin selByNameAndPassword(String name, String password) { 23 | return adminMapper.selByNameAndPassword(name,password); 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /src/main/java/com/example/interceptor/UserInterceptor.java: -------------------------------------------------------------------------------- 1 | package com.example.interceptor; 2 | 3 | import org.springframework.web.servlet.HandlerInterceptor; 4 | 5 | import javax.servlet.http.HttpServletRequest; 6 | import javax.servlet.http.HttpServletResponse; 7 | 8 | public class UserInterceptor implements HandlerInterceptor { 9 | @Override 10 | public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) throws Exception { 11 | Object user = request.getSession().getAttribute("user"); 12 | if(user == null){ 13 | request.setAttribute("errorMsg","登录已失效,请重新登录"); 14 | request.getRequestDispatcher("/jsp/user/home.jsp").forward(request,response); 15 | return false; 16 | } 17 | return true; 18 | } 19 | 20 | } 21 | -------------------------------------------------------------------------------- /src/main/java/com/example/interceptor/ManagerInterceptor.java: -------------------------------------------------------------------------------- 1 | package com.example.interceptor; 2 | 3 | import org.springframework.web.servlet.HandlerInterceptor; 4 | 5 | import javax.servlet.http.HttpServletRequest; 6 | import javax.servlet.http.HttpServletResponse; 7 | 8 | public class ManagerInterceptor implements HandlerInterceptor { 9 | @Override 10 | public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) throws Exception { 11 | Object user = request.getSession().getAttribute("manager"); 12 | if(user == null){ 13 | request.setAttribute("errorMsg","您未登录,请先登录!"); 14 | request.getRequestDispatcher("/jsp/manager/home.jsp").forward(request,response); 15 | return false; 16 | } 17 | return true; 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/main/java/com/example/service/UserService.java: -------------------------------------------------------------------------------- 1 | package com.example.service; 2 | 3 | import com.example.pojo.User; 4 | import com.example.pojo.Video; 5 | 6 | import java.util.List; 7 | 8 | public interface UserService { 9 | User getUserByNameAndPwd(String name,String password); 10 | User getUserByName(String name); 11 | int insert(User user); 12 | int insertCollection(int uid,int vid); 13 | int delCollection(int uid,int vid); 14 | List