├── lib ├── javax.ejb.jar ├── javax.jms.jar ├── javax.resource.jar ├── javax.servlet.jar ├── javax.persistence.jar ├── javax.servlet.jsp.jar ├── javax.transaction.jar └── javax.servlet.jsp.jstl.jar ├── common ├── service_base │ ├── target │ │ ├── maven-status │ │ │ └── maven-compiler-plugin │ │ │ │ └── compile │ │ │ │ └── default-compile │ │ │ │ ├── createdFiles.lst │ │ │ │ └── inputFiles.lst │ │ └── classes │ │ │ └── com │ │ │ └── atguigu │ │ │ └── servicebase │ │ │ ├── config │ │ │ ├── RedisConfig.class │ │ │ └── SwaggerConfig.class │ │ │ └── handler │ │ │ ├── GuliException.class │ │ │ ├── MyMetaObjectHandler.class │ │ │ └── GlobalExceptionHandler.class │ ├── src │ │ └── main │ │ │ └── java │ │ │ └── com │ │ │ └── atguigu │ │ │ └── servicebase │ │ │ ├── handler │ │ │ ├── GuliException.java │ │ │ ├── MyMetaObjectHandler.java │ │ │ └── GlobalExceptionHandler.java │ │ │ └── config │ │ │ └── SwaggerConfig.java │ └── pom.xml ├── common_utils │ ├── target │ │ └── classes │ │ │ └── com │ │ │ └── atguigu │ │ │ ├── commonutils │ │ │ ├── MD5.class │ │ │ ├── R.class │ │ │ ├── JwtUtils.class │ │ │ ├── ResultCode.class │ │ │ └── ResponseUtil.class │ │ │ └── commonvo │ │ │ ├── CourseOrderVo.class │ │ │ └── UcenterMemberVo.class │ ├── src │ │ └── main │ │ │ └── java │ │ │ └── com │ │ │ └── atguigu │ │ │ ├── commonutils │ │ │ ├── ResultCode.java │ │ │ ├── ResponseUtil.java │ │ │ ├── MD5.java │ │ │ └── R.java │ │ │ └── commonvo │ │ │ └── CourseOrderVo.java │ └── pom.xml └── spring_security │ ├── target │ └── classes │ │ └── com │ │ └── atguigu │ │ └── serurity │ │ ├── entity │ │ ├── User.class │ │ └── SecurityUser.class │ │ ├── filter │ │ ├── TokenLoginFilter.class │ │ └── TokenAuthenticationFilter.class │ │ ├── security │ │ ├── TokenManager.class │ │ ├── TokenLogoutHandler.class │ │ ├── DefaultPasswordEncoder.class │ │ └── UnauthorizedEntryPoint.class │ │ └── config │ │ └── TokenWebSecurityConfig.class │ └── src │ └── main │ └── java │ └── com │ └── atguigu │ └── serurity │ ├── entity │ └── User.java │ └── security │ ├── UnauthorizedEntryPoint.java │ ├── DefaultPasswordEncoder.java │ ├── TokenManager.java │ └── TokenLogoutHandler.java ├── service ├── service_edu │ ├── target │ │ ├── test-classes │ │ │ ├── CodeGenerator.class │ │ │ ├── TestEasyExcel.class │ │ │ ├── excel │ │ │ │ └── DemoData.class │ │ │ └── EasyExcelListener.class │ │ └── classes │ │ │ └── com │ │ │ └── atguigu │ │ │ └── eduservice │ │ │ ├── EduApplication.class │ │ │ ├── client │ │ │ ├── VodClient.class │ │ │ ├── OrdersClient.class │ │ │ ├── UcenterClient.class │ │ │ ├── OrdersClientImpl.class │ │ │ ├── UcenterClientImpl.class │ │ │ └── VodFileDegradeFeignClient.class │ │ │ ├── config │ │ │ └── eduConfig.class │ │ │ ├── entity │ │ │ ├── EduCourse.class │ │ │ ├── EduVideo.class │ │ │ ├── EduChapter.class │ │ │ ├── EduComment.class │ │ │ ├── EduSubject.class │ │ │ ├── EduTeacher.class │ │ │ ├── vo │ │ │ │ ├── CourseInfo.class │ │ │ │ ├── CourseQuery.class │ │ │ │ ├── TeacherQuery.class │ │ │ │ ├── UcenterMember.class │ │ │ │ └── CoursePublishVo.class │ │ │ ├── chapter │ │ │ │ ├── ChapterVo.class │ │ │ │ └── VideoVo.class │ │ │ ├── excel │ │ │ │ └── SubjectData.class │ │ │ ├── frontvo │ │ │ │ ├── CourseWebVo.class │ │ │ │ └── CourseFrontVo.class │ │ │ ├── subject │ │ │ │ ├── OneSubject.class │ │ │ │ └── TwoSubject.class │ │ │ └── EduCourseDescription.class │ │ │ ├── mapper │ │ │ ├── EduVideoMapper.class │ │ │ ├── EduChapterMapper.class │ │ │ ├── EduCommentMapper.class │ │ │ ├── EduCourseMapper.class │ │ │ ├── EduSubjectMapper.class │ │ │ ├── EduTeacherMapper.class │ │ │ ├── EduCourseDescriptionMapper.class │ │ │ └── xml │ │ │ │ ├── EduVideoMapper.xml │ │ │ │ ├── EduChapterMapper.xml │ │ │ │ ├── EduCommentMapper.xml │ │ │ │ ├── EduSubjectMapper.xml │ │ │ │ ├── EduTeacherMapper.xml │ │ │ │ └── EduCourseDescriptionMapper.xml │ │ │ ├── service │ │ │ ├── EduCourseService.class │ │ │ ├── EduVideoService.class │ │ │ ├── EduChapterService.class │ │ │ ├── EduCommentService.class │ │ │ ├── EduSubjectService.class │ │ │ ├── EduTeacherService.class │ │ │ ├── impl │ │ │ │ ├── EduChapterServiceImpl.class │ │ │ │ ├── EduCommentServiceImpl.class │ │ │ │ ├── EduCourseServiceImpl.class │ │ │ │ ├── EduSubjectServiceImpl.class │ │ │ │ ├── EduTeacherServiceImpl.class │ │ │ │ ├── EduVideoServiceImpl.class │ │ │ │ └── EduCourseDescriptionServiceImpl.class │ │ │ └── EduCourseDescriptionService.class │ │ │ ├── controller │ │ │ ├── EduLoginController.class │ │ │ ├── EduVideoController.class │ │ │ ├── EduChapterController.class │ │ │ ├── EduCommentController.class │ │ │ ├── EduCourseController.class │ │ │ ├── EduSubjectController.class │ │ │ ├── EduTeacherController.class │ │ │ └── front │ │ │ │ ├── CourseFrontController.class │ │ │ │ ├── IndexFrontController.class │ │ │ │ └── TeacherFrontController.class │ │ │ └── listener │ │ │ └── SubjectExcelListener.class │ ├── src │ │ ├── main │ │ │ ├── java │ │ │ │ └── com │ │ │ │ │ └── atguigu │ │ │ │ │ └── eduservice │ │ │ │ │ ├── entity │ │ │ │ │ ├── subject │ │ │ │ │ │ ├── TwoSubject.java │ │ │ │ │ │ └── OneSubject.java │ │ │ │ │ ├── vo │ │ │ │ │ │ ├── CourseQuery.java │ │ │ │ │ │ ├── TeacherQuery.java │ │ │ │ │ │ ├── CoursePublishVo.java │ │ │ │ │ │ └── CourseInfo.java │ │ │ │ │ ├── chapter │ │ │ │ │ │ ├── VideoVo.java │ │ │ │ │ │ └── ChapterVo.java │ │ │ │ │ ├── excel │ │ │ │ │ │ └── SubjectData.java │ │ │ │ │ ├── frontvo │ │ │ │ │ │ ├── CourseFrontVo.java │ │ │ │ │ │ └── CourseWebVo.java │ │ │ │ │ ├── EduCourseDescription.java │ │ │ │ │ ├── EduChapter.java │ │ │ │ │ └── EduSubject.java │ │ │ │ │ ├── mapper │ │ │ │ │ ├── xml │ │ │ │ │ │ ├── EduVideoMapper.xml │ │ │ │ │ │ ├── EduChapterMapper.xml │ │ │ │ │ │ ├── EduCommentMapper.xml │ │ │ │ │ │ ├── EduSubjectMapper.xml │ │ │ │ │ │ ├── EduTeacherMapper.xml │ │ │ │ │ │ └── EduCourseDescriptionMapper.xml │ │ │ │ │ ├── EduVideoMapper.java │ │ │ │ │ ├── EduChapterMapper.java │ │ │ │ │ ├── EduCommentMapper.java │ │ │ │ │ ├── EduSubjectMapper.java │ │ │ │ │ ├── EduTeacherMapper.java │ │ │ │ │ ├── EduCourseDescriptionMapper.java │ │ │ │ │ └── EduCourseMapper.java │ │ │ │ │ ├── client │ │ │ │ │ ├── OrdersClientImpl.java │ │ │ │ │ ├── UcenterClientImpl.java │ │ │ │ │ ├── VodFileDegradeFeignClient.java │ │ │ │ │ ├── UcenterClient.java │ │ │ │ │ ├── OrdersClient.java │ │ │ │ │ └── VodClient.java │ │ │ │ │ ├── service │ │ │ │ │ ├── EduCourseDescriptionService.java │ │ │ │ │ ├── EduVideoService.java │ │ │ │ │ ├── EduTeacherService.java │ │ │ │ │ ├── EduChapterService.java │ │ │ │ │ ├── EduSubjectService.java │ │ │ │ │ ├── impl │ │ │ │ │ │ └── EduCourseDescriptionServiceImpl.java │ │ │ │ │ ├── EduCommentService.java │ │ │ │ │ └── EduCourseService.java │ │ │ │ │ ├── EduApplication.java │ │ │ │ │ ├── config │ │ │ │ │ └── eduConfig.java │ │ │ │ │ └── controller │ │ │ │ │ ├── EduLoginController.java │ │ │ │ │ ├── front │ │ │ │ │ └── IndexFrontController.java │ │ │ │ │ └── EduSubjectController.java │ │ │ └── resources │ │ │ │ └── application.properties │ │ └── test │ │ │ └── java │ │ │ ├── excel │ │ │ └── DemoData.java │ │ │ ├── EasyExcelListener.java │ │ │ └── TestEasyExcel.java │ └── pom.xml ├── service_order │ ├── target │ │ ├── test-classes │ │ │ └── CodeGenerator.class │ │ └── classes │ │ │ ├── com │ │ │ └── atguigu │ │ │ │ └── eduorder │ │ │ │ ├── entity │ │ │ │ ├── Order.class │ │ │ │ └── PayLog.class │ │ │ │ ├── OrderApplication.class │ │ │ │ ├── client │ │ │ │ ├── EduClient.class │ │ │ │ ├── EduClientImpl.class │ │ │ │ ├── UcenterClient.class │ │ │ │ └── UcenterClientImpl.class │ │ │ │ ├── utils │ │ │ │ ├── HttpClient.class │ │ │ │ ├── HttpClient$1.class │ │ │ │ └── OrderNoUtil.class │ │ │ │ ├── mapper │ │ │ │ ├── OrderMapper.class │ │ │ │ └── PayLogMapper.class │ │ │ │ ├── service │ │ │ │ ├── OrderService.class │ │ │ │ ├── PayLogService.class │ │ │ │ └── impl │ │ │ │ │ ├── OrderServiceImpl.class │ │ │ │ │ └── PayLogServiceImpl.class │ │ │ │ └── controller │ │ │ │ ├── OrderController.class │ │ │ │ └── PayLogController.class │ │ │ └── application.properties │ ├── src │ │ └── main │ │ │ ├── java │ │ │ └── com │ │ │ │ └── atguigu │ │ │ │ └── eduorder │ │ │ │ ├── mapper │ │ │ │ ├── xml │ │ │ │ │ ├── OrderMapper.xml │ │ │ │ │ └── PayLogMapper.xml │ │ │ │ ├── OrderMapper.java │ │ │ │ └── PayLogMapper.java │ │ │ │ ├── client │ │ │ │ ├── EduClientImpl.java │ │ │ │ ├── UcenterClientImpl.java │ │ │ │ ├── EduClient.java │ │ │ │ └── UcenterClient.java │ │ │ │ ├── service │ │ │ │ ├── OrderService.java │ │ │ │ └── PayLogService.java │ │ │ │ ├── utils │ │ │ │ └── OrderNoUtil.java │ │ │ │ └── OrderApplication.java │ │ │ └── resources │ │ │ └── application.properties │ └── pom.xml ├── service_ucenter │ ├── target │ │ ├── test-classes │ │ │ └── CodeGenerator.class │ │ └── classes │ │ │ ├── com │ │ │ └── atguigu │ │ │ │ └── educenter │ │ │ │ ├── UcenterApplication.class │ │ │ │ ├── entity │ │ │ │ ├── UcenterMember.class │ │ │ │ └── vo │ │ │ │ │ └── RegisterVo.class │ │ │ │ ├── utils │ │ │ │ ├── ConstantWxUtils.class │ │ │ │ ├── HttpClientUtils.class │ │ │ │ ├── HttpClientUtils$1.class │ │ │ │ └── HttpClientUtils$2.class │ │ │ │ ├── controller │ │ │ │ ├── WxApiController.class │ │ │ │ └── UcenterMemberController.class │ │ │ │ ├── mapper │ │ │ │ ├── UcenterMemberMapper.class │ │ │ │ └── xml │ │ │ │ │ └── UcenterMemberMapper.xml │ │ │ │ └── service │ │ │ │ ├── UcenterMemberService.class │ │ │ │ └── impl │ │ │ │ └── UcenterMemberServiceImpl.class │ │ │ └── application.properties │ ├── src │ │ └── main │ │ │ ├── java │ │ │ └── com │ │ │ │ └── atguigu │ │ │ │ └── educenter │ │ │ │ ├── mapper │ │ │ │ ├── UcenterMemberMapper.java │ │ │ │ └── xml │ │ │ │ │ └── UcenterMemberMapper.xml │ │ │ │ ├── entity │ │ │ │ └── vo │ │ │ │ │ └── RegisterVo.java │ │ │ │ ├── service │ │ │ │ └── UcenterMemberService.java │ │ │ │ ├── UcenterApplication.java │ │ │ │ └── utils │ │ │ │ └── ConstantWxUtils.java │ │ │ └── resources │ │ │ └── application.properties │ └── pom.xml ├── service_cms │ ├── target │ │ ├── test-classes │ │ │ └── codeGe │ │ │ │ └── CodeGenerator.class │ │ └── classes │ │ │ ├── com │ │ │ └── atguigu │ │ │ │ └── educms │ │ │ │ ├── CmsApplication.class │ │ │ │ ├── entity │ │ │ │ └── CrmBanner.class │ │ │ │ ├── mapper │ │ │ │ └── CrmBannerMapper.class │ │ │ │ ├── service │ │ │ │ ├── CrmBannerService.class │ │ │ │ └── impl │ │ │ │ │ └── CrmBannerServiceImpl.class │ │ │ │ └── controller │ │ │ │ ├── BannerAdminController.class │ │ │ │ └── BannerFrontController.class │ │ │ └── application.properties │ ├── src │ │ └── main │ │ │ ├── java │ │ │ └── com │ │ │ │ └── atguigu │ │ │ │ └── educms │ │ │ │ ├── mapper │ │ │ │ ├── xml │ │ │ │ │ └── CrmBannerMapper.xml │ │ │ │ └── CrmBannerMapper.java │ │ │ │ ├── service │ │ │ │ ├── CrmBannerService.java │ │ │ │ └── impl │ │ │ │ │ └── CrmBannerServiceImpl.java │ │ │ │ ├── CmsApplication.java │ │ │ │ ├── controller │ │ │ │ └── BannerFrontController.java │ │ │ │ └── entity │ │ │ │ └── CrmBanner.java │ │ │ └── resources │ │ │ └── application.properties │ └── pom.xml ├── service_statistics │ ├── target │ │ ├── test-classes │ │ │ └── CodeGenerator.class │ │ └── classes │ │ │ ├── com │ │ │ └── atguigu │ │ │ │ └── staservice │ │ │ │ ├── StaApplication.class │ │ │ │ ├── utils │ │ │ │ └── DateUtil.class │ │ │ │ ├── schedule │ │ │ │ └── Schedule.class │ │ │ │ ├── client │ │ │ │ ├── UcentClient.class │ │ │ │ └── UcentClientImpl.class │ │ │ │ ├── entity │ │ │ │ └── StatisticsDaily.class │ │ │ │ ├── mapper │ │ │ │ └── StatisticsDailyMapper.class │ │ │ │ ├── service │ │ │ │ ├── StatisticsDailyService.class │ │ │ │ └── impl │ │ │ │ │ └── StatisticsDailyServiceImpl.class │ │ │ │ └── controller │ │ │ │ └── StatisticsDailyController.class │ │ │ ├── bootstrap.properties │ │ │ └── application.properties │ ├── src │ │ └── main │ │ │ ├── java │ │ │ └── com │ │ │ │ └── atguigu │ │ │ │ └── staservice │ │ │ │ ├── mapper │ │ │ │ ├── xml │ │ │ │ │ └── StatisticsDailyMapper.xml │ │ │ │ └── StatisticsDailyMapper.java │ │ │ │ ├── client │ │ │ │ ├── UcentClientImpl.java │ │ │ │ └── UcentClient.java │ │ │ │ ├── service │ │ │ │ └── StatisticsDailyService.java │ │ │ │ ├── schedule │ │ │ │ └── Schedule.java │ │ │ │ ├── StaApplication.java │ │ │ │ ├── utils │ │ │ │ └── DateUtil.java │ │ │ │ └── controller │ │ │ │ └── StatisticsDailyController.java │ │ │ └── resources │ │ │ ├── bootstrap.properties │ │ │ └── application.properties │ └── pom.xml ├── service_oss │ ├── target │ │ └── classes │ │ │ ├── com │ │ │ └── atguigu │ │ │ │ └── oss │ │ │ │ ├── OssApplication.class │ │ │ │ ├── service │ │ │ │ ├── OssService.class │ │ │ │ └── impl │ │ │ │ │ └── OssServiceImpl.class │ │ │ │ ├── controller │ │ │ │ └── OssController.class │ │ │ │ └── utils │ │ │ │ └── ConstantPropertiesUtils.class │ │ │ └── application.properties │ ├── src │ │ └── main │ │ │ ├── java │ │ │ └── com │ │ │ │ └── atguigu │ │ │ │ └── oss │ │ │ │ ├── service │ │ │ │ └── OssService.java │ │ │ │ ├── OssApplication.java │ │ │ │ ├── controller │ │ │ │ └── OssController.java │ │ │ │ └── utils │ │ │ │ └── ConstantPropertiesUtils.java │ │ │ └── resources │ │ │ └── application.properties │ └── pom.xml ├── service_vod │ ├── target │ │ ├── classes │ │ │ ├── com │ │ │ │ └── atguigu │ │ │ │ │ └── vod │ │ │ │ │ ├── VodApplication.class │ │ │ │ │ ├── utils │ │ │ │ │ ├── InitObject.class │ │ │ │ │ └── ConstantPropertiesUtils.class │ │ │ │ │ ├── service │ │ │ │ │ ├── VodService.class │ │ │ │ │ └── impl │ │ │ │ │ │ └── VodServiceImpl.class │ │ │ │ │ └── controller │ │ │ │ │ └── VodController.class │ │ │ └── application.properties │ │ └── test-classes │ │ │ └── com │ │ │ └── atguigu │ │ │ └── vodTest │ │ │ ├── TestVod.class │ │ │ └── InitObject.class │ └── src │ │ ├── main │ │ ├── java │ │ │ └── com │ │ │ │ └── atguigu │ │ │ │ └── vod │ │ │ │ ├── service │ │ │ │ └── VodService.java │ │ │ │ ├── utils │ │ │ │ ├── InitObject.java │ │ │ │ └── ConstantPropertiesUtils.java │ │ │ │ └── VodApplication.java │ │ └── resources │ │ │ └── application.properties │ │ └── test │ │ └── java │ │ └── com │ │ └── atguigu │ │ └── vodTest │ │ └── InitObject.java ├── service_acl │ ├── target │ │ └── classes │ │ │ ├── com │ │ │ └── atguigu │ │ │ │ └── aclservice │ │ │ │ ├── entity │ │ │ │ ├── Role.class │ │ │ │ ├── User.class │ │ │ │ ├── UserRole.class │ │ │ │ ├── Permission.class │ │ │ │ └── RolePermission.class │ │ │ │ ├── helper │ │ │ │ ├── MemuHelper.class │ │ │ │ └── PermissionHelper.class │ │ │ │ ├── mapper │ │ │ │ ├── RoleMapper.class │ │ │ │ ├── UserMapper.class │ │ │ │ ├── UserRoleMapper.class │ │ │ │ ├── PermissionMapper.class │ │ │ │ ├── RolePermissionMapper.class │ │ │ │ └── xml │ │ │ │ │ ├── RoleMapper.xml │ │ │ │ │ ├── UserMapper.xml │ │ │ │ │ ├── UserRoleMapper.xml │ │ │ │ │ └── RolePermissionMapper.xml │ │ │ │ ├── service │ │ │ │ ├── RoleService.class │ │ │ │ ├── UserService.class │ │ │ │ ├── IndexService.class │ │ │ │ ├── UserRoleService.class │ │ │ │ ├── PermissionService.class │ │ │ │ ├── RolePermissionService.class │ │ │ │ └── impl │ │ │ │ │ ├── IndexServiceImpl.class │ │ │ │ │ ├── RoleServiceImpl.class │ │ │ │ │ ├── UserServiceImpl.class │ │ │ │ │ ├── PermissionServiceImpl.class │ │ │ │ │ ├── UserRoleServiceImpl.class │ │ │ │ │ ├── UserDetailsServiceImpl.class │ │ │ │ │ └── RolePermissionServiceImpl.class │ │ │ │ ├── ServiceAclApplication.class │ │ │ │ └── controller │ │ │ │ ├── IndexController.class │ │ │ │ ├── RoleController.class │ │ │ │ ├── UserController.class │ │ │ │ └── PermissionController.class │ │ │ └── application.properties │ └── src │ │ └── main │ │ ├── java │ │ └── com │ │ │ └── atguigu │ │ │ └── aclservice │ │ │ ├── mapper │ │ │ ├── xml │ │ │ │ ├── RoleMapper.xml │ │ │ │ ├── UserMapper.xml │ │ │ │ ├── UserRoleMapper.xml │ │ │ │ └── RolePermissionMapper.xml │ │ │ ├── RoleMapper.java │ │ │ ├── UserMapper.java │ │ │ ├── UserRoleMapper.java │ │ │ ├── RolePermissionMapper.java │ │ │ └── PermissionMapper.java │ │ │ ├── service │ │ │ ├── UserRoleService.java │ │ │ ├── RolePermissionService.java │ │ │ ├── UserService.java │ │ │ ├── IndexService.java │ │ │ ├── impl │ │ │ │ ├── UserRoleServiceImpl.java │ │ │ │ ├── RolePermissionServiceImpl.java │ │ │ │ └── UserServiceImpl.java │ │ │ ├── RoleService.java │ │ │ └── PermissionService.java │ │ │ ├── ServiceAclApplication.java │ │ │ └── entity │ │ │ ├── RolePermission.java │ │ │ ├── UserRole.java │ │ │ └── Role.java │ │ └── resources │ │ └── application.properties └── service_msm │ ├── target │ └── classes │ │ ├── com │ │ └── atguigu │ │ │ └── msmservice │ │ │ ├── MsmApplication.class │ │ │ ├── service │ │ │ ├── MsmService.class │ │ │ └── impl │ │ │ │ ├── MsmServiceImpl$1.class │ │ │ │ └── MsmServiceImpl.class │ │ │ ├── utils │ │ │ └── RandomUtils.class │ │ │ └── controller │ │ │ └── MsmController.class │ │ └── application.properties │ ├── src │ └── main │ │ ├── java │ │ └── com │ │ │ └── atguigu │ │ │ └── msmservice │ │ │ ├── service │ │ │ └── MsmService.java │ │ │ ├── utils │ │ │ └── RandomUtils.java │ │ │ └── MsmApplication.java │ │ └── resources │ │ └── application.properties │ └── pom.xml ├── canal_clientedu ├── target │ └── classes │ │ ├── com │ │ └── atguigu │ │ │ └── canal │ │ │ ├── CanalApplication.class │ │ │ └── client │ │ │ └── CanalClient.class │ │ └── application.properties ├── src │ └── main │ │ ├── resources │ │ └── application.properties │ │ └── java │ │ └── com │ │ └── atguigu │ │ └── canal │ │ └── CanalApplication.java └── pom.xml ├── infrastructure ├── api_gateway │ ├── target │ │ └── classes │ │ │ └── com │ │ │ └── atguigu │ │ │ └── gateway │ │ │ ├── config │ │ │ └── CorsConfig.class │ │ │ ├── ApiGatewayApplication.class │ │ │ ├── filter │ │ │ └── AuthGlobalFilter.class │ │ │ └── handler │ │ │ ├── ErrorHandlerConfig.class │ │ │ └── JsonExceptionHandler.class │ └── src │ │ └── main │ │ └── java │ │ └── com │ │ └── atguigu │ │ └── gateway │ │ ├── ApiGatewayApplication.java │ │ └── config │ │ └── CorsConfig.java └── pom.xml └── README.md /lib/javax.ejb.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/lib/javax.ejb.jar -------------------------------------------------------------------------------- /lib/javax.jms.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/lib/javax.jms.jar -------------------------------------------------------------------------------- /common/service_base/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /lib/javax.resource.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/lib/javax.resource.jar -------------------------------------------------------------------------------- /lib/javax.servlet.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/lib/javax.servlet.jar -------------------------------------------------------------------------------- /lib/javax.persistence.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/lib/javax.persistence.jar -------------------------------------------------------------------------------- /lib/javax.servlet.jsp.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/lib/javax.servlet.jsp.jar -------------------------------------------------------------------------------- /lib/javax.transaction.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/lib/javax.transaction.jar -------------------------------------------------------------------------------- /lib/javax.servlet.jsp.jstl.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/lib/javax.servlet.jsp.jstl.jar -------------------------------------------------------------------------------- /service/service_edu/target/test-classes/CodeGenerator.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_edu/target/test-classes/CodeGenerator.class -------------------------------------------------------------------------------- /service/service_edu/target/test-classes/TestEasyExcel.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_edu/target/test-classes/TestEasyExcel.class -------------------------------------------------------------------------------- /service/service_edu/target/test-classes/excel/DemoData.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_edu/target/test-classes/excel/DemoData.class -------------------------------------------------------------------------------- /service/service_edu/target/test-classes/EasyExcelListener.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_edu/target/test-classes/EasyExcelListener.class -------------------------------------------------------------------------------- /service/service_order/target/test-classes/CodeGenerator.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_order/target/test-classes/CodeGenerator.class -------------------------------------------------------------------------------- /service/service_ucenter/target/test-classes/CodeGenerator.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_ucenter/target/test-classes/CodeGenerator.class -------------------------------------------------------------------------------- /common/common_utils/target/classes/com/atguigu/commonutils/MD5.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/common/common_utils/target/classes/com/atguigu/commonutils/MD5.class -------------------------------------------------------------------------------- /common/common_utils/target/classes/com/atguigu/commonutils/R.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/common/common_utils/target/classes/com/atguigu/commonutils/R.class -------------------------------------------------------------------------------- /service/service_cms/target/test-classes/codeGe/CodeGenerator.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_cms/target/test-classes/codeGe/CodeGenerator.class -------------------------------------------------------------------------------- /service/service_statistics/target/test-classes/CodeGenerator.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_statistics/target/test-classes/CodeGenerator.class -------------------------------------------------------------------------------- /canal_clientedu/target/classes/com/atguigu/canal/CanalApplication.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/canal_clientedu/target/classes/com/atguigu/canal/CanalApplication.class -------------------------------------------------------------------------------- /canal_clientedu/target/classes/com/atguigu/canal/client/CanalClient.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/canal_clientedu/target/classes/com/atguigu/canal/client/CanalClient.class -------------------------------------------------------------------------------- /common/common_utils/target/classes/com/atguigu/commonutils/JwtUtils.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/common/common_utils/target/classes/com/atguigu/commonutils/JwtUtils.class -------------------------------------------------------------------------------- /service/service_oss/target/classes/com/atguigu/oss/OssApplication.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_oss/target/classes/com/atguigu/oss/OssApplication.class -------------------------------------------------------------------------------- /service/service_vod/target/classes/com/atguigu/vod/VodApplication.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_vod/target/classes/com/atguigu/vod/VodApplication.class -------------------------------------------------------------------------------- /service/service_vod/target/classes/com/atguigu/vod/utils/InitObject.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_vod/target/classes/com/atguigu/vod/utils/InitObject.class -------------------------------------------------------------------------------- /service/service_vod/target/test-classes/com/atguigu/vodTest/TestVod.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_vod/target/test-classes/com/atguigu/vodTest/TestVod.class -------------------------------------------------------------------------------- /common/common_utils/target/classes/com/atguigu/commonutils/ResultCode.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/common/common_utils/target/classes/com/atguigu/commonutils/ResultCode.class -------------------------------------------------------------------------------- /common/common_utils/target/classes/com/atguigu/commonvo/CourseOrderVo.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/common/common_utils/target/classes/com/atguigu/commonvo/CourseOrderVo.class -------------------------------------------------------------------------------- /service/service_acl/target/classes/com/atguigu/aclservice/entity/Role.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_acl/target/classes/com/atguigu/aclservice/entity/Role.class -------------------------------------------------------------------------------- /service/service_acl/target/classes/com/atguigu/aclservice/entity/User.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_acl/target/classes/com/atguigu/aclservice/entity/User.class -------------------------------------------------------------------------------- /service/service_cms/target/classes/com/atguigu/educms/CmsApplication.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_cms/target/classes/com/atguigu/educms/CmsApplication.class -------------------------------------------------------------------------------- /service/service_oss/target/classes/com/atguigu/oss/service/OssService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_oss/target/classes/com/atguigu/oss/service/OssService.class -------------------------------------------------------------------------------- /service/service_vod/target/classes/com/atguigu/vod/service/VodService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_vod/target/classes/com/atguigu/vod/service/VodService.class -------------------------------------------------------------------------------- /common/common_utils/target/classes/com/atguigu/commonutils/ResponseUtil.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/common/common_utils/target/classes/com/atguigu/commonutils/ResponseUtil.class -------------------------------------------------------------------------------- /common/common_utils/target/classes/com/atguigu/commonvo/UcenterMemberVo.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/common/common_utils/target/classes/com/atguigu/commonvo/UcenterMemberVo.class -------------------------------------------------------------------------------- /common/service_base/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst: -------------------------------------------------------------------------------- 1 | D:\Java_code\guli_parent\common\service_base\src\main\java\com\atguigu\servicebase\config\SwaggerConfig.java 2 | -------------------------------------------------------------------------------- /common/spring_security/target/classes/com/atguigu/serurity/entity/User.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/common/spring_security/target/classes/com/atguigu/serurity/entity/User.class -------------------------------------------------------------------------------- /service/service_cms/target/classes/com/atguigu/educms/entity/CrmBanner.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_cms/target/classes/com/atguigu/educms/entity/CrmBanner.class -------------------------------------------------------------------------------- /service/service_edu/target/classes/com/atguigu/eduservice/EduApplication.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_edu/target/classes/com/atguigu/eduservice/EduApplication.class -------------------------------------------------------------------------------- /service/service_msm/target/classes/com/atguigu/msmservice/MsmApplication.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_msm/target/classes/com/atguigu/msmservice/MsmApplication.class -------------------------------------------------------------------------------- /service/service_order/target/classes/com/atguigu/eduorder/entity/Order.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_order/target/classes/com/atguigu/eduorder/entity/Order.class -------------------------------------------------------------------------------- /service/service_order/target/classes/com/atguigu/eduorder/entity/PayLog.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_order/target/classes/com/atguigu/eduorder/entity/PayLog.class -------------------------------------------------------------------------------- /service/service_vod/target/test-classes/com/atguigu/vodTest/InitObject.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_vod/target/test-classes/com/atguigu/vodTest/InitObject.class -------------------------------------------------------------------------------- /service/service_acl/target/classes/com/atguigu/aclservice/entity/UserRole.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_acl/target/classes/com/atguigu/aclservice/entity/UserRole.class -------------------------------------------------------------------------------- /service/service_edu/target/classes/com/atguigu/eduservice/client/VodClient.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_edu/target/classes/com/atguigu/eduservice/client/VodClient.class -------------------------------------------------------------------------------- /service/service_edu/target/classes/com/atguigu/eduservice/config/eduConfig.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_edu/target/classes/com/atguigu/eduservice/config/eduConfig.class -------------------------------------------------------------------------------- /service/service_edu/target/classes/com/atguigu/eduservice/entity/EduCourse.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_edu/target/classes/com/atguigu/eduservice/entity/EduCourse.class -------------------------------------------------------------------------------- /service/service_edu/target/classes/com/atguigu/eduservice/entity/EduVideo.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_edu/target/classes/com/atguigu/eduservice/entity/EduVideo.class -------------------------------------------------------------------------------- /service/service_order/target/classes/com/atguigu/eduorder/OrderApplication.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_order/target/classes/com/atguigu/eduorder/OrderApplication.class -------------------------------------------------------------------------------- /service/service_order/target/classes/com/atguigu/eduorder/client/EduClient.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_order/target/classes/com/atguigu/eduorder/client/EduClient.class -------------------------------------------------------------------------------- /service/service_order/target/classes/com/atguigu/eduorder/utils/HttpClient.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_order/target/classes/com/atguigu/eduorder/utils/HttpClient.class -------------------------------------------------------------------------------- /common/common_utils/src/main/java/com/atguigu/commonutils/ResultCode.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.commonutils; 2 | 3 | public interface ResultCode { 4 | Integer SUCCESS = 20000; 5 | Integer ERROR = 20001; 6 | } 7 | -------------------------------------------------------------------------------- /common/service_base/target/classes/com/atguigu/servicebase/config/RedisConfig.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/common/service_base/target/classes/com/atguigu/servicebase/config/RedisConfig.class -------------------------------------------------------------------------------- /service/service_acl/target/classes/com/atguigu/aclservice/entity/Permission.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_acl/target/classes/com/atguigu/aclservice/entity/Permission.class -------------------------------------------------------------------------------- /service/service_acl/target/classes/com/atguigu/aclservice/helper/MemuHelper.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_acl/target/classes/com/atguigu/aclservice/helper/MemuHelper.class -------------------------------------------------------------------------------- /service/service_acl/target/classes/com/atguigu/aclservice/mapper/RoleMapper.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_acl/target/classes/com/atguigu/aclservice/mapper/RoleMapper.class -------------------------------------------------------------------------------- /service/service_acl/target/classes/com/atguigu/aclservice/mapper/UserMapper.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_acl/target/classes/com/atguigu/aclservice/mapper/UserMapper.class -------------------------------------------------------------------------------- /service/service_acl/target/classes/com/atguigu/aclservice/service/RoleService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_acl/target/classes/com/atguigu/aclservice/service/RoleService.class -------------------------------------------------------------------------------- /service/service_acl/target/classes/com/atguigu/aclservice/service/UserService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_acl/target/classes/com/atguigu/aclservice/service/UserService.class -------------------------------------------------------------------------------- /service/service_cms/target/classes/com/atguigu/educms/mapper/CrmBannerMapper.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_cms/target/classes/com/atguigu/educms/mapper/CrmBannerMapper.class -------------------------------------------------------------------------------- /service/service_edu/target/classes/com/atguigu/eduservice/client/OrdersClient.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_edu/target/classes/com/atguigu/eduservice/client/OrdersClient.class -------------------------------------------------------------------------------- /service/service_edu/target/classes/com/atguigu/eduservice/entity/EduChapter.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_edu/target/classes/com/atguigu/eduservice/entity/EduChapter.class -------------------------------------------------------------------------------- /service/service_edu/target/classes/com/atguigu/eduservice/entity/EduComment.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_edu/target/classes/com/atguigu/eduservice/entity/EduComment.class -------------------------------------------------------------------------------- /service/service_edu/target/classes/com/atguigu/eduservice/entity/EduSubject.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_edu/target/classes/com/atguigu/eduservice/entity/EduSubject.class -------------------------------------------------------------------------------- /service/service_edu/target/classes/com/atguigu/eduservice/entity/EduTeacher.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_edu/target/classes/com/atguigu/eduservice/entity/EduTeacher.class -------------------------------------------------------------------------------- /service/service_msm/target/classes/com/atguigu/msmservice/service/MsmService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_msm/target/classes/com/atguigu/msmservice/service/MsmService.class -------------------------------------------------------------------------------- /service/service_msm/target/classes/com/atguigu/msmservice/utils/RandomUtils.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_msm/target/classes/com/atguigu/msmservice/utils/RandomUtils.class -------------------------------------------------------------------------------- /service/service_order/target/classes/com/atguigu/eduorder/mapper/OrderMapper.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_order/target/classes/com/atguigu/eduorder/mapper/OrderMapper.class -------------------------------------------------------------------------------- /service/service_order/target/classes/com/atguigu/eduorder/mapper/PayLogMapper.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_order/target/classes/com/atguigu/eduorder/mapper/PayLogMapper.class -------------------------------------------------------------------------------- /service/service_order/target/classes/com/atguigu/eduorder/utils/HttpClient$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_order/target/classes/com/atguigu/eduorder/utils/HttpClient$1.class -------------------------------------------------------------------------------- /service/service_order/target/classes/com/atguigu/eduorder/utils/OrderNoUtil.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_order/target/classes/com/atguigu/eduorder/utils/OrderNoUtil.class -------------------------------------------------------------------------------- /service/service_oss/target/classes/com/atguigu/oss/controller/OssController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_oss/target/classes/com/atguigu/oss/controller/OssController.class -------------------------------------------------------------------------------- /service/service_vod/target/classes/com/atguigu/vod/controller/VodController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_vod/target/classes/com/atguigu/vod/controller/VodController.class -------------------------------------------------------------------------------- /common/service_base/target/classes/com/atguigu/servicebase/config/SwaggerConfig.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/common/service_base/target/classes/com/atguigu/servicebase/config/SwaggerConfig.class -------------------------------------------------------------------------------- /common/spring_security/target/classes/com/atguigu/serurity/entity/SecurityUser.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/common/spring_security/target/classes/com/atguigu/serurity/entity/SecurityUser.class -------------------------------------------------------------------------------- /infrastructure/api_gateway/target/classes/com/atguigu/gateway/config/CorsConfig.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/infrastructure/api_gateway/target/classes/com/atguigu/gateway/config/CorsConfig.class -------------------------------------------------------------------------------- /service/service_acl/target/classes/com/atguigu/aclservice/ServiceAclApplication.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_acl/target/classes/com/atguigu/aclservice/ServiceAclApplication.class -------------------------------------------------------------------------------- /service/service_acl/target/classes/com/atguigu/aclservice/entity/RolePermission.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_acl/target/classes/com/atguigu/aclservice/entity/RolePermission.class -------------------------------------------------------------------------------- /service/service_acl/target/classes/com/atguigu/aclservice/mapper/UserRoleMapper.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_acl/target/classes/com/atguigu/aclservice/mapper/UserRoleMapper.class -------------------------------------------------------------------------------- /service/service_acl/target/classes/com/atguigu/aclservice/service/IndexService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_acl/target/classes/com/atguigu/aclservice/service/IndexService.class -------------------------------------------------------------------------------- /service/service_cms/target/classes/com/atguigu/educms/service/CrmBannerService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_cms/target/classes/com/atguigu/educms/service/CrmBannerService.class -------------------------------------------------------------------------------- /service/service_edu/target/classes/com/atguigu/eduservice/client/UcenterClient.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_edu/target/classes/com/atguigu/eduservice/client/UcenterClient.class -------------------------------------------------------------------------------- /service/service_edu/target/classes/com/atguigu/eduservice/entity/vo/CourseInfo.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_edu/target/classes/com/atguigu/eduservice/entity/vo/CourseInfo.class -------------------------------------------------------------------------------- /service/service_edu/target/classes/com/atguigu/eduservice/entity/vo/CourseQuery.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_edu/target/classes/com/atguigu/eduservice/entity/vo/CourseQuery.class -------------------------------------------------------------------------------- /service/service_edu/target/classes/com/atguigu/eduservice/mapper/EduVideoMapper.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_edu/target/classes/com/atguigu/eduservice/mapper/EduVideoMapper.class -------------------------------------------------------------------------------- /service/service_msm/src/main/java/com/atguigu/msmservice/service/MsmService.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.msmservice.service; 2 | 3 | public interface MsmService { 4 | 5 | boolean send(String code, String mailAdress); 6 | } 7 | -------------------------------------------------------------------------------- /service/service_order/target/classes/com/atguigu/eduorder/client/EduClientImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_order/target/classes/com/atguigu/eduorder/client/EduClientImpl.class -------------------------------------------------------------------------------- /service/service_order/target/classes/com/atguigu/eduorder/client/UcenterClient.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_order/target/classes/com/atguigu/eduorder/client/UcenterClient.class -------------------------------------------------------------------------------- /service/service_order/target/classes/com/atguigu/eduorder/service/OrderService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_order/target/classes/com/atguigu/eduorder/service/OrderService.class -------------------------------------------------------------------------------- /service/service_order/target/classes/com/atguigu/eduorder/service/PayLogService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_order/target/classes/com/atguigu/eduorder/service/PayLogService.class -------------------------------------------------------------------------------- /service/service_oss/target/classes/com/atguigu/oss/service/impl/OssServiceImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_oss/target/classes/com/atguigu/oss/service/impl/OssServiceImpl.class -------------------------------------------------------------------------------- /service/service_statistics/target/classes/com/atguigu/staservice/StaApplication.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_statistics/target/classes/com/atguigu/staservice/StaApplication.class -------------------------------------------------------------------------------- /service/service_statistics/target/classes/com/atguigu/staservice/utils/DateUtil.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_statistics/target/classes/com/atguigu/staservice/utils/DateUtil.class -------------------------------------------------------------------------------- /service/service_ucenter/target/classes/com/atguigu/educenter/UcenterApplication.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_ucenter/target/classes/com/atguigu/educenter/UcenterApplication.class -------------------------------------------------------------------------------- /service/service_vod/target/classes/com/atguigu/vod/service/impl/VodServiceImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_vod/target/classes/com/atguigu/vod/service/impl/VodServiceImpl.class -------------------------------------------------------------------------------- /common/service_base/target/classes/com/atguigu/servicebase/handler/GuliException.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/common/service_base/target/classes/com/atguigu/servicebase/handler/GuliException.class -------------------------------------------------------------------------------- /common/spring_security/target/classes/com/atguigu/serurity/filter/TokenLoginFilter.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/common/spring_security/target/classes/com/atguigu/serurity/filter/TokenLoginFilter.class -------------------------------------------------------------------------------- /common/spring_security/target/classes/com/atguigu/serurity/security/TokenManager.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/common/spring_security/target/classes/com/atguigu/serurity/security/TokenManager.class -------------------------------------------------------------------------------- /service/service_acl/target/classes/com/atguigu/aclservice/helper/PermissionHelper.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_acl/target/classes/com/atguigu/aclservice/helper/PermissionHelper.class -------------------------------------------------------------------------------- /service/service_acl/target/classes/com/atguigu/aclservice/mapper/PermissionMapper.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_acl/target/classes/com/atguigu/aclservice/mapper/PermissionMapper.class -------------------------------------------------------------------------------- /service/service_acl/target/classes/com/atguigu/aclservice/service/UserRoleService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_acl/target/classes/com/atguigu/aclservice/service/UserRoleService.class -------------------------------------------------------------------------------- /service/service_edu/target/classes/com/atguigu/eduservice/client/OrdersClientImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_edu/target/classes/com/atguigu/eduservice/client/OrdersClientImpl.class -------------------------------------------------------------------------------- /service/service_edu/target/classes/com/atguigu/eduservice/client/UcenterClientImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_edu/target/classes/com/atguigu/eduservice/client/UcenterClientImpl.class -------------------------------------------------------------------------------- /service/service_edu/target/classes/com/atguigu/eduservice/entity/chapter/ChapterVo.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_edu/target/classes/com/atguigu/eduservice/entity/chapter/ChapterVo.class -------------------------------------------------------------------------------- /service/service_edu/target/classes/com/atguigu/eduservice/entity/chapter/VideoVo.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_edu/target/classes/com/atguigu/eduservice/entity/chapter/VideoVo.class -------------------------------------------------------------------------------- /service/service_edu/target/classes/com/atguigu/eduservice/entity/excel/SubjectData.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_edu/target/classes/com/atguigu/eduservice/entity/excel/SubjectData.class -------------------------------------------------------------------------------- /service/service_edu/target/classes/com/atguigu/eduservice/entity/vo/TeacherQuery.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_edu/target/classes/com/atguigu/eduservice/entity/vo/TeacherQuery.class -------------------------------------------------------------------------------- /service/service_edu/target/classes/com/atguigu/eduservice/entity/vo/UcenterMember.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_edu/target/classes/com/atguigu/eduservice/entity/vo/UcenterMember.class -------------------------------------------------------------------------------- /service/service_edu/target/classes/com/atguigu/eduservice/mapper/EduChapterMapper.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_edu/target/classes/com/atguigu/eduservice/mapper/EduChapterMapper.class -------------------------------------------------------------------------------- /service/service_edu/target/classes/com/atguigu/eduservice/mapper/EduCommentMapper.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_edu/target/classes/com/atguigu/eduservice/mapper/EduCommentMapper.class -------------------------------------------------------------------------------- /service/service_edu/target/classes/com/atguigu/eduservice/mapper/EduCourseMapper.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_edu/target/classes/com/atguigu/eduservice/mapper/EduCourseMapper.class -------------------------------------------------------------------------------- /service/service_edu/target/classes/com/atguigu/eduservice/mapper/EduSubjectMapper.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_edu/target/classes/com/atguigu/eduservice/mapper/EduSubjectMapper.class -------------------------------------------------------------------------------- /service/service_edu/target/classes/com/atguigu/eduservice/mapper/EduTeacherMapper.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_edu/target/classes/com/atguigu/eduservice/mapper/EduTeacherMapper.class -------------------------------------------------------------------------------- /service/service_edu/target/classes/com/atguigu/eduservice/service/EduCourseService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_edu/target/classes/com/atguigu/eduservice/service/EduCourseService.class -------------------------------------------------------------------------------- /service/service_edu/target/classes/com/atguigu/eduservice/service/EduVideoService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_edu/target/classes/com/atguigu/eduservice/service/EduVideoService.class -------------------------------------------------------------------------------- /service/service_msm/target/classes/com/atguigu/msmservice/controller/MsmController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_msm/target/classes/com/atguigu/msmservice/controller/MsmController.class -------------------------------------------------------------------------------- /service/service_order/target/classes/com/atguigu/eduorder/client/UcenterClientImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_order/target/classes/com/atguigu/eduorder/client/UcenterClientImpl.class -------------------------------------------------------------------------------- /service/service_oss/target/classes/com/atguigu/oss/utils/ConstantPropertiesUtils.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_oss/target/classes/com/atguigu/oss/utils/ConstantPropertiesUtils.class -------------------------------------------------------------------------------- /service/service_statistics/target/classes/com/atguigu/staservice/schedule/Schedule.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_statistics/target/classes/com/atguigu/staservice/schedule/Schedule.class -------------------------------------------------------------------------------- /service/service_ucenter/target/classes/com/atguigu/educenter/entity/UcenterMember.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_ucenter/target/classes/com/atguigu/educenter/entity/UcenterMember.class -------------------------------------------------------------------------------- /service/service_ucenter/target/classes/com/atguigu/educenter/entity/vo/RegisterVo.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_ucenter/target/classes/com/atguigu/educenter/entity/vo/RegisterVo.class -------------------------------------------------------------------------------- /service/service_ucenter/target/classes/com/atguigu/educenter/utils/ConstantWxUtils.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_ucenter/target/classes/com/atguigu/educenter/utils/ConstantWxUtils.class -------------------------------------------------------------------------------- /service/service_ucenter/target/classes/com/atguigu/educenter/utils/HttpClientUtils.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_ucenter/target/classes/com/atguigu/educenter/utils/HttpClientUtils.class -------------------------------------------------------------------------------- /service/service_vod/target/classes/com/atguigu/vod/utils/ConstantPropertiesUtils.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_vod/target/classes/com/atguigu/vod/utils/ConstantPropertiesUtils.class -------------------------------------------------------------------------------- /infrastructure/api_gateway/target/classes/com/atguigu/gateway/ApiGatewayApplication.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/infrastructure/api_gateway/target/classes/com/atguigu/gateway/ApiGatewayApplication.class -------------------------------------------------------------------------------- /service/service_acl/target/classes/com/atguigu/aclservice/controller/IndexController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_acl/target/classes/com/atguigu/aclservice/controller/IndexController.class -------------------------------------------------------------------------------- /service/service_acl/target/classes/com/atguigu/aclservice/controller/RoleController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_acl/target/classes/com/atguigu/aclservice/controller/RoleController.class -------------------------------------------------------------------------------- /service/service_acl/target/classes/com/atguigu/aclservice/controller/UserController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_acl/target/classes/com/atguigu/aclservice/controller/UserController.class -------------------------------------------------------------------------------- /service/service_acl/target/classes/com/atguigu/aclservice/service/PermissionService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_acl/target/classes/com/atguigu/aclservice/service/PermissionService.class -------------------------------------------------------------------------------- /service/service_edu/target/classes/com/atguigu/eduservice/entity/frontvo/CourseWebVo.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_edu/target/classes/com/atguigu/eduservice/entity/frontvo/CourseWebVo.class -------------------------------------------------------------------------------- /service/service_edu/target/classes/com/atguigu/eduservice/entity/subject/OneSubject.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_edu/target/classes/com/atguigu/eduservice/entity/subject/OneSubject.class -------------------------------------------------------------------------------- /service/service_edu/target/classes/com/atguigu/eduservice/entity/subject/TwoSubject.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_edu/target/classes/com/atguigu/eduservice/entity/subject/TwoSubject.class -------------------------------------------------------------------------------- /service/service_edu/target/classes/com/atguigu/eduservice/entity/vo/CoursePublishVo.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_edu/target/classes/com/atguigu/eduservice/entity/vo/CoursePublishVo.class -------------------------------------------------------------------------------- /service/service_edu/target/classes/com/atguigu/eduservice/service/EduChapterService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_edu/target/classes/com/atguigu/eduservice/service/EduChapterService.class -------------------------------------------------------------------------------- /service/service_edu/target/classes/com/atguigu/eduservice/service/EduCommentService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_edu/target/classes/com/atguigu/eduservice/service/EduCommentService.class -------------------------------------------------------------------------------- /service/service_edu/target/classes/com/atguigu/eduservice/service/EduSubjectService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_edu/target/classes/com/atguigu/eduservice/service/EduSubjectService.class -------------------------------------------------------------------------------- /service/service_edu/target/classes/com/atguigu/eduservice/service/EduTeacherService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_edu/target/classes/com/atguigu/eduservice/service/EduTeacherService.class -------------------------------------------------------------------------------- /service/service_order/target/classes/com/atguigu/eduorder/controller/OrderController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_order/target/classes/com/atguigu/eduorder/controller/OrderController.class -------------------------------------------------------------------------------- /service/service_statistics/target/classes/com/atguigu/staservice/client/UcentClient.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_statistics/target/classes/com/atguigu/staservice/client/UcentClient.class -------------------------------------------------------------------------------- /service/service_ucenter/target/classes/com/atguigu/educenter/utils/HttpClientUtils$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_ucenter/target/classes/com/atguigu/educenter/utils/HttpClientUtils$1.class -------------------------------------------------------------------------------- /service/service_ucenter/target/classes/com/atguigu/educenter/utils/HttpClientUtils$2.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_ucenter/target/classes/com/atguigu/educenter/utils/HttpClientUtils$2.class -------------------------------------------------------------------------------- /common/service_base/target/classes/com/atguigu/servicebase/handler/MyMetaObjectHandler.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/common/service_base/target/classes/com/atguigu/servicebase/handler/MyMetaObjectHandler.class -------------------------------------------------------------------------------- /common/spring_security/target/classes/com/atguigu/serurity/security/TokenLogoutHandler.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/common/spring_security/target/classes/com/atguigu/serurity/security/TokenLogoutHandler.class -------------------------------------------------------------------------------- /infrastructure/api_gateway/target/classes/com/atguigu/gateway/filter/AuthGlobalFilter.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/infrastructure/api_gateway/target/classes/com/atguigu/gateway/filter/AuthGlobalFilter.class -------------------------------------------------------------------------------- /service/service_acl/target/classes/com/atguigu/aclservice/mapper/RolePermissionMapper.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_acl/target/classes/com/atguigu/aclservice/mapper/RolePermissionMapper.class -------------------------------------------------------------------------------- /service/service_acl/target/classes/com/atguigu/aclservice/service/RolePermissionService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_acl/target/classes/com/atguigu/aclservice/service/RolePermissionService.class -------------------------------------------------------------------------------- /service/service_acl/target/classes/com/atguigu/aclservice/service/impl/IndexServiceImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_acl/target/classes/com/atguigu/aclservice/service/impl/IndexServiceImpl.class -------------------------------------------------------------------------------- /service/service_acl/target/classes/com/atguigu/aclservice/service/impl/RoleServiceImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_acl/target/classes/com/atguigu/aclservice/service/impl/RoleServiceImpl.class -------------------------------------------------------------------------------- /service/service_acl/target/classes/com/atguigu/aclservice/service/impl/UserServiceImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_acl/target/classes/com/atguigu/aclservice/service/impl/UserServiceImpl.class -------------------------------------------------------------------------------- /service/service_cms/target/classes/com/atguigu/educms/controller/BannerAdminController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_cms/target/classes/com/atguigu/educms/controller/BannerAdminController.class -------------------------------------------------------------------------------- /service/service_cms/target/classes/com/atguigu/educms/controller/BannerFrontController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_cms/target/classes/com/atguigu/educms/controller/BannerFrontController.class -------------------------------------------------------------------------------- /service/service_cms/target/classes/com/atguigu/educms/service/impl/CrmBannerServiceImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_cms/target/classes/com/atguigu/educms/service/impl/CrmBannerServiceImpl.class -------------------------------------------------------------------------------- /service/service_edu/target/classes/com/atguigu/eduservice/controller/EduLoginController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_edu/target/classes/com/atguigu/eduservice/controller/EduLoginController.class -------------------------------------------------------------------------------- /service/service_edu/target/classes/com/atguigu/eduservice/controller/EduVideoController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_edu/target/classes/com/atguigu/eduservice/controller/EduVideoController.class -------------------------------------------------------------------------------- /service/service_edu/target/classes/com/atguigu/eduservice/entity/EduCourseDescription.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_edu/target/classes/com/atguigu/eduservice/entity/EduCourseDescription.class -------------------------------------------------------------------------------- /service/service_edu/target/classes/com/atguigu/eduservice/entity/frontvo/CourseFrontVo.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_edu/target/classes/com/atguigu/eduservice/entity/frontvo/CourseFrontVo.class -------------------------------------------------------------------------------- /service/service_edu/target/classes/com/atguigu/eduservice/listener/SubjectExcelListener.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_edu/target/classes/com/atguigu/eduservice/listener/SubjectExcelListener.class -------------------------------------------------------------------------------- /service/service_msm/target/classes/com/atguigu/msmservice/service/impl/MsmServiceImpl$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_msm/target/classes/com/atguigu/msmservice/service/impl/MsmServiceImpl$1.class -------------------------------------------------------------------------------- /service/service_msm/target/classes/com/atguigu/msmservice/service/impl/MsmServiceImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_msm/target/classes/com/atguigu/msmservice/service/impl/MsmServiceImpl.class -------------------------------------------------------------------------------- /service/service_order/target/classes/com/atguigu/eduorder/controller/PayLogController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_order/target/classes/com/atguigu/eduorder/controller/PayLogController.class -------------------------------------------------------------------------------- /service/service_order/target/classes/com/atguigu/eduorder/service/impl/OrderServiceImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_order/target/classes/com/atguigu/eduorder/service/impl/OrderServiceImpl.class -------------------------------------------------------------------------------- /service/service_statistics/target/classes/com/atguigu/staservice/client/UcentClientImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_statistics/target/classes/com/atguigu/staservice/client/UcentClientImpl.class -------------------------------------------------------------------------------- /service/service_statistics/target/classes/com/atguigu/staservice/entity/StatisticsDaily.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_statistics/target/classes/com/atguigu/staservice/entity/StatisticsDaily.class -------------------------------------------------------------------------------- /service/service_ucenter/target/classes/com/atguigu/educenter/controller/WxApiController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_ucenter/target/classes/com/atguigu/educenter/controller/WxApiController.class -------------------------------------------------------------------------------- /service/service_ucenter/target/classes/com/atguigu/educenter/mapper/UcenterMemberMapper.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_ucenter/target/classes/com/atguigu/educenter/mapper/UcenterMemberMapper.class -------------------------------------------------------------------------------- /common/service_base/target/classes/com/atguigu/servicebase/handler/GlobalExceptionHandler.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/common/service_base/target/classes/com/atguigu/servicebase/handler/GlobalExceptionHandler.class -------------------------------------------------------------------------------- /common/spring_security/target/classes/com/atguigu/serurity/config/TokenWebSecurityConfig.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/common/spring_security/target/classes/com/atguigu/serurity/config/TokenWebSecurityConfig.class -------------------------------------------------------------------------------- /infrastructure/api_gateway/target/classes/com/atguigu/gateway/handler/ErrorHandlerConfig.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/infrastructure/api_gateway/target/classes/com/atguigu/gateway/handler/ErrorHandlerConfig.class -------------------------------------------------------------------------------- /service/service_acl/target/classes/com/atguigu/aclservice/controller/PermissionController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_acl/target/classes/com/atguigu/aclservice/controller/PermissionController.class -------------------------------------------------------------------------------- /service/service_edu/target/classes/com/atguigu/eduservice/controller/EduChapterController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_edu/target/classes/com/atguigu/eduservice/controller/EduChapterController.class -------------------------------------------------------------------------------- /service/service_edu/target/classes/com/atguigu/eduservice/controller/EduCommentController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_edu/target/classes/com/atguigu/eduservice/controller/EduCommentController.class -------------------------------------------------------------------------------- /service/service_edu/target/classes/com/atguigu/eduservice/controller/EduCourseController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_edu/target/classes/com/atguigu/eduservice/controller/EduCourseController.class -------------------------------------------------------------------------------- /service/service_edu/target/classes/com/atguigu/eduservice/controller/EduSubjectController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_edu/target/classes/com/atguigu/eduservice/controller/EduSubjectController.class -------------------------------------------------------------------------------- /service/service_edu/target/classes/com/atguigu/eduservice/controller/EduTeacherController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_edu/target/classes/com/atguigu/eduservice/controller/EduTeacherController.class -------------------------------------------------------------------------------- /service/service_order/target/classes/com/atguigu/eduorder/service/impl/PayLogServiceImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_order/target/classes/com/atguigu/eduorder/service/impl/PayLogServiceImpl.class -------------------------------------------------------------------------------- /service/service_ucenter/target/classes/com/atguigu/educenter/service/UcenterMemberService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_ucenter/target/classes/com/atguigu/educenter/service/UcenterMemberService.class -------------------------------------------------------------------------------- /common/spring_security/target/classes/com/atguigu/serurity/filter/TokenAuthenticationFilter.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/common/spring_security/target/classes/com/atguigu/serurity/filter/TokenAuthenticationFilter.class -------------------------------------------------------------------------------- /common/spring_security/target/classes/com/atguigu/serurity/security/DefaultPasswordEncoder.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/common/spring_security/target/classes/com/atguigu/serurity/security/DefaultPasswordEncoder.class -------------------------------------------------------------------------------- /common/spring_security/target/classes/com/atguigu/serurity/security/UnauthorizedEntryPoint.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/common/spring_security/target/classes/com/atguigu/serurity/security/UnauthorizedEntryPoint.class -------------------------------------------------------------------------------- /infrastructure/api_gateway/target/classes/com/atguigu/gateway/handler/JsonExceptionHandler.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/infrastructure/api_gateway/target/classes/com/atguigu/gateway/handler/JsonExceptionHandler.class -------------------------------------------------------------------------------- /service/service_acl/target/classes/com/atguigu/aclservice/service/impl/PermissionServiceImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_acl/target/classes/com/atguigu/aclservice/service/impl/PermissionServiceImpl.class -------------------------------------------------------------------------------- /service/service_acl/target/classes/com/atguigu/aclservice/service/impl/UserRoleServiceImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_acl/target/classes/com/atguigu/aclservice/service/impl/UserRoleServiceImpl.class -------------------------------------------------------------------------------- /service/service_edu/target/classes/com/atguigu/eduservice/client/VodFileDegradeFeignClient.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_edu/target/classes/com/atguigu/eduservice/client/VodFileDegradeFeignClient.class -------------------------------------------------------------------------------- /service/service_edu/target/classes/com/atguigu/eduservice/mapper/EduCourseDescriptionMapper.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_edu/target/classes/com/atguigu/eduservice/mapper/EduCourseDescriptionMapper.class -------------------------------------------------------------------------------- /service/service_edu/target/classes/com/atguigu/eduservice/service/impl/EduChapterServiceImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_edu/target/classes/com/atguigu/eduservice/service/impl/EduChapterServiceImpl.class -------------------------------------------------------------------------------- /service/service_edu/target/classes/com/atguigu/eduservice/service/impl/EduCommentServiceImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_edu/target/classes/com/atguigu/eduservice/service/impl/EduCommentServiceImpl.class -------------------------------------------------------------------------------- /service/service_edu/target/classes/com/atguigu/eduservice/service/impl/EduCourseServiceImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_edu/target/classes/com/atguigu/eduservice/service/impl/EduCourseServiceImpl.class -------------------------------------------------------------------------------- /service/service_edu/target/classes/com/atguigu/eduservice/service/impl/EduSubjectServiceImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_edu/target/classes/com/atguigu/eduservice/service/impl/EduSubjectServiceImpl.class -------------------------------------------------------------------------------- /service/service_edu/target/classes/com/atguigu/eduservice/service/impl/EduTeacherServiceImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_edu/target/classes/com/atguigu/eduservice/service/impl/EduTeacherServiceImpl.class -------------------------------------------------------------------------------- /service/service_edu/target/classes/com/atguigu/eduservice/service/impl/EduVideoServiceImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_edu/target/classes/com/atguigu/eduservice/service/impl/EduVideoServiceImpl.class -------------------------------------------------------------------------------- /service/service_acl/target/classes/com/atguigu/aclservice/service/impl/UserDetailsServiceImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_acl/target/classes/com/atguigu/aclservice/service/impl/UserDetailsServiceImpl.class -------------------------------------------------------------------------------- /service/service_edu/target/classes/com/atguigu/eduservice/service/EduCourseDescriptionService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_edu/target/classes/com/atguigu/eduservice/service/EduCourseDescriptionService.class -------------------------------------------------------------------------------- /service/service_statistics/target/classes/com/atguigu/staservice/mapper/StatisticsDailyMapper.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_statistics/target/classes/com/atguigu/staservice/mapper/StatisticsDailyMapper.class -------------------------------------------------------------------------------- /service/service_acl/target/classes/com/atguigu/aclservice/service/impl/RolePermissionServiceImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_acl/target/classes/com/atguigu/aclservice/service/impl/RolePermissionServiceImpl.class -------------------------------------------------------------------------------- /service/service_edu/target/classes/com/atguigu/eduservice/controller/front/CourseFrontController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_edu/target/classes/com/atguigu/eduservice/controller/front/CourseFrontController.class -------------------------------------------------------------------------------- /service/service_edu/target/classes/com/atguigu/eduservice/controller/front/IndexFrontController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_edu/target/classes/com/atguigu/eduservice/controller/front/IndexFrontController.class -------------------------------------------------------------------------------- /service/service_edu/target/classes/com/atguigu/eduservice/controller/front/TeacherFrontController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_edu/target/classes/com/atguigu/eduservice/controller/front/TeacherFrontController.class -------------------------------------------------------------------------------- /service/service_statistics/target/classes/com/atguigu/staservice/service/StatisticsDailyService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_statistics/target/classes/com/atguigu/staservice/service/StatisticsDailyService.class -------------------------------------------------------------------------------- /service/service_ucenter/target/classes/com/atguigu/educenter/controller/UcenterMemberController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_ucenter/target/classes/com/atguigu/educenter/controller/UcenterMemberController.class -------------------------------------------------------------------------------- /service/service_ucenter/target/classes/com/atguigu/educenter/service/impl/UcenterMemberServiceImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_ucenter/target/classes/com/atguigu/educenter/service/impl/UcenterMemberServiceImpl.class -------------------------------------------------------------------------------- /service/service_edu/target/classes/com/atguigu/eduservice/service/impl/EduCourseDescriptionServiceImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_edu/target/classes/com/atguigu/eduservice/service/impl/EduCourseDescriptionServiceImpl.class -------------------------------------------------------------------------------- /service/service_oss/src/main/java/com/atguigu/oss/service/OssService.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.oss.service; 2 | 3 | import org.springframework.web.multipart.MultipartFile; 4 | 5 | public interface OssService { 6 | String uploadOssFile(MultipartFile file); 7 | } 8 | -------------------------------------------------------------------------------- /service/service_statistics/target/classes/com/atguigu/staservice/controller/StatisticsDailyController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_statistics/target/classes/com/atguigu/staservice/controller/StatisticsDailyController.class -------------------------------------------------------------------------------- /service/service_statistics/target/classes/com/atguigu/staservice/service/impl/StatisticsDailyServiceImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzzzzzzyt/e-Learning/HEAD/service/service_statistics/target/classes/com/atguigu/staservice/service/impl/StatisticsDailyServiceImpl.class -------------------------------------------------------------------------------- /service/service_edu/src/main/java/com/atguigu/eduservice/entity/subject/TwoSubject.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.eduservice.entity.subject; 2 | 3 | import lombok.Data; 4 | 5 | //二级分类 6 | @Data 7 | public class TwoSubject { 8 | private String id; 9 | private String title; 10 | } 11 | -------------------------------------------------------------------------------- /service/service_edu/src/main/java/com/atguigu/eduservice/entity/vo/CourseQuery.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.eduservice.entity.vo; 2 | 3 | import lombok.Data; 4 | 5 | //进行条件查询的条件封装对象 6 | @Data 7 | public class CourseQuery { 8 | private String title; 9 | private String status; 10 | } 11 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # 在线教育系统📕 2 | 3 | 在线教育系统,分为前台网站系统和后台运营平台,B2C模式。 4 | 5 | 前台用户系统包括课程、讲师、问答、文章几大大部分,使用了微服务技术架构,前后端分离开发。 6 | 7 | 后端的主要技术架构是:SpringBoot + SpringCloud + MyBatis-Plus + HttpClient + MySQL + 8 | Maven+ nginx 9 | 10 | 前端的架构是:Node.js + Vue.js +element-ui+NUXT 11 | 12 | 使用SpringSecurity做用户权限校验采用RABC权限模型 13 | -------------------------------------------------------------------------------- /service/service_acl/src/main/java/com/atguigu/aclservice/mapper/xml/RoleMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /service/service_acl/src/main/java/com/atguigu/aclservice/mapper/xml/UserMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /service/service_acl/target/classes/com/atguigu/aclservice/mapper/xml/RoleMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /service/service_acl/target/classes/com/atguigu/aclservice/mapper/xml/UserMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /service/service_order/src/main/java/com/atguigu/eduorder/mapper/xml/OrderMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /service/service_cms/src/main/java/com/atguigu/educms/mapper/xml/CrmBannerMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /service/service_order/src/main/java/com/atguigu/eduorder/mapper/xml/PayLogMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /service/service_acl/src/main/java/com/atguigu/aclservice/mapper/xml/UserRoleMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /service/service_acl/target/classes/com/atguigu/aclservice/mapper/xml/UserRoleMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /service/service_edu/src/main/java/com/atguigu/eduservice/mapper/xml/EduVideoMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /service/service_edu/target/classes/com/atguigu/eduservice/mapper/xml/EduVideoMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /service/service_edu/src/main/java/com/atguigu/eduservice/mapper/xml/EduChapterMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /service/service_edu/src/main/java/com/atguigu/eduservice/mapper/xml/EduCommentMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /service/service_edu/src/main/java/com/atguigu/eduservice/mapper/xml/EduSubjectMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /service/service_edu/src/main/java/com/atguigu/eduservice/mapper/xml/EduTeacherMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /service/service_edu/target/classes/com/atguigu/eduservice/mapper/xml/EduChapterMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /service/service_edu/target/classes/com/atguigu/eduservice/mapper/xml/EduCommentMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /service/service_edu/target/classes/com/atguigu/eduservice/mapper/xml/EduSubjectMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /service/service_edu/target/classes/com/atguigu/eduservice/mapper/xml/EduTeacherMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /service/service_acl/src/main/java/com/atguigu/aclservice/mapper/xml/RolePermissionMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /service/service_acl/target/classes/com/atguigu/aclservice/mapper/xml/RolePermissionMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /service/service_statistics/src/main/java/com/atguigu/staservice/mapper/xml/StatisticsDailyMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /service/service_edu/src/main/java/com/atguigu/eduservice/mapper/xml/EduCourseDescriptionMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /service/service_edu/target/classes/com/atguigu/eduservice/mapper/xml/EduCourseDescriptionMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /service/service_edu/src/main/java/com/atguigu/eduservice/entity/vo/TeacherQuery.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.eduservice.entity.vo; 2 | 3 | import lombok.Data; 4 | 5 | //进行条件查询的条件封装对象 6 | @Data 7 | public class TeacherQuery { 8 | private String name; 9 | private Integer level; 10 | private String begin; 11 | private String end; 12 | } 13 | -------------------------------------------------------------------------------- /service/service_edu/src/main/java/com/atguigu/eduservice/entity/chapter/VideoVo.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.eduservice.entity.chapter; 2 | 3 | import lombok.Data; 4 | 5 | @Data 6 | public class VideoVo { 7 | private String id; 8 | 9 | private String title; 10 | 11 | private int isFree; 12 | 13 | private String videoSourceId;//视频id 14 | } 15 | -------------------------------------------------------------------------------- /service/service_vod/src/main/java/com/atguigu/vod/service/VodService.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.vod.service; 2 | 3 | import org.springframework.web.multipart.MultipartFile; 4 | 5 | import java.util.List; 6 | 7 | public interface VodService { 8 | String uploadAlyVideo(MultipartFile file); 9 | 10 | void removeVideos(List videoIdList); 11 | } 12 | -------------------------------------------------------------------------------- /service/service_edu/src/main/java/com/atguigu/eduservice/client/OrdersClientImpl.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.eduservice.client; 2 | 3 | import org.springframework.stereotype.Component; 4 | 5 | @Component 6 | public class OrdersClientImpl implements OrdersClient { 7 | @Override 8 | public boolean isBuyCourse(String courseId, String memberId) { 9 | return false; 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /service/service_edu/src/main/java/com/atguigu/eduservice/entity/chapter/ChapterVo.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.eduservice.entity.chapter; 2 | 3 | import lombok.Data; 4 | 5 | import java.util.ArrayList; 6 | import java.util.List; 7 | 8 | @Data 9 | public class ChapterVo { 10 | private String id; 11 | private String title; 12 | private List videoVoList = new ArrayList<>(); 13 | } 14 | -------------------------------------------------------------------------------- /service/service_edu/src/main/java/com/atguigu/eduservice/entity/subject/OneSubject.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.eduservice.entity.subject; 2 | 3 | import lombok.Data; 4 | 5 | import java.util.ArrayList; 6 | import java.util.List; 7 | 8 | //一级分类 9 | @Data 10 | public class OneSubject { 11 | private String id; 12 | private String title; 13 | private List children = new ArrayList<>(); 14 | } 15 | -------------------------------------------------------------------------------- /common/service_base/src/main/java/com/atguigu/servicebase/handler/GuliException.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.servicebase.handler; 2 | 3 | import lombok.AllArgsConstructor; 4 | import lombok.Data; 5 | import lombok.NoArgsConstructor; 6 | 7 | @Data 8 | @AllArgsConstructor 9 | @NoArgsConstructor 10 | public class GuliException extends RuntimeException { 11 | private Integer code; 12 | private String msg; 13 | } 14 | -------------------------------------------------------------------------------- /service/service_edu/src/main/java/com/atguigu/eduservice/entity/excel/SubjectData.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.eduservice.entity.excel; 2 | 3 | import com.alibaba.excel.annotation.ExcelProperty; 4 | import lombok.Data; 5 | 6 | @Data 7 | public class SubjectData { 8 | @ExcelProperty(index = 0) 9 | private String oneSubjectName; 10 | @ExcelProperty(index = 1) 11 | private String twoSubjectName; 12 | } 13 | -------------------------------------------------------------------------------- /service/service_statistics/src/main/java/com/atguigu/staservice/client/UcentClientImpl.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.staservice.client; 2 | 3 | import com.atguigu.commonutils.R; 4 | import org.springframework.stereotype.Component; 5 | 6 | @Component 7 | public class UcentClientImpl implements UcentClient { 8 | 9 | @Override 10 | public R countRegister(String day) { 11 | return null; 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /service/service_acl/src/main/java/com/atguigu/aclservice/mapper/RoleMapper.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.aclservice.mapper; 2 | 3 | import com.atguigu.aclservice.entity.Role; 4 | import com.baomidou.mybatisplus.core.mapper.BaseMapper; 5 | 6 | /** 7 | *

8 | * Mapper 接口 9 | *

10 | * 11 | * @author testjava 12 | * @since 2020-01-12 13 | */ 14 | public interface RoleMapper extends BaseMapper { 15 | 16 | } 17 | -------------------------------------------------------------------------------- /service/service_order/src/main/java/com/atguigu/eduorder/client/EduClientImpl.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.eduorder.client; 2 | 3 | import com.atguigu.commonvo.CourseOrderVo; 4 | import org.springframework.stereotype.Component; 5 | 6 | @Component 7 | public class EduClientImpl implements EduClient { 8 | @Override 9 | public CourseOrderVo getCourseInfoOrder(String id) { 10 | return null; 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /service/service_order/src/main/java/com/atguigu/eduorder/mapper/OrderMapper.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.eduorder.mapper; 2 | 3 | import com.atguigu.eduorder.entity.Order; 4 | import com.baomidou.mybatisplus.core.mapper.BaseMapper; 5 | 6 | /** 7 | *

8 | * 订单 Mapper 接口 9 | *

10 | * 11 | * @author zzyt 12 | * @since 2021-08-17 13 | */ 14 | public interface OrderMapper extends BaseMapper { 15 | 16 | } 17 | -------------------------------------------------------------------------------- /service/service_acl/src/main/java/com/atguigu/aclservice/mapper/UserMapper.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.aclservice.mapper; 2 | 3 | import com.atguigu.aclservice.entity.User; 4 | import com.baomidou.mybatisplus.core.mapper.BaseMapper; 5 | 6 | /** 7 | *

8 | * 用户表 Mapper 接口 9 | *

10 | * 11 | * @author testjava 12 | * @since 2020-01-12 13 | */ 14 | public interface UserMapper extends BaseMapper { 15 | 16 | } 17 | -------------------------------------------------------------------------------- /service/service_order/src/main/java/com/atguigu/eduorder/mapper/PayLogMapper.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.eduorder.mapper; 2 | 3 | import com.atguigu.eduorder.entity.PayLog; 4 | import com.baomidou.mybatisplus.core.mapper.BaseMapper; 5 | 6 | /** 7 | *

8 | * 支付日志表 Mapper 接口 9 | *

10 | * 11 | * @author zzyt 12 | * @since 2021-08-17 13 | */ 14 | public interface PayLogMapper extends BaseMapper { 15 | 16 | } 17 | -------------------------------------------------------------------------------- /service/service_cms/src/main/java/com/atguigu/educms/mapper/CrmBannerMapper.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.educms.mapper; 2 | 3 | import com.atguigu.educms.entity.CrmBanner; 4 | import com.baomidou.mybatisplus.core.mapper.BaseMapper; 5 | 6 | /** 7 | *

8 | * 首页banner表 Mapper 接口 9 | *

10 | * 11 | * @author zzyt 12 | * @since 2021-08-13 13 | */ 14 | public interface CrmBannerMapper extends BaseMapper { 15 | 16 | } 17 | -------------------------------------------------------------------------------- /service/service_edu/src/main/java/com/atguigu/eduservice/client/UcenterClientImpl.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.eduservice.client; 2 | 3 | import com.atguigu.eduservice.entity.vo.UcenterMember; 4 | import org.springframework.stereotype.Component; 5 | 6 | @Component 7 | public class UcenterClientImpl implements UcenterClient { 8 | @Override 9 | public UcenterMember getInfo(String id) { 10 | return null; 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /service/service_edu/src/test/java/excel/DemoData.java: -------------------------------------------------------------------------------- 1 | package excel; 2 | 3 | import com.alibaba.excel.annotation.ExcelProperty; 4 | import lombok.Data; 5 | 6 | import java.util.ArrayList; 7 | import java.util.List; 8 | 9 | @Data 10 | public class DemoData 11 | { 12 | @ExcelProperty(value = "学生编号",index = 0) 13 | private int stuNo; 14 | 15 | @ExcelProperty(value = "学生姓名",index = 1) 16 | private String stuName; 17 | } 18 | -------------------------------------------------------------------------------- /service/service_order/src/main/java/com/atguigu/eduorder/client/UcenterClientImpl.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.eduorder.client; 2 | 3 | import com.atguigu.commonvo.UcenterMemberVo; 4 | import org.springframework.stereotype.Component; 5 | 6 | @Component 7 | public class UcenterClientImpl implements UcenterClient { 8 | @Override 9 | public UcenterMemberVo getMemberInfoOrder(String id) { 10 | return null; 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /service/service_acl/src/main/java/com/atguigu/aclservice/mapper/UserRoleMapper.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.aclservice.mapper; 2 | 3 | import com.atguigu.aclservice.entity.UserRole; 4 | import com.baomidou.mybatisplus.core.mapper.BaseMapper; 5 | 6 | /** 7 | *

8 | * Mapper 接口 9 | *

10 | * 11 | * @author testjava 12 | * @since 2020-01-12 13 | */ 14 | public interface UserRoleMapper extends BaseMapper { 15 | 16 | } 17 | -------------------------------------------------------------------------------- /service/service_acl/src/main/java/com/atguigu/aclservice/service/UserRoleService.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.aclservice.service; 2 | 3 | import com.atguigu.aclservice.entity.UserRole; 4 | import com.baomidou.mybatisplus.extension.service.IService; 5 | 6 | /** 7 | *

8 | * 服务类 9 | *

10 | * 11 | * @author testjava 12 | * @since 2020-01-12 13 | */ 14 | public interface UserRoleService extends IService { 15 | 16 | } 17 | -------------------------------------------------------------------------------- /service/service_edu/src/main/java/com/atguigu/eduservice/mapper/EduVideoMapper.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.eduservice.mapper; 2 | 3 | import com.atguigu.eduservice.entity.EduVideo; 4 | import com.baomidou.mybatisplus.core.mapper.BaseMapper; 5 | 6 | /** 7 | *

8 | * 课程视频 Mapper 接口 9 | *

10 | * 11 | * @author zzyt 12 | * @since 2021-08-09 13 | */ 14 | public interface EduVideoMapper extends BaseMapper { 15 | 16 | } 17 | -------------------------------------------------------------------------------- /service/service_edu/src/main/java/com/atguigu/eduservice/mapper/EduChapterMapper.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.eduservice.mapper; 2 | 3 | import com.atguigu.eduservice.entity.EduChapter; 4 | import com.baomidou.mybatisplus.core.mapper.BaseMapper; 5 | 6 | /** 7 | *

8 | * 课程 Mapper 接口 9 | *

10 | * 11 | * @author zzyt 12 | * @since 2021-08-09 13 | */ 14 | public interface EduChapterMapper extends BaseMapper { 15 | 16 | } 17 | -------------------------------------------------------------------------------- /service/service_edu/src/main/java/com/atguigu/eduservice/mapper/EduCommentMapper.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.eduservice.mapper; 2 | 3 | import com.atguigu.eduservice.entity.EduComment; 4 | import com.baomidou.mybatisplus.core.mapper.BaseMapper; 5 | 6 | /** 7 | *

8 | * 评论 Mapper 接口 9 | *

10 | * 11 | * @author zzyt 12 | * @since 2021-08-17 13 | */ 14 | public interface EduCommentMapper extends BaseMapper { 15 | 16 | } 17 | -------------------------------------------------------------------------------- /service/service_edu/src/main/java/com/atguigu/eduservice/mapper/EduSubjectMapper.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.eduservice.mapper; 2 | 3 | import com.atguigu.eduservice.entity.EduSubject; 4 | import com.baomidou.mybatisplus.core.mapper.BaseMapper; 5 | 6 | /** 7 | *

8 | * 课程科目 Mapper 接口 9 | *

10 | * 11 | * @author zzyt 12 | * @since 2021-08-09 13 | */ 14 | public interface EduSubjectMapper extends BaseMapper { 15 | 16 | } 17 | -------------------------------------------------------------------------------- /service/service_edu/src/main/java/com/atguigu/eduservice/mapper/EduTeacherMapper.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.eduservice.mapper; 2 | 3 | import com.atguigu.eduservice.entity.EduTeacher; 4 | import com.baomidou.mybatisplus.core.mapper.BaseMapper; 5 | 6 | /** 7 | *

8 | * 讲师 Mapper 接口 9 | *

10 | * 11 | * @author zzyt 12 | * @since 2021-08-06 13 | */ 14 | public interface EduTeacherMapper extends BaseMapper { 15 | 16 | } 17 | -------------------------------------------------------------------------------- /service/service_acl/src/main/java/com/atguigu/aclservice/mapper/RolePermissionMapper.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.aclservice.mapper; 2 | 3 | import com.atguigu.aclservice.entity.RolePermission; 4 | import com.baomidou.mybatisplus.core.mapper.BaseMapper; 5 | 6 | /** 7 | *

8 | * 角色权限 Mapper 接口 9 | *

10 | * 11 | * @author testjava 12 | * @since 2020-01-12 13 | */ 14 | public interface RolePermissionMapper extends BaseMapper { 15 | 16 | } 17 | -------------------------------------------------------------------------------- /service/service_acl/src/main/java/com/atguigu/aclservice/service/RolePermissionService.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.aclservice.service; 2 | 3 | import com.atguigu.aclservice.entity.RolePermission; 4 | import com.baomidou.mybatisplus.extension.service.IService; 5 | 6 | /** 7 | *

8 | * 角色权限 服务类 9 | *

10 | * 11 | * @author testjava 12 | * @since 2020-01-12 13 | */ 14 | public interface RolePermissionService extends IService { 15 | 16 | } 17 | -------------------------------------------------------------------------------- /service/service_statistics/src/main/java/com/atguigu/staservice/mapper/StatisticsDailyMapper.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.staservice.mapper; 2 | 3 | import com.atguigu.staservice.entity.StatisticsDaily; 4 | import com.baomidou.mybatisplus.core.mapper.BaseMapper; 5 | 6 | /** 7 | *

8 | * 网站统计日数据 Mapper 接口 9 | *

10 | * 11 | * @author zzyt 12 | * @since 2021-08-19 13 | */ 14 | public interface StatisticsDailyMapper extends BaseMapper { 15 | 16 | } 17 | -------------------------------------------------------------------------------- /service/service_statistics/src/main/resources/bootstrap.properties: -------------------------------------------------------------------------------- 1 | #配置中心地址 2 | spring.cloud.nacos.config.server-addr=127.0.0.1:8848 3 | #spring.profiles.active=dev 4 | # 该配置影响统一配置中心中的dataId 5 | spring.application.name=service-statistics 6 | # 命名空间的id 7 | #spring.cloud.nacos.config.namespace=73adaa8b-c345-4612-bd82-413ed1317c51 8 | spring.cloud.nacos.config.ext-config[0].data-id=port.properties 9 | # 开启动态刷新配置,否则配置文件修改,工程无法感知 10 | spring.cloud.nacos.config.ext-config[0].refresh=true -------------------------------------------------------------------------------- /service/service_statistics/target/classes/bootstrap.properties: -------------------------------------------------------------------------------- 1 | #配置中心地址 2 | spring.cloud.nacos.config.server-addr=127.0.0.1:8848 3 | #spring.profiles.active=dev 4 | # 该配置影响统一配置中心中的dataId 5 | spring.application.name=service-statistics 6 | # 命名空间的id 7 | #spring.cloud.nacos.config.namespace=73adaa8b-c345-4612-bd82-413ed1317c51 8 | spring.cloud.nacos.config.ext-config[0].data-id=port.properties 9 | # 开启动态刷新配置,否则配置文件修改,工程无法感知 10 | spring.cloud.nacos.config.ext-config[0].refresh=true -------------------------------------------------------------------------------- /service/service_edu/src/main/java/com/atguigu/eduservice/mapper/EduCourseDescriptionMapper.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.eduservice.mapper; 2 | 3 | import com.atguigu.eduservice.entity.EduCourseDescription; 4 | import com.baomidou.mybatisplus.core.mapper.BaseMapper; 5 | 6 | /** 7 | *

8 | * 课程简介 Mapper 接口 9 | *

10 | * 11 | * @author zzyt 12 | * @since 2021-08-09 13 | */ 14 | public interface EduCourseDescriptionMapper extends BaseMapper { 15 | 16 | } 17 | -------------------------------------------------------------------------------- /service/service_edu/src/main/java/com/atguigu/eduservice/service/EduCourseDescriptionService.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.eduservice.service; 2 | 3 | import com.atguigu.eduservice.entity.EduCourseDescription; 4 | import com.baomidou.mybatisplus.extension.service.IService; 5 | 6 | /** 7 | *

8 | * 课程简介 服务类 9 | *

10 | * 11 | * @author zzyt 12 | * @since 2021-08-09 13 | */ 14 | public interface EduCourseDescriptionService extends IService { 15 | 16 | } 17 | -------------------------------------------------------------------------------- /service/service_order/src/main/java/com/atguigu/eduorder/service/OrderService.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.eduorder.service; 2 | 3 | import com.atguigu.eduorder.entity.Order; 4 | import com.baomidou.mybatisplus.extension.service.IService; 5 | 6 | /** 7 | *

8 | * 订单 服务类 9 | *

10 | * 11 | * @author zzyt 12 | * @since 2021-08-17 13 | */ 14 | public interface OrderService extends IService { 15 | 16 | String saveOrder(String id, String memberIdByJwtToken); 17 | } 18 | -------------------------------------------------------------------------------- /canal_clientedu/target/classes/application.properties: -------------------------------------------------------------------------------- 1 | # 服务端口 2 | server.port=10000 3 | # 服务名 4 | spring.application.name=canal-client 5 | 6 | # 环境设置:dev、test、prod 7 | spring.profiles.active=dev 8 | 9 | # mysql数据库连接 10 | spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver 11 | spring.datasource.url=jdbc:mysql://localhost:3306/guli?serverTimezone=GMT%2B8&useUnicoding=true&characterEncoding=utf-8 12 | spring.datasource.username=root 13 | spring.datasource.password=root 14 | 15 | 16 | -------------------------------------------------------------------------------- /service/service_edu/src/main/java/com/atguigu/eduservice/service/EduVideoService.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.eduservice.service; 2 | 3 | import com.atguigu.eduservice.entity.EduVideo; 4 | import com.baomidou.mybatisplus.extension.service.IService; 5 | 6 | /** 7 | *

8 | * 课程视频 服务类 9 | *

10 | * 11 | * @author zzyt 12 | * @since 2021-08-09 13 | */ 14 | public interface EduVideoService extends IService { 15 | 16 | void removeByCourseId(String courseId); 17 | } 18 | -------------------------------------------------------------------------------- /canal_clientedu/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | # 服务端口 2 | server.port=10000 3 | # 服务名 4 | spring.application.name=canal-client 5 | 6 | # 环境设置:dev、test、prod 7 | spring.profiles.active=dev 8 | 9 | # mysql数据库连接 10 | spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver 11 | spring.datasource.url=jdbc:mysql://localhost:3306/guli?serverTimezone=GMT%2B8&useUnicoding=true&characterEncoding=utf-8 12 | spring.datasource.username=root 13 | spring.datasource.password=root 14 | 15 | 16 | -------------------------------------------------------------------------------- /service/service_edu/src/main/java/com/atguigu/eduservice/entity/vo/CoursePublishVo.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.eduservice.entity.vo; 2 | 3 | import lombok.Data; 4 | 5 | @Data 6 | public class CoursePublishVo { 7 | private String id; 8 | private String title; 9 | private String cover; 10 | private Integer lessonNum; 11 | private String subjectLevelOne; 12 | private String subjectLevelTwo; 13 | private String teacherName; 14 | private String price;//只用于显示 15 | } 16 | -------------------------------------------------------------------------------- /service/service_acl/src/main/java/com/atguigu/aclservice/service/UserService.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.aclservice.service; 2 | 3 | import com.atguigu.aclservice.entity.User; 4 | import com.baomidou.mybatisplus.extension.service.IService; 5 | 6 | /** 7 | *

8 | * 用户表 服务类 9 | *

10 | * 11 | * @author testjava 12 | * @since 2020-01-12 13 | */ 14 | public interface UserService extends IService { 15 | 16 | // 从数据库中取出用户信息 17 | User selectByUsername(String username); 18 | } 19 | -------------------------------------------------------------------------------- /service/service_msm/src/main/java/com/atguigu/msmservice/utils/RandomUtils.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.msmservice.utils; 2 | 3 | public class RandomUtils { 4 | public static String generateRandom(int digitNumber) { 5 | if (digitNumber == 0) { 6 | return ""; 7 | }//Math.random*9 是0-9之间 但是强制取整后 只是0-8整数 所以要先加个1 才可能第一位不是0 有取到9的可能 其实这里也可以向上取整 8 | return String.valueOf((int) ((Math.random() * 9 + 1) * (Math.pow(10, digitNumber - 1)))); 9 | } 10 | 11 | 12 | } 13 | -------------------------------------------------------------------------------- /service/service_ucenter/src/main/java/com/atguigu/educenter/mapper/UcenterMemberMapper.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.educenter.mapper; 2 | 3 | import com.atguigu.educenter.entity.UcenterMember; 4 | import com.baomidou.mybatisplus.core.mapper.BaseMapper; 5 | 6 | /** 7 | *

8 | * 会员表 Mapper 接口 9 | *

10 | * 11 | * @author zzyt 12 | * @since 2021-08-14 13 | */ 14 | public interface UcenterMemberMapper extends BaseMapper { 15 | 16 | int countRegister(String day); 17 | } 18 | -------------------------------------------------------------------------------- /service/service_cms/src/main/java/com/atguigu/educms/service/CrmBannerService.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.educms.service; 2 | 3 | import com.atguigu.educms.entity.CrmBanner; 4 | import com.baomidou.mybatisplus.extension.service.IService; 5 | 6 | import java.util.List; 7 | 8 | /** 9 | *

10 | * 首页banner表 服务类 11 | *

12 | * 13 | * @author zzyt 14 | * @since 2021-08-13 15 | */ 16 | public interface CrmBannerService extends IService { 17 | 18 | List getAllBanner(); 19 | } 20 | -------------------------------------------------------------------------------- /service/service_ucenter/src/main/java/com/atguigu/educenter/mapper/xml/UcenterMemberMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /service/service_ucenter/target/classes/com/atguigu/educenter/mapper/xml/UcenterMemberMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /service/service_oss/target/classes/application.properties: -------------------------------------------------------------------------------- 1 | #服务端口 2 | server.port=8002 3 | #服务名 4 | spring.application.name=service-oss 5 | #环境设置:dev、test、prod 6 | spring.profiles.active=dev 7 | #阿里云 OSS 8 | #不同的服务器,地址不同 9 | aliyun.oss.file.endpoint=oss-cn-hangzhou.aliyuncs.com 10 | aliyun.oss.file.keyid=LTAI5tFhqtHpAjYLVx1VMDRV 11 | aliyun.oss.file.keysecret=4c8XZMOTM3713QihUMfXg7QBl18OD3 12 | #bucket可以在控制台创建,也可以使用java代码创建 13 | aliyun.oss.file.bucketname=edu-5056 14 | # nacos服务地址 15 | spring.cloud.nacos.discovery.server-addr=127.0.0.1:8848 -------------------------------------------------------------------------------- /service/service_oss/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | #服务端口 2 | server.port=8002 3 | #服务名 4 | spring.application.name=service-oss 5 | #环境设置:dev、test、prod 6 | spring.profiles.active=dev 7 | #阿里云 OSS 8 | #不同的服务器,地址不同 9 | aliyun.oss.file.endpoint=oss-cn-hangzhou.aliyuncs.com 10 | aliyun.oss.file.keyid=LTAI5tFhqtHpAjYLVx1VMDRV 11 | aliyun.oss.file.keysecret=4c8XZMOTM3713QihUMfXg7QBl18OD3 12 | #bucket可以在控制台创建,也可以使用java代码创建 13 | aliyun.oss.file.bucketname=edu-5056 14 | # nacos服务地址 15 | spring.cloud.nacos.discovery.server-addr=127.0.0.1:8848 -------------------------------------------------------------------------------- /service/service_vod/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | # 服务端口 2 | server.port=8003 3 | # 服务名 4 | spring.application.name=service-vod 5 | # 环境设置:dev、test、prod 6 | spring.profiles.active=dev 7 | #阿里云 vod 8 | #不同的服务器,地址不同 9 | aliyun.vod.file.keyid=LTAI5tFhqtHpAjYLVx1VMDRV 10 | aliyun.vod.file.keysecret=4c8XZMOTM3713QihUMfXg7QBl18OD3 11 | # nacos服务地址 12 | spring.cloud.nacos.discovery.server-addr=127.0.0.1:8848 13 | # 最大上传单个文件大小:默认1M 14 | spring.servlet.multipart.max-file-size=1024MB 15 | # 最大置总上传的数据大小 :默认10M 16 | spring.servlet.multipart.max-request-size=1024MB -------------------------------------------------------------------------------- /service/service_vod/target/classes/application.properties: -------------------------------------------------------------------------------- 1 | # 服务端口 2 | server.port=8003 3 | # 服务名 4 | spring.application.name=service-vod 5 | # 环境设置:dev、test、prod 6 | spring.profiles.active=dev 7 | #阿里云 vod 8 | #不同的服务器,地址不同 9 | aliyun.vod.file.keyid=LTAI5tFhqtHpAjYLVx1VMDRV 10 | aliyun.vod.file.keysecret=4c8XZMOTM3713QihUMfXg7QBl18OD3 11 | # nacos服务地址 12 | spring.cloud.nacos.discovery.server-addr=127.0.0.1:8848 13 | # 最大上传单个文件大小:默认1M 14 | spring.servlet.multipart.max-file-size=1024MB 15 | # 最大置总上传的数据大小 :默认10M 16 | spring.servlet.multipart.max-request-size=1024MB -------------------------------------------------------------------------------- /infrastructure/api_gateway/src/main/java/com/atguigu/gateway/ApiGatewayApplication.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.gateway; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | import org.springframework.cloud.client.discovery.EnableDiscoveryClient; 6 | 7 | @SpringBootApplication 8 | @EnableDiscoveryClient 9 | public class ApiGatewayApplication { 10 | public static void main(String[] args) { 11 | SpringApplication.run(ApiGatewayApplication.class, args); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /service/service_ucenter/src/main/java/com/atguigu/educenter/entity/vo/RegisterVo.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.educenter.entity.vo; 2 | 3 | import io.swagger.annotations.ApiModelProperty; 4 | import lombok.Data; 5 | 6 | @Data 7 | public class RegisterVo { 8 | @ApiModelProperty(value = "昵称") 9 | private String nickname; 10 | 11 | @ApiModelProperty(value = "邮箱") 12 | private String email; 13 | 14 | @ApiModelProperty(value = "密码") 15 | private String password; 16 | 17 | @ApiModelProperty(value = "验证码") 18 | private String code; 19 | } 20 | -------------------------------------------------------------------------------- /service/service_edu/src/main/java/com/atguigu/eduservice/client/VodFileDegradeFeignClient.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.eduservice.client; 2 | 3 | import com.atguigu.commonutils.R; 4 | import org.springframework.stereotype.Component; 5 | 6 | import java.util.List; 7 | 8 | @Component 9 | public class VodFileDegradeFeignClient implements VodClient { 10 | @Override 11 | public R removeAlyVideo(String id) { 12 | return R.error().message("删除视频失败"); 13 | } 14 | 15 | @Override 16 | public R deleteBatch(List videoIdList) { 17 | return R.error().message("删除多个视频失败"); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /service/service_acl/src/main/java/com/atguigu/aclservice/service/IndexService.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.aclservice.service; 2 | 3 | import com.alibaba.fastjson.JSONObject; 4 | 5 | import java.util.List; 6 | import java.util.Map; 7 | 8 | public interface IndexService { 9 | 10 | /** 11 | * 根据用户名获取用户登录信息 12 | * 13 | * @param username 14 | * @return 15 | */ 16 | Map getUserInfo(String username); 17 | 18 | /** 19 | * 根据用户名获取动态菜单 20 | * 21 | * @param username 22 | * @return 23 | */ 24 | List getMenu(String username); 25 | 26 | } 27 | -------------------------------------------------------------------------------- /service/service_vod/src/main/java/com/atguigu/vod/utils/InitObject.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.vod.utils; 2 | 3 | import com.aliyun.oss.ClientException; 4 | import com.aliyuncs.DefaultAcsClient; 5 | import com.aliyuncs.profile.DefaultProfile; 6 | 7 | public class InitObject { 8 | public static DefaultAcsClient initVodClient(String accessKeyId, String accessKeySecret) throws ClientException { 9 | String regionId = "cn-shanghai"; // 点播服务接入区域 10 | DefaultProfile profile = DefaultProfile.getProfile(regionId, accessKeyId, accessKeySecret); 11 | return new DefaultAcsClient(profile); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /service/service_cms/src/main/java/com/atguigu/educms/CmsApplication.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.educms; 2 | 3 | import org.mybatis.spring.annotation.MapperScan; 4 | import org.springframework.boot.SpringApplication; 5 | import org.springframework.boot.autoconfigure.SpringBootApplication; 6 | import org.springframework.context.annotation.ComponentScan; 7 | 8 | @SpringBootApplication 9 | @ComponentScan({"com.atguigu"}) //指定扫描位置 10 | @MapperScan("com.atguigu.educms.mapper") 11 | public class CmsApplication { 12 | public static void main(String[] args) { 13 | SpringApplication.run(CmsApplication.class, args); 14 | } 15 | } -------------------------------------------------------------------------------- /service/service_statistics/src/main/java/com/atguigu/staservice/service/StatisticsDailyService.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.staservice.service; 2 | 3 | import com.atguigu.staservice.entity.StatisticsDaily; 4 | import com.baomidou.mybatisplus.extension.service.IService; 5 | 6 | import java.util.Map; 7 | 8 | /** 9 | *

10 | * 网站统计日数据 服务类 11 | *

12 | * 13 | * @author zzyt 14 | * @since 2021-08-19 15 | */ 16 | public interface StatisticsDailyService extends IService { 17 | 18 | void registerCount(String day); 19 | 20 | Map getShowData(String type, String begin, String end); 21 | } 22 | -------------------------------------------------------------------------------- /service/service_msm/src/main/java/com/atguigu/msmservice/MsmApplication.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.msmservice; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration; 6 | import org.springframework.context.annotation.ComponentScan; 7 | 8 | @ComponentScan({"com.atguigu"}) 9 | @SpringBootApplication(exclude = DataSourceAutoConfiguration.class)//取消数据源自动配置 10 | public class MsmApplication { 11 | public static void main(String[] args) { 12 | SpringApplication.run(MsmApplication.class, args); 13 | } 14 | } -------------------------------------------------------------------------------- /service/service_acl/src/main/java/com/atguigu/aclservice/mapper/PermissionMapper.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.aclservice.mapper; 2 | 3 | import com.atguigu.aclservice.entity.Permission; 4 | import com.baomidou.mybatisplus.core.mapper.BaseMapper; 5 | 6 | import java.util.List; 7 | 8 | /** 9 | *

10 | * 权限 Mapper 接口 11 | *

12 | * 13 | * @author testjava 14 | * @since 2020-01-12 15 | */ 16 | public interface PermissionMapper extends BaseMapper { 17 | 18 | 19 | List selectPermissionValueByUserId(String id); 20 | 21 | List selectAllPermissionValue(); 22 | 23 | List selectPermissionByUserId(String userId); 24 | } 25 | -------------------------------------------------------------------------------- /service/service_edu/src/main/java/com/atguigu/eduservice/client/UcenterClient.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.eduservice.client; 2 | 3 | import com.atguigu.eduservice.entity.vo.UcenterMember; 4 | import org.springframework.cloud.openfeign.FeignClient; 5 | import org.springframework.stereotype.Component; 6 | import org.springframework.web.bind.annotation.GetMapping; 7 | import org.springframework.web.bind.annotation.PathVariable; 8 | 9 | @Component 10 | @FeignClient(name = "service-ucenter", fallback = UcenterClientImpl.class) 11 | public interface UcenterClient { 12 | @GetMapping("/educenter/member/getInfoUc/{id}") 13 | UcenterMember getInfo(@PathVariable String id); 14 | } 15 | -------------------------------------------------------------------------------- /service/service_order/src/main/java/com/atguigu/eduorder/client/EduClient.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.eduorder.client; 2 | 3 | import com.atguigu.commonvo.CourseOrderVo; 4 | import org.springframework.cloud.openfeign.FeignClient; 5 | import org.springframework.stereotype.Component; 6 | import org.springframework.web.bind.annotation.GetMapping; 7 | import org.springframework.web.bind.annotation.PathVariable; 8 | 9 | @Component 10 | @FeignClient(name = "service-edu", fallback = EduClientImpl.class) 11 | public interface EduClient { 12 | @GetMapping("/eduservice/coursefront/getCourseInfoOrder/{id}") 13 | CourseOrderVo getCourseInfoOrder(@PathVariable("id") String id); 14 | } 15 | -------------------------------------------------------------------------------- /service/service_vod/src/test/java/com/atguigu/vodTest/InitObject.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.vodTest; 2 | 3 | import com.aliyun.oss.ClientException; 4 | import com.aliyuncs.DefaultAcsClient; 5 | import com.aliyuncs.profile.DefaultProfile; 6 | 7 | public class InitObject 8 | { 9 | public static DefaultAcsClient initVodClient(String accessKeyId, String accessKeySecret) throws ClientException 10 | { 11 | String regionId = "cn-shanghai"; // 点播服务接入区域 12 | DefaultProfile profile = DefaultProfile.getProfile(regionId, accessKeyId, accessKeySecret); 13 | DefaultAcsClient client = new DefaultAcsClient(profile); 14 | return client; 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /service/service_acl/src/main/java/com/atguigu/aclservice/service/impl/UserRoleServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.aclservice.service.impl; 2 | 3 | import com.atguigu.aclservice.entity.UserRole; 4 | import com.atguigu.aclservice.mapper.UserRoleMapper; 5 | import com.atguigu.aclservice.service.UserRoleService; 6 | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; 7 | import org.springframework.stereotype.Service; 8 | 9 | /** 10 | *

11 | * 服务实现类 12 | *

13 | * 14 | * @author testjava 15 | * @since 2020-01-12 16 | */ 17 | @Service 18 | public class UserRoleServiceImpl extends ServiceImpl implements UserRoleService { 19 | 20 | } 21 | -------------------------------------------------------------------------------- /service/service_order/src/main/java/com/atguigu/eduorder/service/PayLogService.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.eduorder.service; 2 | 3 | import com.atguigu.eduorder.entity.PayLog; 4 | import com.baomidou.mybatisplus.extension.service.IService; 5 | 6 | import java.util.Map; 7 | 8 | /** 9 | *

10 | * 支付日志表 服务类 11 | *

12 | * 13 | * @author zzyt 14 | * @since 2021-08-17 15 | */ 16 | public interface PayLogService extends IService { 17 | //创建微信支付二维码 18 | Map createNative(String orderNo); 19 | 20 | //查询订单支付状态 21 | Map queryPayStatus(String orderNo); 22 | 23 | //修改订单的数据 24 | void updateOrderStatus(Map map); 25 | } 26 | -------------------------------------------------------------------------------- /service/service_statistics/src/main/java/com/atguigu/staservice/client/UcentClient.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.staservice.client; 2 | 3 | import com.atguigu.commonutils.R; 4 | import org.springframework.cloud.openfeign.FeignClient; 5 | import org.springframework.stereotype.Component; 6 | import org.springframework.web.bind.annotation.GetMapping; 7 | import org.springframework.web.bind.annotation.PathVariable; 8 | 9 | @Component 10 | @FeignClient(name = "service-ucenter", fallback = UcentClientImpl.class) 11 | public interface UcentClient { 12 | //查询某一天的注册人数 13 | @GetMapping("/educenter/member/countRegister/{day}") 14 | R countRegister(@PathVariable("day") String day); 15 | } 16 | -------------------------------------------------------------------------------- /service/service_edu/src/main/java/com/atguigu/eduservice/client/OrdersClient.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.eduservice.client; 2 | 3 | import org.springframework.cloud.openfeign.FeignClient; 4 | import org.springframework.stereotype.Component; 5 | import org.springframework.web.bind.annotation.GetMapping; 6 | import org.springframework.web.bind.annotation.PathVariable; 7 | 8 | @Component 9 | @FeignClient(name = "service-order", fallback = OrdersClientImpl.class) 10 | public interface OrdersClient { 11 | @GetMapping("/eduorder/order/isBuyCourse/{courseId}/{memberId}") 12 | boolean isBuyCourse(@PathVariable("courseId") String courseId, @PathVariable("memberId") String memberId); 13 | } 14 | -------------------------------------------------------------------------------- /service/service_edu/src/main/java/com/atguigu/eduservice/mapper/EduCourseMapper.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.eduservice.mapper; 2 | 3 | import com.atguigu.eduservice.entity.EduCourse; 4 | import com.atguigu.eduservice.entity.frontvo.CourseWebVo; 5 | import com.atguigu.eduservice.entity.vo.CoursePublishVo; 6 | import com.baomidou.mybatisplus.core.mapper.BaseMapper; 7 | 8 | /** 9 | *

10 | * 课程 Mapper 接口 11 | *

12 | * 13 | * @author zzyt 14 | * @since 2021-08-09 15 | */ 16 | 17 | public interface EduCourseMapper extends BaseMapper { 18 | CoursePublishVo getCoursePublishInfo(String courseId); 19 | 20 | CourseWebVo getBaseCourseInfo(String courseId); 21 | } 22 | -------------------------------------------------------------------------------- /service/service_order/src/main/java/com/atguigu/eduorder/client/UcenterClient.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.eduorder.client; 2 | 3 | import com.atguigu.commonvo.UcenterMemberVo; 4 | import org.springframework.cloud.openfeign.FeignClient; 5 | import org.springframework.stereotype.Component; 6 | import org.springframework.web.bind.annotation.GetMapping; 7 | import org.springframework.web.bind.annotation.PathVariable; 8 | 9 | @Component 10 | @FeignClient(name = "service-ucenter", fallback = UcenterClientImpl.class) 11 | public interface UcenterClient { 12 | @GetMapping("/educenter/member/getUserInfoOrder/{id}") 13 | UcenterMemberVo getMemberInfoOrder(@PathVariable("id") String id); 14 | } 15 | -------------------------------------------------------------------------------- /service/service_edu/src/main/java/com/atguigu/eduservice/service/EduTeacherService.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.eduservice.service; 2 | 3 | import com.atguigu.eduservice.entity.EduTeacher; 4 | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; 5 | import com.baomidou.mybatisplus.extension.service.IService; 6 | 7 | import java.util.List; 8 | import java.util.Map; 9 | 10 | /** 11 | *

12 | * 讲师 服务类 13 | *

14 | * 15 | * @author zzyt 16 | * @since 2021-08-06 17 | */ 18 | public interface EduTeacherService extends IService { 19 | 20 | List listIndex(); 21 | 22 | Map getTeacherFrontList(Page pageTeacher); 23 | } 24 | -------------------------------------------------------------------------------- /service/service_acl/src/main/java/com/atguigu/aclservice/service/RoleService.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.aclservice.service; 2 | 3 | import com.atguigu.aclservice.entity.Role; 4 | import com.baomidou.mybatisplus.extension.service.IService; 5 | 6 | import java.util.List; 7 | import java.util.Map; 8 | 9 | /** 10 | *

11 | * 服务类 12 | *

13 | * 14 | * @author testjava 15 | * @since 2020-01-12 16 | */ 17 | public interface RoleService extends IService { 18 | 19 | //根据用户获取角色数据 20 | Map findRoleByUserId(String userId); 21 | 22 | //根据用户分配角色 23 | void saveUserRoleRealtionShip(String userId, String[] roleId); 24 | 25 | List selectRoleByUserId(String id); 26 | } 27 | -------------------------------------------------------------------------------- /service/service_edu/src/main/java/com/atguigu/eduservice/service/EduChapterService.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.eduservice.service; 2 | 3 | import com.atguigu.eduservice.entity.EduChapter; 4 | import com.atguigu.eduservice.entity.chapter.ChapterVo; 5 | import com.baomidou.mybatisplus.extension.service.IService; 6 | 7 | import java.util.List; 8 | 9 | /** 10 | *

11 | * 课程 服务类 12 | *

13 | * 14 | * @author zzyt 15 | * @since 2021-08-09 16 | */ 17 | public interface EduChapterService extends IService { 18 | 19 | List getChapterVideoByCourseId(String courseId); 20 | 21 | boolean deleteChapter(String chapterId); 22 | 23 | void removeByCourseId(String courseId); 24 | } 25 | -------------------------------------------------------------------------------- /service/service_ucenter/src/main/java/com/atguigu/educenter/service/UcenterMemberService.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.educenter.service; 2 | 3 | import com.atguigu.educenter.entity.UcenterMember; 4 | import com.atguigu.educenter.entity.vo.RegisterVo; 5 | import com.baomidou.mybatisplus.extension.service.IService; 6 | 7 | /** 8 | *

9 | * 会员表 服务类 10 | *

11 | * 12 | * @author zzyt 13 | * @since 2021-08-14 14 | */ 15 | public interface UcenterMemberService extends IService { 16 | 17 | String login(UcenterMember ucenterMember); 18 | 19 | void register(RegisterVo registerVo); 20 | 21 | UcenterMember getOpenIdMember(String openid); 22 | 23 | int countRegister(String day); 24 | 25 | } 26 | -------------------------------------------------------------------------------- /service/service_acl/src/main/java/com/atguigu/aclservice/service/impl/RolePermissionServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.aclservice.service.impl; 2 | 3 | import com.atguigu.aclservice.entity.RolePermission; 4 | import com.atguigu.aclservice.mapper.RolePermissionMapper; 5 | import com.atguigu.aclservice.service.RolePermissionService; 6 | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; 7 | import org.springframework.stereotype.Service; 8 | 9 | /** 10 | *

11 | * 角色权限 服务实现类 12 | *

13 | * 14 | * @author testjava 15 | * @since 2020-01-12 16 | */ 17 | @Service 18 | public class RolePermissionServiceImpl extends ServiceImpl implements RolePermissionService { 19 | 20 | } 21 | -------------------------------------------------------------------------------- /service/service_edu/src/main/java/com/atguigu/eduservice/service/EduSubjectService.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.eduservice.service; 2 | 3 | import com.atguigu.eduservice.entity.EduSubject; 4 | import com.atguigu.eduservice.entity.subject.OneSubject; 5 | import com.baomidou.mybatisplus.extension.service.IService; 6 | import org.springframework.web.multipart.MultipartFile; 7 | 8 | import java.util.List; 9 | 10 | /** 11 | *

12 | * 课程科目 服务类 13 | *

14 | * 15 | * @author zzyt 16 | * @since 2021-08-09 17 | */ 18 | public interface EduSubjectService extends IService { 19 | 20 | void saveSubject(MultipartFile file, EduSubjectService subjectService); 21 | 22 | 23 | List getAllOneTwoSubject(); 24 | } 25 | -------------------------------------------------------------------------------- /service/service_edu/src/main/java/com/atguigu/eduservice/EduApplication.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.eduservice; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | import org.springframework.cloud.client.discovery.EnableDiscoveryClient; 6 | import org.springframework.cloud.openfeign.EnableFeignClients; 7 | import org.springframework.context.annotation.ComponentScan; 8 | 9 | @SpringBootApplication 10 | @EnableDiscoveryClient 11 | @EnableFeignClients 12 | @ComponentScan(basePackages = {"com.atguigu"}) 13 | public class EduApplication { 14 | public static void main(String[] args) { 15 | SpringApplication.run(EduApplication.class, args); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /service/service_cms/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | service 7 | com.atguigu 8 | 0.0.1-SNAPSHOT 9 | 10 | 4.0.0 11 | 12 | service_cms 13 | 14 | 15 | 8 16 | 8 17 | 18 | 19 | -------------------------------------------------------------------------------- /service/service_oss/src/main/java/com/atguigu/oss/OssApplication.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.oss; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration; 6 | import org.springframework.cloud.client.discovery.EnableDiscoveryClient; 7 | import org.springframework.context.annotation.ComponentScan; 8 | 9 | @SpringBootApplication(exclude = DataSourceAutoConfiguration.class) 10 | @EnableDiscoveryClient 11 | @ComponentScan({"com.atguigu"}) 12 | public class OssApplication { 13 | public static void main(String[] args) { 14 | SpringApplication.run(OssApplication.class, args); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /service/service_acl/src/main/java/com/atguigu/aclservice/ServiceAclApplication.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.aclservice; 2 | 3 | import org.mybatis.spring.annotation.MapperScan; 4 | import org.springframework.boot.SpringApplication; 5 | import org.springframework.boot.autoconfigure.SpringBootApplication; 6 | import org.springframework.cloud.client.discovery.EnableDiscoveryClient; 7 | import org.springframework.context.annotation.ComponentScan; 8 | 9 | @SpringBootApplication 10 | @EnableDiscoveryClient 11 | @ComponentScan("com.atguigu") 12 | @MapperScan("com.atguigu.aclservice.mapper") 13 | public class ServiceAclApplication { 14 | 15 | public static void main(String[] args) { 16 | SpringApplication.run(ServiceAclApplication.class, args); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /service/service_ucenter/src/main/java/com/atguigu/educenter/UcenterApplication.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.educenter; 2 | 3 | import org.mybatis.spring.annotation.MapperScan; 4 | import org.springframework.boot.SpringApplication; 5 | import org.springframework.boot.autoconfigure.SpringBootApplication; 6 | import org.springframework.cloud.client.discovery.EnableDiscoveryClient; 7 | import org.springframework.context.annotation.ComponentScan; 8 | 9 | @SpringBootApplication 10 | @EnableDiscoveryClient 11 | @ComponentScan({"com.atguigu"}) 12 | @MapperScan("com.atguigu.educenter.mapper") //mapperscan没写好 13 | public class UcenterApplication { 14 | public static void main(String[] args) { 15 | SpringApplication.run(UcenterApplication.class, args); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /service/service_edu/src/main/java/com/atguigu/eduservice/service/impl/EduCourseDescriptionServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.eduservice.service.impl; 2 | 3 | import com.atguigu.eduservice.entity.EduCourseDescription; 4 | import com.atguigu.eduservice.mapper.EduCourseDescriptionMapper; 5 | import com.atguigu.eduservice.service.EduCourseDescriptionService; 6 | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; 7 | import org.springframework.stereotype.Service; 8 | 9 | /** 10 | *

11 | * 课程简介 服务实现类 12 | *

13 | * 14 | * @author zzyt 15 | * @since 2021-08-09 16 | */ 17 | @Service 18 | public class EduCourseDescriptionServiceImpl extends ServiceImpl implements EduCourseDescriptionService { 19 | 20 | } 21 | -------------------------------------------------------------------------------- /service/service_vod/src/main/java/com/atguigu/vod/VodApplication.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.vod; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration; 6 | import org.springframework.cloud.client.discovery.EnableDiscoveryClient; 7 | import org.springframework.context.annotation.ComponentScan; 8 | 9 | 10 | @SpringBootApplication(exclude = DataSourceAutoConfiguration.class) 11 | @EnableDiscoveryClient//注册进nacos 12 | @ComponentScan(basePackages = {"com.atguigu"}) 13 | public class VodApplication { 14 | public static void main(String[] args) { 15 | SpringApplication.run(VodApplication.class, args); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /service/service_statistics/src/main/java/com/atguigu/staservice/schedule/Schedule.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.staservice.schedule; 2 | 3 | import com.atguigu.staservice.service.StatisticsDailyService; 4 | import com.atguigu.staservice.utils.DateUtil; 5 | import org.springframework.beans.factory.annotation.Autowired; 6 | import org.springframework.scheduling.annotation.Scheduled; 7 | import org.springframework.stereotype.Component; 8 | 9 | import java.util.Date; 10 | 11 | @Component 12 | public class Schedule { 13 | @Autowired 14 | private StatisticsDailyService statisticsDailyService; 15 | 16 | //每天的凌晨一点查询前一天的记录 17 | @Scheduled(cron = "0 0 1 * * ?") 18 | public void task() { 19 | statisticsDailyService.registerCount(DateUtil.formatDate(DateUtil.addDays(new Date(), -1))); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /service/service_vod/src/main/java/com/atguigu/vod/utils/ConstantPropertiesUtils.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.vod.utils; 2 | 3 | import org.springframework.beans.factory.InitializingBean; 4 | import org.springframework.beans.factory.annotation.Value; 5 | import org.springframework.stereotype.Component; 6 | 7 | @Component 8 | public class ConstantPropertiesUtils implements InitializingBean { 9 | 10 | @Value("${aliyun.vod.file.keyid}") 11 | private String keyId; 12 | 13 | @Value("${aliyun.vod.file.keysecret}") 14 | private String keySecret; 15 | 16 | 17 | public static String ACCESS_KEY_ID; 18 | public static String ACCESS_KEY_SECRET; 19 | 20 | @Override 21 | public void afterPropertiesSet() { 22 | ACCESS_KEY_ID = keyId; 23 | ACCESS_KEY_SECRET = keySecret; 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /common/common_utils/src/main/java/com/atguigu/commonutils/ResponseUtil.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.commonutils; 2 | 3 | import com.fasterxml.jackson.databind.ObjectMapper; 4 | import org.springframework.http.HttpStatus; 5 | import org.springframework.http.MediaType; 6 | 7 | import javax.servlet.http.HttpServletResponse; 8 | import java.io.IOException; 9 | 10 | public class ResponseUtil { 11 | 12 | public static void out(HttpServletResponse response, R r) { 13 | ObjectMapper mapper = new ObjectMapper(); 14 | response.setStatus(HttpStatus.OK.value()); 15 | response.setContentType(MediaType.APPLICATION_JSON_UTF8_VALUE); 16 | try { 17 | mapper.writeValue(response.getWriter(), r); 18 | } catch (IOException e) { 19 | e.printStackTrace(); 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /service/service_order/src/main/java/com/atguigu/eduorder/utils/OrderNoUtil.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.eduorder.utils; 2 | 3 | import java.text.SimpleDateFormat; 4 | import java.util.Date; 5 | import java.util.Random; 6 | 7 | /** 8 | * 订单号工具类 9 | * 10 | * @author qy 11 | * @since 1.0 12 | */ 13 | public class OrderNoUtil { 14 | 15 | /** 16 | * 获取订单号 17 | * 18 | * @return 19 | */ 20 | public static String getOrderNo() { 21 | SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMddHHmmss"); 22 | String newDate = sdf.format(new Date()); 23 | StringBuilder result = new StringBuilder(); 24 | Random random = new Random(); 25 | for (int i = 0; i < 3; i++) { 26 | result.append(random.nextInt(10)); 27 | } 28 | return newDate + result; 29 | } 30 | 31 | } 32 | -------------------------------------------------------------------------------- /service/service_edu/src/main/java/com/atguigu/eduservice/entity/frontvo/CourseFrontVo.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.eduservice.entity.frontvo; 2 | 3 | import io.swagger.annotations.ApiModelProperty; 4 | import lombok.Data; 5 | 6 | @Data 7 | public class CourseFrontVo { 8 | @ApiModelProperty(value = "课程名称") 9 | private String title; 10 | 11 | @ApiModelProperty(value = "讲师id") 12 | private String teacherId; 13 | 14 | @ApiModelProperty(value = "一级类别id") 15 | private String subjectParentId; 16 | 17 | @ApiModelProperty(value = "二级类别id") 18 | private String subjectId; 19 | 20 | @ApiModelProperty(value = "销量排序") 21 | private String buyCountSort; 22 | 23 | @ApiModelProperty(value = "最新时间排序") 24 | private String gmtCreateSort; 25 | 26 | @ApiModelProperty(value = "价格排序") 27 | private String priceSort; 28 | } 29 | -------------------------------------------------------------------------------- /infrastructure/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | guli_parent 7 | com.atguigu 8 | 0.0.1-SNAPSHOT 9 | 10 | 4.0.0 11 | 12 | infrastructure 13 | pom 14 | 15 | api_gateway 16 | 17 | 18 | 19 | 8 20 | 8 21 | 22 | 23 | -------------------------------------------------------------------------------- /service/service_edu/src/test/java/EasyExcelListener.java: -------------------------------------------------------------------------------- 1 | import com.alibaba.excel.context.AnalysisContext; 2 | import com.alibaba.excel.event.AnalysisEventListener; 3 | import com.alibaba.excel.metadata.CellData; 4 | import com.alibaba.excel.util.ConverterUtils; 5 | import excel.DemoData; 6 | 7 | import java.util.Map; 8 | 9 | public class EasyExcelListener extends AnalysisEventListener 10 | { 11 | @Override 12 | public void invoke(DemoData demoData, AnalysisContext analysisContext) 13 | { 14 | System.out.println("**********"+demoData); 15 | } 16 | 17 | @Override 18 | public void invokeHead(Map headMap, AnalysisContext context) { 19 | System.out.println(headMap); 20 | } 21 | @Override 22 | public void doAfterAllAnalysed(AnalysisContext analysisContext) 23 | { 24 | 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /service/service_oss/src/main/java/com/atguigu/oss/controller/OssController.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.oss.controller; 2 | 3 | import com.atguigu.commonutils.R; 4 | import com.atguigu.oss.service.OssService; 5 | import org.springframework.web.bind.annotation.PostMapping; 6 | import org.springframework.web.bind.annotation.RequestMapping; 7 | import org.springframework.web.bind.annotation.RestController; 8 | import org.springframework.web.multipart.MultipartFile; 9 | 10 | import javax.annotation.Resource; 11 | 12 | @RestController 13 | @RequestMapping("eduoss/fileoss") 14 | //@CrossOrigin 15 | public class OssController { 16 | @Resource 17 | private OssService ossService; 18 | 19 | @PostMapping 20 | public R uploadOssFile(MultipartFile file) { 21 | String url = ossService.uploadOssFile(file); 22 | return R.ok().data("url", url); 23 | } 24 | 25 | } 26 | -------------------------------------------------------------------------------- /service/service_edu/src/main/java/com/atguigu/eduservice/service/EduCommentService.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.eduservice.service; 2 | 3 | import com.atguigu.commonutils.R; 4 | import com.atguigu.eduservice.entity.EduComment; 5 | import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; 6 | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; 7 | import com.baomidou.mybatisplus.extension.service.IService; 8 | 9 | import javax.servlet.http.HttpServletRequest; 10 | import java.util.Map; 11 | 12 | /** 13 | *

14 | * 评论 服务类 15 | *

16 | * 17 | * @author zzyt 18 | * @since 2021-08-17 19 | */ 20 | public interface EduCommentService extends IService { 21 | 22 | 23 | Map getCommentPage(Page page, QueryWrapper wrapper); 24 | 25 | R saveComment(EduComment comment, HttpServletRequest request); 26 | } 27 | -------------------------------------------------------------------------------- /service/service_order/src/main/java/com/atguigu/eduorder/OrderApplication.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.eduorder; 2 | 3 | import org.mybatis.spring.annotation.MapperScan; 4 | import org.springframework.boot.SpringApplication; 5 | import org.springframework.boot.autoconfigure.SpringBootApplication; 6 | import org.springframework.cloud.client.discovery.EnableDiscoveryClient; 7 | import org.springframework.cloud.openfeign.EnableFeignClients; 8 | import org.springframework.context.annotation.ComponentScan; 9 | 10 | @SpringBootApplication 11 | @EnableFeignClients 12 | @ComponentScan(basePackages = {"com.atguigu"}) 13 | @MapperScan("com.atguigu.eduorder.mapper") //因为要用到mapper 所以需要扫描 14 | @EnableDiscoveryClient //要用到nacos 所以必须要填 15 | public class OrderApplication { 16 | public static void main(String[] args) { 17 | SpringApplication.run(OrderApplication.class, args); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /service/service_edu/src/main/java/com/atguigu/eduservice/client/VodClient.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.eduservice.client; 2 | 3 | import com.atguigu.commonutils.R; 4 | import org.springframework.cloud.openfeign.FeignClient; 5 | import org.springframework.stereotype.Component; 6 | import org.springframework.web.bind.annotation.DeleteMapping; 7 | import org.springframework.web.bind.annotation.PathVariable; 8 | import org.springframework.web.bind.annotation.RequestParam; 9 | 10 | import java.util.List; 11 | 12 | @FeignClient(name = "service-vod", fallback = VodFileDegradeFeignClient.class) 13 | @Component 14 | public interface VodClient { 15 | @DeleteMapping("eduvod/video/removeAlyVideo/{id}") 16 | R removeAlyVideo(@PathVariable("id") String id); 17 | 18 | @DeleteMapping("eduvod/video/delete-batch") 19 | R deleteBatch(@RequestParam("videoIdList") List videoIdList); 20 | } 21 | -------------------------------------------------------------------------------- /canal_clientedu/src/main/java/com/atguigu/canal/CanalApplication.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.canal; 2 | 3 | import com.atguigu.canal.client.CanalClient; 4 | import org.springframework.boot.CommandLineRunner; 5 | import org.springframework.boot.SpringApplication; 6 | import org.springframework.boot.autoconfigure.SpringBootApplication; 7 | 8 | import javax.annotation.Resource; 9 | 10 | @SpringBootApplication 11 | public class CanalApplication implements CommandLineRunner { 12 | 13 | 14 | // 这个没用 之前 主从复制弄过了 这里面应该是有点小bug之后有时间 再继续 15 | 16 | 17 | @Resource 18 | private CanalClient canalClient; 19 | 20 | public static void main(String[] args) { 21 | SpringApplication.run(CanalApplication.class, args); 22 | } 23 | 24 | @Override 25 | public void run(String... args) throws Exception { 26 | //项目启动,执行canal客户端监听 27 | canalClient.run(); 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /common/service_base/src/main/java/com/atguigu/servicebase/handler/MyMetaObjectHandler.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.servicebase.handler; 2 | 3 | import com.baomidou.mybatisplus.core.handlers.MetaObjectHandler; 4 | import org.apache.ibatis.reflection.MetaObject; 5 | import org.springframework.stereotype.Component; 6 | 7 | import java.util.Date; 8 | 9 | @Component 10 | public class MyMetaObjectHandler implements MetaObjectHandler { 11 | @Override 12 | public void insertFill(MetaObject metaObject) { 13 | this.setFieldValByName("gmtCreate", new Date(), metaObject); 14 | this.setFieldValByName("gmtModified", new Date(), metaObject); 15 | this.setFieldValByName("isDeleted", false, metaObject); 16 | } 17 | 18 | @Override 19 | public void updateFill(MetaObject metaObject) { 20 | this.setFieldValByName("gmtModified", new Date(), metaObject); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /service/service_acl/src/main/java/com/atguigu/aclservice/service/impl/UserServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.aclservice.service.impl; 2 | 3 | import com.atguigu.aclservice.entity.User; 4 | import com.atguigu.aclservice.mapper.UserMapper; 5 | import com.atguigu.aclservice.service.UserService; 6 | import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; 7 | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; 8 | import org.springframework.stereotype.Service; 9 | 10 | /** 11 | *

12 | * 用户表 服务实现类 13 | *

14 | * 15 | * @author testjava 16 | * @since 2020-01-12 17 | */ 18 | @Service 19 | public class UserServiceImpl extends ServiceImpl implements UserService { 20 | 21 | @Override 22 | public User selectByUsername(String username) { 23 | return baseMapper.selectOne(new QueryWrapper().eq("username", username)); 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /service/service_edu/src/main/java/com/atguigu/eduservice/config/eduConfig.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.eduservice.config; 2 | 3 | import com.baomidou.mybatisplus.core.injector.ISqlInjector; 4 | import com.baomidou.mybatisplus.extension.injector.LogicSqlInjector; 5 | import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor; 6 | import org.mybatis.spring.annotation.MapperScan; 7 | import org.springframework.context.annotation.Bean; 8 | import org.springframework.context.annotation.Configuration; 9 | 10 | @Configuration 11 | @MapperScan("com.atguigu.eduservice.mapper") 12 | public class eduConfig { 13 | 14 | 15 | //实现逻辑删除的插件 16 | @Bean 17 | public ISqlInjector sqlInjector() { 18 | return new LogicSqlInjector(); 19 | } 20 | 21 | //分页的插件 22 | @Bean 23 | public PaginationInterceptor paginationInterceptor() { 24 | return new PaginationInterceptor(); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /service/service_statistics/src/main/java/com/atguigu/staservice/StaApplication.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.staservice; 2 | 3 | import org.mybatis.spring.annotation.MapperScan; 4 | import org.springframework.boot.SpringApplication; 5 | import org.springframework.boot.autoconfigure.SpringBootApplication; 6 | import org.springframework.cloud.client.discovery.EnableDiscoveryClient; 7 | import org.springframework.cloud.openfeign.EnableFeignClients; 8 | import org.springframework.context.annotation.ComponentScan; 9 | import org.springframework.scheduling.annotation.EnableScheduling; 10 | 11 | @SpringBootApplication 12 | @ComponentScan("com.atguigu") 13 | @MapperScan("com.atguigu.staservice.mapper") 14 | @EnableDiscoveryClient 15 | @EnableFeignClients 16 | @EnableScheduling //定时任务 进行对数据的查询 17 | public class StaApplication { 18 | public static void main(String[] args) { 19 | SpringApplication.run(StaApplication.class, args); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /service/service_edu/src/main/java/com/atguigu/eduservice/controller/EduLoginController.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.eduservice.controller; 2 | 3 | import com.atguigu.commonutils.R; 4 | import org.springframework.web.bind.annotation.GetMapping; 5 | import org.springframework.web.bind.annotation.PostMapping; 6 | import org.springframework.web.bind.annotation.RequestMapping; 7 | import org.springframework.web.bind.annotation.RestController; 8 | 9 | @RestController 10 | @RequestMapping("/eduservice/user") 11 | //@CrossOrigin//避免跨域问题的注解 不用跨域了 因为在gateway中帮你跨域了 如果再跨域就会报错 12 | public class EduLoginController { 13 | @PostMapping("login") 14 | public R login() { 15 | return R.ok().data("token", "admin"); 16 | } 17 | 18 | @GetMapping("info") 19 | public R info() { 20 | return R.ok().data("roles", "[admin]").data("name", "admin").data("avatar", "https://wx3.sinaimg.cn/mw690/0076Fpdqly1gs56iq82nyj30g10q975o.jpg"); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /service/service_order/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | # 服务端口 2 | server.port=8007 3 | # 服务名 4 | spring.application.name=service-order 5 | # mysql数据库连接 6 | spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver 7 | spring.datasource.url=jdbc:mysql://localhost:3306/guli?serverTimezone=GMT%2B8&useUnicoding=true&characterEncoding=utf-8 8 | spring.datasource.username=root 9 | spring.datasource.password=root 10 | #返回json的全局时间格式 11 | spring.jackson.date-format=yyyy-MM-dd HH:mm:ss 12 | spring.jackson.time-zone=GMT+8 13 | #配置mapper xml文件的路径 14 | mybatis-plus.mapper-locations=classpath:com/atguigu/eduorder/mapper/xml/*.xml 15 | #mybatis日志 16 | mybatis-plus.configuration.log-impl=org.apache.ibatis.logging.stdout.StdOutImpl 17 | # nacos服务地址 18 | spring.cloud.nacos.discovery.server-addr=127.0.0.1:8848 19 | #开启熔断机制 20 | feign.hystrix.enabled=true 21 | # 设置hystrix超时时间,默认1000ms 22 | hystrix.command.default.execution.isolation.thread.timeoutInMilliseconds=3000 -------------------------------------------------------------------------------- /service/service_order/target/classes/application.properties: -------------------------------------------------------------------------------- 1 | # 服务端口 2 | server.port=8007 3 | # 服务名 4 | spring.application.name=service-order 5 | # mysql数据库连接 6 | spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver 7 | spring.datasource.url=jdbc:mysql://121.43.39.136:3306/guli?serverTimezone=GMT%2B8&useUnicoding=true&characterEncoding=utf-8 8 | spring.datasource.username=root 9 | spring.datasource.password=root 10 | #返回json的全局时间格式 11 | spring.jackson.date-format=yyyy-MM-dd HH:mm:ss 12 | spring.jackson.time-zone=GMT+8 13 | #配置mapper xml文件的路径 14 | mybatis-plus.mapper-locations=classpath:com/atguigu/eduorder/mapper/xml/*.xml 15 | #mybatis日志 16 | mybatis-plus.configuration.log-impl=org.apache.ibatis.logging.stdout.StdOutImpl 17 | # nacos服务地址 18 | spring.cloud.nacos.discovery.server-addr=127.0.0.1:8848 19 | #开启熔断机制 20 | feign.hystrix.enabled=true 21 | # 设置hystrix超时时间,默认1000ms 22 | hystrix.command.default.execution.isolation.thread.timeoutInMilliseconds=3000 -------------------------------------------------------------------------------- /common/common_utils/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | common 7 | com.atguigu 8 | 0.0.1-SNAPSHOT 9 | 10 | 4.0.0 11 | 12 | common_utils 13 | 14 | 15 | 8 16 | 8 17 | 18 | 19 | 20 | 21 | io.jsonwebtoken 22 | jjwt 23 | 24 | 25 | -------------------------------------------------------------------------------- /common/spring_security/src/main/java/com/atguigu/serurity/entity/User.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.serurity.entity; 2 | 3 | import io.swagger.annotations.ApiModel; 4 | import io.swagger.annotations.ApiModelProperty; 5 | import lombok.Data; 6 | 7 | import java.io.Serializable; 8 | 9 | /** 10 | *

11 | * 用户实体类 12 | *

13 | * 14 | * @author qy 15 | * @since 2019-11-08 16 | */ 17 | @Data 18 | @ApiModel(description = "用户实体类") 19 | public class User implements Serializable { 20 | 21 | private static final long serialVersionUID = 1L; 22 | 23 | @ApiModelProperty(value = "微信openid") 24 | private String username; 25 | 26 | @ApiModelProperty(value = "密码") 27 | private String password; 28 | 29 | @ApiModelProperty(value = "昵称") 30 | private String nickName; 31 | 32 | @ApiModelProperty(value = "用户头像") 33 | private String salt; 34 | 35 | @ApiModelProperty(value = "用户签名") 36 | private String token; 37 | 38 | } 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /service/service_statistics/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | service 7 | com.atguigu 8 | 0.0.1-SNAPSHOT 9 | 10 | 4.0.0 11 | 12 | service_statistics 13 | 14 | 15 | 8 16 | 8 17 | 18 | 19 | org.springframework.cloud 20 | spring-cloud-starter-alibaba-nacos-config 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /service/service_ucenter/src/main/java/com/atguigu/educenter/utils/ConstantWxUtils.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.educenter.utils; 2 | 3 | import org.springframework.beans.factory.InitializingBean; 4 | import org.springframework.beans.factory.annotation.Value; 5 | import org.springframework.stereotype.Component; 6 | 7 | @Component 8 | public class ConstantWxUtils implements InitializingBean { 9 | @Value("${wx.open.app_id}") 10 | private String appId; 11 | 12 | @Value("${wx.open.app_secret}") 13 | private String appSecret; 14 | 15 | @Value("${wx.open.redirect_url}") 16 | private String redirectUrl; 17 | 18 | public static String WX_OPEN_APP_ID; 19 | public static String WX_OPEN_APP_SECRET; 20 | public static String WX_OPEN_REDIRECT_URL; 21 | 22 | @Override 23 | public void afterPropertiesSet() { 24 | WX_OPEN_APP_ID = appId; 25 | WX_OPEN_APP_SECRET = appSecret; 26 | WX_OPEN_REDIRECT_URL = redirectUrl; 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /common/service_base/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | common 7 | com.atguigu 8 | 0.0.1-SNAPSHOT 9 | 10 | 4.0.0 11 | 12 | service_base 13 | 14 | 15 | 8 16 | 8 17 | 18 | 19 | 20 | 21 | com.atguigu 22 | common_utils 23 | 0.0.1-SNAPSHOT 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /service/service_statistics/target/classes/application.properties: -------------------------------------------------------------------------------- 1 | ## 服务端口 2 | #server.port=8008 3 | ## 服务名 4 | #spring.application.name=service-statistics 5 | # 6 | ## mysql数据库连接 7 | #spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver 8 | #spring.datasource.url=jdbc:mysql://localhost:3306/guli?serverTimezone=GMT%2B8&useUnicoding=true&characterEncoding=utf-8 9 | #spring.datasource.username=root 10 | #spring.datasource.password=root 11 | # 12 | ##返回json的全局时间格式 13 | #spring.jackson.date-format=yyyy-MM-dd HH:mm:ss 14 | #spring.jackson.time-zone=GMT+8 15 | # 16 | ##配置mapper xml文件的路径 17 | #mybatis-plus.mapper-locations=classpath:com/atguigu/staservice/mapper/xml/*.xml 18 | # 19 | ##mybatis日志 20 | #mybatis-plus.configuration.log-impl=org.apache.ibatis.logging.stdout.StdOutImpl 21 | # 22 | ## nacos服务地址 23 | #spring.cloud.nacos.discovery.server-addr=127.0.0.1:8848 24 | # 25 | ##开启熔断机制 26 | #feign.hystrix.enabled=true 27 | ## 设置hystrix超时时间,默认1000ms 28 | #hystrix.command.default.execution.isolation.thread.timeoutInMilliseconds=3000 -------------------------------------------------------------------------------- /service/service_statistics/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | ## 服务端口 2 | #server.port=8008 3 | ## 服务名 4 | #spring.application.name=service-statistics 5 | # 6 | ## mysql数据库连接 7 | #spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver 8 | #spring.datasource.url=jdbc:mysql://localhost:3306/guli?serverTimezone=GMT%2B8&useUnicoding=true&characterEncoding=utf-8 9 | #spring.datasource.username=root 10 | #spring.datasource.password=root 11 | # 12 | ##返回json的全局时间格式 13 | #spring.jackson.date-format=yyyy-MM-dd HH:mm:ss 14 | #spring.jackson.time-zone=GMT+8 15 | # 16 | ##配置mapper xml文件的路径 17 | #mybatis-plus.mapper-locations=classpath:com/atguigu/staservice/mapper/xml/*.xml 18 | # 19 | ##mybatis日志 20 | #mybatis-plus.configuration.log-impl=org.apache.ibatis.logging.stdout.StdOutImpl 21 | # 22 | ## nacos服务地址 23 | #spring.cloud.nacos.discovery.server-addr=127.0.0.1:8848 24 | # 25 | ##开启熔断机制 26 | #feign.hystrix.enabled=true 27 | ## 设置hystrix超时时间,默认1000ms 28 | #hystrix.command.default.execution.isolation.thread.timeoutInMilliseconds=3000 -------------------------------------------------------------------------------- /common/spring_security/src/main/java/com/atguigu/serurity/security/UnauthorizedEntryPoint.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.serurity.security; 2 | 3 | import com.atguigu.commonutils.R; 4 | import com.atguigu.commonutils.ResponseUtil; 5 | import org.springframework.security.core.AuthenticationException; 6 | import org.springframework.security.web.AuthenticationEntryPoint; 7 | 8 | import javax.servlet.ServletException; 9 | import javax.servlet.http.HttpServletRequest; 10 | import javax.servlet.http.HttpServletResponse; 11 | import java.io.IOException; 12 | 13 | /** 14 | *

15 | * 未授权的统一处理方式 16 | *

17 | * 18 | * @author qy 19 | * @since 2019-11-08 20 | */ 21 | public class UnauthorizedEntryPoint implements AuthenticationEntryPoint { 22 | 23 | @Override 24 | public void commence(HttpServletRequest request, HttpServletResponse response, 25 | AuthenticationException authException) throws IOException, ServletException { 26 | 27 | ResponseUtil.out(response, R.error()); 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /service/service_edu/src/main/java/com/atguigu/eduservice/entity/vo/CourseInfo.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.eduservice.entity.vo; 2 | 3 | import io.swagger.annotations.ApiModelProperty; 4 | import lombok.Data; 5 | 6 | import java.math.BigDecimal; 7 | 8 | @Data 9 | public class CourseInfo { 10 | @ApiModelProperty(value = "课程ID") 11 | private String id; 12 | 13 | @ApiModelProperty(value = "课程讲师ID") 14 | private String teacherId; 15 | 16 | @ApiModelProperty(value = "课程专业ID") 17 | private String subjectId; 18 | 19 | @ApiModelProperty(value = "课程父ID") 20 | private String subjectParentId; 21 | 22 | @ApiModelProperty(value = "课程标题") 23 | private String title; 24 | 25 | @ApiModelProperty(value = "课程销售价格,设置为0则可免费观看") 26 | private BigDecimal price; 27 | 28 | @ApiModelProperty(value = "总课时") 29 | private Integer lessonNum; 30 | 31 | @ApiModelProperty(value = "课程封面图片路径") 32 | private String cover; 33 | 34 | @ApiModelProperty(value = "课程简介") 35 | private String description; 36 | } 37 | -------------------------------------------------------------------------------- /common/spring_security/src/main/java/com/atguigu/serurity/security/DefaultPasswordEncoder.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.serurity.security; 2 | 3 | import com.atguigu.commonutils.MD5; 4 | import org.springframework.security.crypto.password.PasswordEncoder; 5 | import org.springframework.stereotype.Component; 6 | 7 | /** 8 | *

9 | * t密码的处理方法类型 10 | *

11 | * 12 | * @author qy 13 | * @since 2019-11-08 14 | */ 15 | @Component 16 | public class DefaultPasswordEncoder implements PasswordEncoder { 17 | 18 | public DefaultPasswordEncoder() { 19 | this(-1); 20 | } 21 | 22 | /** 23 | * @param strength the log rounds to use, between 4 and 31 24 | */ 25 | public DefaultPasswordEncoder(int strength) { 26 | 27 | } 28 | 29 | public String encode(CharSequence rawPassword) { 30 | return MD5.encrypt(rawPassword.toString()); 31 | } 32 | 33 | public boolean matches(CharSequence rawPassword, String encodedPassword) { 34 | return encodedPassword.equals(MD5.encrypt(rawPassword.toString())); 35 | } 36 | } -------------------------------------------------------------------------------- /common/common_utils/src/main/java/com/atguigu/commonutils/MD5.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.commonutils; 2 | 3 | import java.security.MessageDigest; 4 | 5 | public class MD5 { 6 | public static String encrypt(String s) { 7 | char[] hexDigits = {'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f'}; 8 | 9 | try { 10 | byte[] btInput = s.getBytes(); 11 | 12 | MessageDigest mdInst = MessageDigest.getInstance("MD5"); 13 | mdInst.update(btInput); 14 | byte[] md = mdInst.digest(); 15 | int j = md.length; 16 | char[] str = new char[j * 2]; 17 | int k = 0; 18 | for (int i = 0; i < j; i++) { 19 | byte byte0 = md[i]; 20 | str[k++] = hexDigits[byte0 >>> 4 & 0xf]; 21 | str[k++] = hexDigits[byte0 & 0xf]; 22 | } 23 | return new String(str); 24 | } catch (Exception e) { 25 | e.printStackTrace(); 26 | return null; 27 | } 28 | 29 | } 30 | } -------------------------------------------------------------------------------- /service/service_edu/src/test/java/TestEasyExcel.java: -------------------------------------------------------------------------------- 1 | import com.alibaba.excel.EasyExcel; 2 | import excel.DemoData; 3 | import org.junit.Test; 4 | 5 | import java.util.ArrayList; 6 | import java.util.List; 7 | 8 | 9 | public class TestEasyExcel 10 | { 11 | @Test 12 | public static void main(String[] args) 13 | { 14 | //easyexcel写入操作 15 | //String fileName = "E:\\easyExcel.xlsx"; 16 | //EasyExcel.write(fileName, DemoData.class).sheet("学生列表").doWrite(data()); 17 | 18 | //easyexcel读取操作 读取第一个sheet之后会自动关闭 19 | String fileName = "E:/easyExcel.xlsx"; 20 | EasyExcel.read(fileName,DemoData.class,new EasyExcelListener()).sheet("学生列表").doRead(); 21 | } 22 | 23 | private static List data() 24 | { 25 | List list = new ArrayList<>(); 26 | 27 | for (int i = 0; i < 10; i++) 28 | { 29 | DemoData stu = new DemoData(); 30 | stu.setStuNo(i); 31 | stu.setStuName("陈书田"+i); 32 | list.add(stu); 33 | } 34 | return list; 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /service/service_acl/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | # 服务端口 2 | server.port=8009 3 | # 服务名 4 | spring.application.name=service-acl 5 | # mysql数据库连接 6 | spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver 7 | spring.datasource.url=jdbc:mysql://localhost:3306/guli?serverTimezone=GMT%2B8&useUnicoding=true&characterEncoding=utf-8 8 | spring.datasource.username=root 9 | spring.datasource.password=root 10 | #返回json的全局时间格式 11 | spring.jackson.date-format=yyyy-MM-dd HH:mm:ss 12 | spring.jackson.time-zone=GMT+8 13 | spring.redis.host=127.0.0.1 14 | spring.redis.port=6379 15 | spring.redis.database=0 16 | spring.redis.timeout=1800000 17 | spring.redis.lettuce.pool.max-active=20 18 | spring.redis.lettuce.pool.max-wait=-1 19 | #最大阻塞等待时间(负数表示没限制) 20 | spring.redis.lettuce.pool.max-idle=5 21 | spring.redis.lettuce.pool.min-idle=0 22 | #最小空闲 23 | #配置mapper xml文件的路径 24 | mybatis-plus.mapper-locations=classpath:com/atguigu/aclservice/mapper/xml/*.xml 25 | #指定注册中心地址 26 | spring.cloud.nacos.discovery.server-addr=127.0.0.1:8848 27 | #mybatis日志 28 | mybatis-plus.configuration.log-impl=org.apache.ibatis.logging.stdout.StdOutImpl -------------------------------------------------------------------------------- /service/service_cms/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | # 服务端口 2 | server.port=8004 3 | # 服务名 4 | spring.application.name=service-cms 5 | # mysql数据库连接 6 | spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver 7 | spring.datasource.url=jdbc:mysql://localhost:3306/guli?serverTimezone=GMT%2B8&useUnicoding=true&characterEncoding=utf-8 8 | spring.datasource.username=root 9 | spring.datasource.password=root 10 | #返回json的全局时间格式 11 | spring.jackson.date-format=yyyy-MM-dd HH:mm:ss 12 | spring.jackson.time-zone=GMT+8 13 | #配置mapper xml文件的路径 14 | mybatis-plus.mapper-locations=classpath:com/atguigu/educms/mapper/xml/*.xml 15 | # nacos服务地址 16 | spring.cloud.nacos.discovery.server-addr=127.0.0.1:8848 17 | #mybatis日志 18 | mybatis-plus.configuration.log-impl=org.apache.ibatis.logging.stdout.StdOutImpl 19 | #虚拟机的地址 20 | spring.redis.host=127.0.0.1 21 | spring.redis.port=6379 22 | spring.redis.database=0 23 | spring.redis.timeout=1800000 24 | spring.redis.lettuce.pool.max-active=20 25 | spring.redis.lettuce.pool.max-wait=-1 26 | #最大阻塞等待时间(负数表示没限制) 27 | spring.redis.lettuce.pool.max-idle=5 28 | spring.redis.lettuce.pool.min-idle=0 -------------------------------------------------------------------------------- /service/service_cms/target/classes/application.properties: -------------------------------------------------------------------------------- 1 | # 服务端口 2 | server.port=8004 3 | # 服务名 4 | spring.application.name=service-cms 5 | # mysql数据库连接 6 | spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver 7 | spring.datasource.url=jdbc:mysql://121.43.39.136:3306/guli?serverTimezone=GMT%2B8&useUnicoding=true&characterEncoding=utf-8 8 | spring.datasource.username=root 9 | spring.datasource.password=root 10 | #返回json的全局时间格式 11 | spring.jackson.date-format=yyyy-MM-dd HH:mm:ss 12 | spring.jackson.time-zone=GMT+8 13 | #配置mapper xml文件的路径 14 | mybatis-plus.mapper-locations=classpath:com/atguigu/educms/mapper/xml/*.xml 15 | # nacos服务地址 16 | spring.cloud.nacos.discovery.server-addr=127.0.0.1:8848 17 | #mybatis日志 18 | mybatis-plus.configuration.log-impl=org.apache.ibatis.logging.stdout.StdOutImpl 19 | #虚拟机的地址 20 | spring.redis.host=127.0.0.1 21 | spring.redis.port=6379 22 | spring.redis.database=0 23 | spring.redis.timeout=1800000 24 | spring.redis.lettuce.pool.max-active=20 25 | spring.redis.lettuce.pool.max-wait=-1 26 | #最大阻塞等待时间(负数表示没限制) 27 | spring.redis.lettuce.pool.max-idle=5 28 | spring.redis.lettuce.pool.min-idle=0 -------------------------------------------------------------------------------- /service/service_msm/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | # 服务端口 2 | server.port=8005 3 | # 服务名 4 | spring.application.name=service-msm 5 | # nacos服务地址 6 | spring.cloud.nacos.discovery.server-addr=127.0.0.1:8848 7 | # mysql数据库连接 8 | spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver 9 | spring.datasource.url=jdbc:mysql://localhost:3306/guli?serverTimezone=GMT%2B8&useUnicoding=true&characterEncoding=utf-8 10 | spring.datasource.username=root 11 | spring.datasource.password=root 12 | spring.redis.host=127.0.0.1 13 | spring.redis.port=6379 14 | spring.redis.database=0 15 | spring.redis.timeout=1800000 16 | spring.redis.lettuce.pool.max-active=20 17 | spring.redis.lettuce.pool.max-wait=-1 18 | #最大阻塞等待时间(负数表示没限制) 19 | spring.redis.lettuce.pool.max-idle=5 20 | spring.redis.lettuce.pool.min-idle=0 21 | #最小空闲 22 | #返回json的全局时间格式 23 | spring.jackson.date-format=yyyy-MM-dd HH:mm:ss 24 | spring.jackson.time-zone=GMT+8 25 | #配置mapper xml文件的路径 26 | mybatis-plus.mapper-locations=classpath:com/atguigu/msmservice/mapper/xml/*.xml 27 | #mybatis日志 28 | mybatis-plus.configuration.log-impl=org.apache.ibatis.logging.stdout.StdOutImpl -------------------------------------------------------------------------------- /service/service_msm/target/classes/application.properties: -------------------------------------------------------------------------------- 1 | # 服务端口 2 | server.port=8005 3 | # 服务名 4 | spring.application.name=service-msm 5 | # nacos服务地址 6 | spring.cloud.nacos.discovery.server-addr=127.0.0.1:8848 7 | # mysql数据库连接 8 | spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver 9 | spring.datasource.url=jdbc:mysql://121.43.39.136:3306/guli?serverTimezone=GMT%2B8&useUnicoding=true&characterEncoding=utf-8 10 | spring.datasource.username=root 11 | spring.datasource.password=root 12 | spring.redis.host=127.0.0.1 13 | spring.redis.port=6379 14 | spring.redis.database=0 15 | spring.redis.timeout=1800000 16 | spring.redis.lettuce.pool.max-active=20 17 | spring.redis.lettuce.pool.max-wait=-1 18 | #最大阻塞等待时间(负数表示没限制) 19 | spring.redis.lettuce.pool.max-idle=5 20 | spring.redis.lettuce.pool.min-idle=0 21 | #最小空闲 22 | #返回json的全局时间格式 23 | spring.jackson.date-format=yyyy-MM-dd HH:mm:ss 24 | spring.jackson.time-zone=GMT+8 25 | #配置mapper xml文件的路径 26 | mybatis-plus.mapper-locations=classpath:com/atguigu/msmservice/mapper/xml/*.xml 27 | #mybatis日志 28 | mybatis-plus.configuration.log-impl=org.apache.ibatis.logging.stdout.StdOutImpl -------------------------------------------------------------------------------- /service/service_oss/src/main/java/com/atguigu/oss/utils/ConstantPropertiesUtils.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.oss.utils; 2 | 3 | import org.springframework.beans.factory.InitializingBean; 4 | import org.springframework.beans.factory.annotation.Value; 5 | import org.springframework.stereotype.Component; 6 | 7 | @Component 8 | public class ConstantPropertiesUtils implements InitializingBean { 9 | @Value("${aliyun.oss.file.endpoint}") 10 | private String endPoint; 11 | 12 | @Value("${aliyun.oss.file.keyid}") 13 | private String keyId; 14 | 15 | @Value("${aliyun.oss.file.keysecret}") 16 | private String keySecret; 17 | 18 | @Value("${aliyun.oss.file.bucketname}") 19 | private String bucketName; 20 | 21 | public static String END_POINT; 22 | public static String ACCESS_KEY_ID; 23 | public static String ACCESS_KEY_SECRET; 24 | public static String BUCKET_NAME; 25 | 26 | @Override 27 | public void afterPropertiesSet() { 28 | END_POINT = endPoint; 29 | ACCESS_KEY_ID = keyId; 30 | ACCESS_KEY_SECRET = keySecret; 31 | BUCKET_NAME = bucketName; 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /service/service_order/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | service 7 | com.atguigu 8 | 0.0.1-SNAPSHOT 9 | 10 | 4.0.0 11 | 12 | service_order 13 | 14 | 15 | 8 16 | 8 17 | 18 | 19 | 20 | com.github.wxpay 21 | wxpay-sdk 22 | 0.0.3 23 | 24 | 25 | 26 | com.alibaba 27 | fastjson 28 | 29 | 30 | -------------------------------------------------------------------------------- /service/service_cms/src/main/java/com/atguigu/educms/controller/BannerFrontController.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.educms.controller; 2 | 3 | 4 | import com.atguigu.commonutils.R; 5 | import com.atguigu.educms.entity.CrmBanner; 6 | import com.atguigu.educms.service.CrmBannerService; 7 | import org.springframework.beans.factory.annotation.Autowired; 8 | import org.springframework.web.bind.annotation.GetMapping; 9 | import org.springframework.web.bind.annotation.RequestMapping; 10 | import org.springframework.web.bind.annotation.RestController; 11 | 12 | import java.util.List; 13 | 14 | /** 15 | *

16 | * 首页banner表 前端控制器 17 | *

18 | * 19 | * @author zzyt 20 | * @since 2021-08-13 21 | */ 22 | @RestController 23 | @RequestMapping("/educms/bannerfront") 24 | //@CrossOrigin 25 | public class BannerFrontController { 26 | @Autowired 27 | private CrmBannerService bannerService; 28 | 29 | //获取首页的海报图 相当于获取所有的banner 30 | @GetMapping("getAllBanner") 31 | public R getAllbanner() { 32 | List list = bannerService.getAllBanner(); 33 | return R.ok().data("bannerList", list); 34 | } 35 | 36 | } 37 | 38 | -------------------------------------------------------------------------------- /service/service_acl/target/classes/application.properties: -------------------------------------------------------------------------------- 1 | # 服务端口 2 | server.port=8009 3 | # 服务名 4 | spring.application.name=service-acl 5 | 6 | # mysql数据库连接 7 | spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver 8 | spring.datasource.url=jdbc:mysql://localhost:3306/guli?serverTimezone=GMT%2B8&useUnicoding=true&characterEncoding=utf-8 9 | spring.datasource.username=root 10 | spring.datasource.password=root 11 | 12 | #返回json的全局时间格式 13 | spring.jackson.date-format=yyyy-MM-dd HH:mm:ss 14 | spring.jackson.time-zone=GMT+8 15 | 16 | spring.redis.host=192.168.80.129 17 | spring.redis.port=6379 18 | spring.redis.database= 0 19 | spring.redis.timeout=1800000 20 | 21 | spring.redis.lettuce.pool.max-active=20 22 | spring.redis.lettuce.pool.max-wait=-1 23 | #最大阻塞等待时间(负数表示没限制) 24 | spring.redis.lettuce.pool.max-idle=5 25 | spring.redis.lettuce.pool.min-idle=0 26 | #最小空闲 27 | 28 | #配置mapper xml文件的路径 29 | mybatis-plus.mapper-locations=classpath:com/atguigu/aclservice/mapper/xml/*.xml 30 | 31 | #指定注册中心地址 32 | spring.cloud.nacos.discovery.server-addr=127.0.0.1:8848 33 | 34 | #mybatis日志 35 | mybatis-plus.configuration.log-impl=org.apache.ibatis.logging.stdout.StdOutImpl -------------------------------------------------------------------------------- /service/service_oss/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | service 7 | com.atguigu 8 | 0.0.1-SNAPSHOT 9 | 10 | 4.0.0 11 | 12 | service_oss 13 | 14 | 15 | 16 | 17 | 18 | com.aliyun.oss 19 | aliyun-sdk-oss 20 | 21 | 22 | 23 | 24 | joda-time 25 | joda-time 26 | 27 | 28 | 29 | 8 30 | 8 31 | 32 | 33 | -------------------------------------------------------------------------------- /common/service_base/src/main/java/com/atguigu/servicebase/handler/GlobalExceptionHandler.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.servicebase.handler; 2 | 3 | import com.atguigu.commonutils.R; 4 | import org.springframework.web.bind.annotation.ControllerAdvice; 5 | import org.springframework.web.bind.annotation.ExceptionHandler; 6 | import org.springframework.web.bind.annotation.ResponseBody; 7 | 8 | @ControllerAdvice 9 | public class GlobalExceptionHandler { 10 | @ExceptionHandler(Exception.class)//对controller生成的异常 进行捕获 返回其他视图 11 | @ResponseBody 12 | public R error(Exception exception) { 13 | exception.printStackTrace(); 14 | return R.error().message("出现全局错误"); 15 | } 16 | 17 | @ExceptionHandler(ArithmeticException.class) 18 | @ResponseBody 19 | public R error(ArithmeticException arithmeticException) { 20 | arithmeticException.printStackTrace(); 21 | return R.error().message("出现特定错误"); 22 | } 23 | 24 | @ExceptionHandler(GuliException.class) 25 | @ResponseBody 26 | public R error(GuliException guliException) { 27 | guliException.printStackTrace(); 28 | return R.error().message("出现了自定义错误"); 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /common/spring_security/src/main/java/com/atguigu/serurity/security/TokenManager.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.serurity.security; 2 | 3 | import io.jsonwebtoken.CompressionCodecs; 4 | import io.jsonwebtoken.Jwts; 5 | import io.jsonwebtoken.SignatureAlgorithm; 6 | import org.springframework.stereotype.Component; 7 | 8 | import java.util.Date; 9 | 10 | /** 11 | *

12 | * token管理 13 | *

14 | * 15 | * @author qy 16 | * @since 2019-11-08 17 | */ 18 | @Component 19 | public class TokenManager { 20 | 21 | private final String tokenSignKey = "123456"; 22 | 23 | public String createToken(String username) { 24 | long tokenExpiration = 24 * 60 * 60 * 1000; 25 | return Jwts.builder().setSubject(username) 26 | .setExpiration(new Date(System.currentTimeMillis() + tokenExpiration)) 27 | .signWith(SignatureAlgorithm.HS512, tokenSignKey).compressWith(CompressionCodecs.GZIP).compact(); 28 | } 29 | 30 | public String getUserFromToken(String token) { 31 | return Jwts.parser().setSigningKey(tokenSignKey).parseClaimsJws(token).getBody().getSubject(); 32 | } 33 | 34 | public void removeToken(String token) { 35 | //jwttoken无需删除,客户端扔掉即可。 36 | } 37 | 38 | } 39 | -------------------------------------------------------------------------------- /infrastructure/api_gateway/src/main/java/com/atguigu/gateway/config/CorsConfig.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.gateway.config; 2 | 3 | 4 | import org.springframework.context.annotation.Bean; 5 | import org.springframework.context.annotation.Configuration; 6 | import org.springframework.web.cors.CorsConfiguration; 7 | import org.springframework.web.cors.reactive.CorsWebFilter; 8 | import org.springframework.web.cors.reactive.UrlBasedCorsConfigurationSource; 9 | import org.springframework.web.util.pattern.PathPatternParser; 10 | 11 | /** 12 | * description: 13 | * 14 | * @author wangpeng 15 | * @date 2019/01/02 16 | */ 17 | 18 | 19 | //这个方法是解决跨域问题的 20 | @Configuration 21 | public class CorsConfig { 22 | @Bean 23 | public CorsWebFilter corsFilter() { 24 | CorsConfiguration config = new CorsConfiguration(); 25 | config.addAllowedMethod("*"); 26 | config.addAllowedOrigin("*"); 27 | config.addAllowedHeader("*"); 28 | 29 | UrlBasedCorsConfigurationSource source = new UrlBasedCorsConfigurationSource(new PathPatternParser()); 30 | source.registerCorsConfiguration("/**", config); 31 | 32 | return new CorsWebFilter(source); 33 | } 34 | } 35 | 36 | /*这个方法是用来解决跨域的 兄弟们*/ 37 | 38 | -------------------------------------------------------------------------------- /service/service_acl/src/main/java/com/atguigu/aclservice/service/PermissionService.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.aclservice.service; 2 | 3 | import com.alibaba.fastjson.JSONObject; 4 | import com.atguigu.aclservice.entity.Permission; 5 | import com.baomidou.mybatisplus.extension.service.IService; 6 | 7 | import java.util.List; 8 | 9 | /** 10 | *

11 | * 权限 服务类 12 | *

13 | * 14 | * @author testjava 15 | * @since 2020-01-12 16 | */ 17 | public interface PermissionService extends IService { 18 | 19 | //获取全部菜单 20 | List queryAllMenu(); 21 | 22 | //根据角色获取菜单 23 | List selectAllMenu(String roleId); 24 | 25 | //给角色分配权限 26 | void saveRolePermissionRealtionShip(String roleId, String[] permissionId); 27 | 28 | //递归删除菜单 29 | void removeChildById(String id); 30 | 31 | //根据用户id获取用户菜单 32 | List selectPermissionValueByUserId(String id); 33 | 34 | List selectPermissionByUserId(String id); 35 | 36 | //获取全部菜单 37 | List queryAllMenuGuli(); 38 | 39 | //递归删除菜单 40 | void removeChildByIdGuli(String id); 41 | 42 | //给角色分配权限 43 | void saveRolePermissionRealtionShipGuli(String roleId, String[] permissionId); 44 | } 45 | -------------------------------------------------------------------------------- /service/service_edu/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | # 服务端口 2 | server.port=8001 3 | # 服务名 4 | spring.application.name=service-edu 5 | 6 | # mysql数据库连接 7 | spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver 8 | spring.datasource.url=jdbc:mysql://localhost:3306/elearning?serverTimezone=GMT%2B8 9 | spring.datasource.username=root 10 | spring.datasource.password=root 11 | 12 | #mybatis日志 13 | mybatis-plus.configuration.log-impl=org.apache.ibatis.logging.stdout.StdOutImpl 14 | mybatis-plus.mapper-locations=classpath:com/atguigu/eduservice/mapper/xml/*.xml 15 | #返回json的全局时间格式 16 | spring.jackson.date-format=yyyy-MM-dd HH:mm:ss 17 | spring.jackson.time-zone=GMT+8 18 | #设置日志级别 19 | logging.level.root=INFO 20 | # nacos服务地址 21 | spring.cloud.nacos.discovery.server-addr=127.0.0.1:8848 22 | #开启熔断机制 23 | feign.hystrix.enabled=true 24 | # 设置hystrix超时时间,默认1000ms 25 | hystrix.command.default.execution.isolation.thread.timeoutInMilliseconds=6000 26 | #虚拟机的地址 27 | spring.redis.host=127.0.0.1 28 | spring.redis.port=6379 29 | spring.redis.database=0 30 | spring.redis.timeout=1800000 31 | spring.redis.lettuce.pool.max-active=20 32 | spring.redis.lettuce.pool.max-wait=-1 33 | #最大阻塞等待时间(负数表示没限制) 34 | spring.redis.lettuce.pool.max-idle=5 35 | spring.redis.lettuce.pool.min-idle=0 -------------------------------------------------------------------------------- /service/service_statistics/src/main/java/com/atguigu/staservice/utils/DateUtil.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.staservice.utils; 2 | 3 | import java.text.SimpleDateFormat; 4 | import java.util.Calendar; 5 | import java.util.Date; 6 | 7 | /** 8 | * 日期操作工具类 9 | * 10 | * @author qy 11 | * @since 1.0 12 | */ 13 | public class DateUtil { 14 | 15 | private static final String dateFormat = "yyyy-MM-dd"; 16 | 17 | /** 18 | * 格式化日期 19 | * 20 | * @param date 21 | * @return 22 | */ 23 | public static String formatDate(Date date) { 24 | SimpleDateFormat sdf = new SimpleDateFormat(dateFormat); 25 | return sdf.format(date); 26 | 27 | } 28 | 29 | /** 30 | * 在日期date上增加amount天 。 31 | * 32 | * @param date 处理的日期,非null 33 | * @param amount 要加的天数,可能为负数 34 | */ 35 | public static Date addDays(Date date, int amount) { 36 | Calendar now = Calendar.getInstance(); 37 | now.setTime(date); 38 | now.set(Calendar.DATE, now.get(Calendar.DATE) + amount); 39 | return now.getTime(); 40 | } 41 | 42 | public static void main(String[] args) { 43 | System.out.println(DateUtil.formatDate(new Date())); 44 | System.out.println(DateUtil.formatDate(DateUtil.addDays(new Date(), -1))); 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /service/service_cms/src/main/java/com/atguigu/educms/service/impl/CrmBannerServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.educms.service.impl; 2 | 3 | import com.atguigu.educms.entity.CrmBanner; 4 | import com.atguigu.educms.mapper.CrmBannerMapper; 5 | import com.atguigu.educms.service.CrmBannerService; 6 | import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; 7 | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; 8 | import org.springframework.cache.annotation.Cacheable; 9 | import org.springframework.stereotype.Service; 10 | 11 | import java.util.List; 12 | 13 | /** 14 | *

15 | * 首页banner表 服务实现类 16 | *

17 | * 18 | * @author zzyt 19 | * @since 2021-08-13 20 | */ 21 | @Service 22 | public class CrmBannerServiceImpl extends ServiceImpl implements CrmBannerService { 23 | 24 | //查询所有banner 25 | @Cacheable(value = "banner", key = "'selectIndexList'") //放在缓存中 redis 是以key-value进行存储的 26 | @Override 27 | public List getAllBanner() { 28 | //根据id进行降序排列 选取前两条记录 29 | QueryWrapper wrapper = new QueryWrapper<>(); 30 | wrapper.orderByDesc("id"); 31 | //last方法进行拼接 sql语句 用来现在获得限制数目 32 | wrapper.last("limit 2"); 33 | 34 | return baseMapper.selectList(wrapper); 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /service/service_edu/src/main/java/com/atguigu/eduservice/service/EduCourseService.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.eduservice.service; 2 | 3 | import com.atguigu.eduservice.entity.EduCourse; 4 | import com.atguigu.eduservice.entity.frontvo.CourseFrontVo; 5 | import com.atguigu.eduservice.entity.frontvo.CourseWebVo; 6 | import com.atguigu.eduservice.entity.vo.CourseInfo; 7 | import com.atguigu.eduservice.entity.vo.CoursePublishVo; 8 | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; 9 | import com.baomidou.mybatisplus.extension.service.IService; 10 | 11 | import java.util.List; 12 | import java.util.Map; 13 | 14 | /** 15 | *

16 | * 课程 服务类 17 | *

18 | * 19 | * @author zzyt 20 | * @since 2021-08-09 21 | */ 22 | public interface EduCourseService extends IService { 23 | 24 | String saveCourseInfo(CourseInfo courseInfo); 25 | 26 | CourseInfo getCourseInfoById(String courseId); 27 | 28 | void updateCourseInfo(CourseInfo courseInfo); 29 | 30 | CoursePublishVo getPublishCourseInfo(String id); 31 | 32 | void removeCourse(String courseId); 33 | 34 | List listIndex(); 35 | 36 | Map getCourseFrontList(Page eduCoursePage, CourseFrontVo courseFrontVo); 37 | 38 | CourseWebVo getBaseCourseInfo(String courseId); 39 | } 40 | -------------------------------------------------------------------------------- /service/service_ucenter/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | # 服务端口 2 | server.port=8160 3 | # 服务名 4 | spring.application.name=service-ucenter 5 | # nacos服务地址 6 | spring.cloud.nacos.discovery.server-addr=127.0.0.1:8848 7 | # mysql数据库连接 8 | spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver 9 | spring.datasource.url=jdbc:mysql://localhost:3306/guli?serverTimezone=GMT%2B8&useUnicoding=true&characterEncoding=utf-8 10 | spring.datasource.username=root 11 | spring.datasource.password=root 12 | spring.redis.host=127.0.0.1 13 | spring.redis.port=6379 14 | spring.redis.database=0 15 | spring.redis.timeout=1800000 16 | spring.redis.lettuce.pool.max-active=20 17 | spring.redis.lettuce.pool.max-wait=-1 18 | #最大阻塞等待时间(负数表示没限制) 19 | spring.redis.lettuce.pool.max-idle=5 20 | spring.redis.lettuce.pool.min-idle=0 21 | #最小空闲 22 | #返回json的全局时间格式 23 | spring.jackson.date-format=yyyy-MM-dd HH:mm:ss 24 | spring.jackson.time-zone=GMT+8 25 | #配置mapper xml文件的路径 26 | mybatis-plus.mapper-locations=classpath:com/atguigu/educenter/mapper/xml/*.xml 27 | #mybatis日志 28 | mybatis-plus.configuration.log-impl=org.apache.ibatis.logging.stdout.StdOutImpl 29 | # 微信开放平台 appid 30 | wx.open.app_id=wxed9954c01bb89b47 31 | # 微信开放平台 appsecret 32 | wx.open.app_secret=a7482517235173ddb4083788de60b90e 33 | # 微信开放平台 重定向url 34 | wx.open.redirect_url=http://localhost:8160/api/ucenter/wx/callback -------------------------------------------------------------------------------- /service/service_edu/src/main/java/com/atguigu/eduservice/controller/front/IndexFrontController.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.eduservice.controller.front; 2 | 3 | import com.atguigu.commonutils.R; 4 | import com.atguigu.eduservice.entity.EduCourse; 5 | import com.atguigu.eduservice.entity.EduTeacher; 6 | import com.atguigu.eduservice.service.EduCourseService; 7 | import com.atguigu.eduservice.service.EduTeacherService; 8 | import org.springframework.beans.factory.annotation.Autowired; 9 | import org.springframework.web.bind.annotation.GetMapping; 10 | import org.springframework.web.bind.annotation.RequestMapping; 11 | import org.springframework.web.bind.annotation.RestController; 12 | 13 | import java.util.List; 14 | 15 | @RestController 16 | @RequestMapping("eduservice/indexfront") 17 | //@CrossOrigin 18 | public class IndexFrontController { 19 | @Autowired 20 | private EduCourseService courseService; 21 | 22 | @Autowired 23 | private EduTeacherService teacherService; 24 | 25 | //查询前八条热门课程 查询前四条名师 26 | @GetMapping("index") 27 | public R index() { 28 | //先是查询签八条课程 根据id来排序 29 | List courseList = courseService.listIndex(); 30 | //再查询前四条名师 31 | List teacherList = teacherService.listIndex(); 32 | 33 | return R.ok().data("courseList", courseList).data("teacherList", teacherList); 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /service/service_ucenter/target/classes/application.properties: -------------------------------------------------------------------------------- 1 | # 服务端口 2 | server.port=8160 3 | # 服务名 4 | spring.application.name=service-ucenter 5 | 6 | # nacos服务地址 7 | spring.cloud.nacos.discovery.server-addr=127.0.0.1:8848 8 | 9 | # mysql数据库连接 10 | spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver 11 | spring.datasource.url=jdbc:mysql://localhost:3306/guli?serverTimezone=GMT%2B8&useUnicoding=true&characterEncoding=utf-8 12 | spring.datasource.username=root 13 | spring.datasource.password=root 14 | 15 | spring.redis.host=192.168.80.129 16 | spring.redis.port=6379 17 | spring.redis.database= 0 18 | spring.redis.timeout=1800000 19 | spring.redis.lettuce.pool.max-active=20 20 | spring.redis.lettuce.pool.max-wait=-1 21 | #最大阻塞等待时间(负数表示没限制) 22 | spring.redis.lettuce.pool.max-idle=5 23 | spring.redis.lettuce.pool.min-idle=0 24 | #最小空闲 25 | 26 | #返回json的全局时间格式 27 | spring.jackson.date-format=yyyy-MM-dd HH:mm:ss 28 | spring.jackson.time-zone=GMT+8 29 | 30 | #配置mapper xml文件的路径 31 | mybatis-plus.mapper-locations=classpath:com/atguigu/educenter/mapper/xml/*.xml 32 | 33 | #mybatis日志 34 | mybatis-plus.configuration.log-impl=org.apache.ibatis.logging.stdout.StdOutImpl 35 | 36 | # 微信开放平台 appid 37 | wx.open.app_id=wxed9954c01bb89b47 38 | # 微信开放平台 appsecret 39 | wx.open.app_secret=a7482517235173ddb4083788de60b90e 40 | # 微信开放平台 重定向url 41 | wx.open.redirect_url=http://localhost:8160/api/ucenter/wx/callback -------------------------------------------------------------------------------- /service/service_acl/src/main/java/com/atguigu/aclservice/entity/RolePermission.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.aclservice.entity; 2 | 3 | import com.baomidou.mybatisplus.annotation.*; 4 | import io.swagger.annotations.ApiModel; 5 | import io.swagger.annotations.ApiModelProperty; 6 | import lombok.Data; 7 | import lombok.EqualsAndHashCode; 8 | import lombok.experimental.Accessors; 9 | 10 | import java.io.Serializable; 11 | import java.util.Date; 12 | 13 | /** 14 | *

15 | * 角色权限 16 | *

17 | * 18 | * @author testjava 19 | * @since 2020-01-12 20 | */ 21 | @Data 22 | @EqualsAndHashCode(callSuper = false) 23 | @Accessors(chain = true) 24 | @TableName("acl_role_permission") 25 | @ApiModel(value = "RolePermission对象", description = "角色权限") 26 | public class RolePermission implements Serializable { 27 | 28 | private static final long serialVersionUID = 1L; 29 | 30 | @TableId(value = "id", type = IdType.ID_WORKER_STR) 31 | private String id; 32 | 33 | private String roleId; 34 | 35 | private String permissionId; 36 | 37 | @ApiModelProperty(value = "逻辑删除 1(true)已删除, 0(false)未删除") 38 | private Boolean isDeleted; 39 | 40 | @TableField(fill = FieldFill.INSERT) 41 | @ApiModelProperty(value = "创建时间") 42 | private Date gmtCreate; 43 | 44 | @TableField(fill = FieldFill.INSERT_UPDATE) 45 | @ApiModelProperty(value = "更新时间") 46 | private Date gmtModified; 47 | 48 | 49 | } 50 | -------------------------------------------------------------------------------- /service/service_edu/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | service 7 | com.atguigu 8 | 0.0.1-SNAPSHOT 9 | 10 | 4.0.0 11 | 12 | service_edu 13 | 14 | 15 | 8 16 | 8 17 | 18 | 19 | 20 | 21 | 22 | 23 | com.alibaba 24 | easyexcel 25 | 2.1.1 26 | 27 | 28 | 29 | 30 | 31 | 32 | src/main/java 33 | 34 | **/*.xml 35 | 36 | false 37 | 38 | 39 | 40 | -------------------------------------------------------------------------------- /common/common_utils/src/main/java/com/atguigu/commonutils/R.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.commonutils; 2 | 3 | import lombok.Data; 4 | 5 | import java.util.HashMap; 6 | 7 | @Data 8 | public class R { 9 | private boolean success; 10 | private Integer code; 11 | private String message; 12 | private HashMap data = new HashMap<>(); 13 | 14 | private R() { 15 | } 16 | 17 | 18 | 19 | public static R ok() { 20 | R r = new R(); 21 | r.setSuccess(true); 22 | r.setCode(ResultCode.SUCCESS); 23 | r.setMessage("成功"); 24 | return r; 25 | } 26 | 27 | 28 | public static R error() { 29 | R r = new R(); 30 | r.setSuccess(false); 31 | r.setCode(ResultCode.ERROR); 32 | r.setMessage("失败"); 33 | return r; 34 | } 35 | 36 | public R success(Boolean success) { 37 | this.setSuccess(success); 38 | return this; 39 | } 40 | 41 | public R code(Integer code) { 42 | this.setCode(code); 43 | return this; 44 | } 45 | 46 | public R message(String message) { 47 | this.setMessage(message); 48 | return this; 49 | } 50 | 51 | public R data(String key, Object value) { 52 | this.data.put(key, value); 53 | return this; 54 | } 55 | 56 | public R data(HashMap map) { 57 | this.setData(map); 58 | return this; 59 | } 60 | 61 | } 62 | -------------------------------------------------------------------------------- /service/service_edu/src/main/java/com/atguigu/eduservice/controller/EduSubjectController.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.eduservice.controller; 2 | 3 | 4 | import com.atguigu.commonutils.R; 5 | import com.atguigu.eduservice.entity.subject.OneSubject; 6 | import com.atguigu.eduservice.service.EduSubjectService; 7 | import org.springframework.web.bind.annotation.GetMapping; 8 | import org.springframework.web.bind.annotation.PostMapping; 9 | import org.springframework.web.bind.annotation.RequestMapping; 10 | import org.springframework.web.bind.annotation.RestController; 11 | import org.springframework.web.multipart.MultipartFile; 12 | 13 | import javax.annotation.Resource; 14 | import java.util.List; 15 | 16 | /** 17 | *

18 | * 课程科目 前端控制器 19 | *

20 | * 21 | * @author zzyt 22 | * @since 2021-08-09 23 | */ 24 | @RestController 25 | @RequestMapping("/eduservice/subject") 26 | //@CrossOrigin 27 | public class EduSubjectController { 28 | 29 | @Resource 30 | private EduSubjectService subjectService; 31 | 32 | //添加课程分类 33 | @PostMapping("addSubject") 34 | public R addSubject(MultipartFile file) { 35 | subjectService.saveSubject(file, subjectService); 36 | 37 | return R.ok(); 38 | } 39 | 40 | //课程分类列表(树形) 41 | @GetMapping("getAllSubject") 42 | public R getAllSubject() { 43 | List list = subjectService.getAllOneTwoSubject(); 44 | return R.ok().data("list", list); 45 | } 46 | } 47 | 48 | -------------------------------------------------------------------------------- /service/service_statistics/src/main/java/com/atguigu/staservice/controller/StatisticsDailyController.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.staservice.controller; 2 | 3 | 4 | import com.atguigu.commonutils.R; 5 | import com.atguigu.staservice.service.StatisticsDailyService; 6 | import org.springframework.beans.factory.annotation.Autowired; 7 | import org.springframework.web.bind.annotation.*; 8 | 9 | import java.util.HashMap; 10 | import java.util.Map; 11 | 12 | /** 13 | *

14 | * 网站统计日数据 前端控制器 15 | *

16 | * 17 | * @author zzyt 18 | * @since 2021-08-19 19 | */ 20 | @RestController 21 | @RequestMapping("/staservice/sta") 22 | //@CrossOrigin 23 | public class StatisticsDailyController { 24 | 25 | @Autowired 26 | private StatisticsDailyService statisticsDailyService; 27 | 28 | //查询某天注册人数 然后在数据库中添加 29 | @PostMapping("registerCount/{day}") 30 | public R registerCount(@PathVariable("day") String day) { 31 | statisticsDailyService.registerCount(day); 32 | return R.ok(); 33 | } 34 | 35 | 36 | //图标显示,返回两部分数据,日期json数组,数量json数组 37 | @GetMapping("getShowData/{type}/{begin}/{end}") 38 | public R getShowData(@PathVariable("type") String type, @PathVariable("begin") String begin, 39 | @PathVariable("end") String end) { 40 | Map map = statisticsDailyService.getShowData(type, begin, end); 41 | return R.ok().data((HashMap) map); 42 | } 43 | } 44 | 45 | -------------------------------------------------------------------------------- /service/service_msm/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | service 7 | com.atguigu 8 | 0.0.1-SNAPSHOT 9 | 10 | 4.0.0 11 | 12 | service_msm 13 | 14 | 15 | 8 16 | 8 17 | 18 | 19 | 20 | com.alibaba 21 | fastjson 22 | 23 | 24 | com.aliyun 25 | aliyun-java-sdk-core 26 | 27 | 28 | javax.mail 29 | javax.mail-api 30 | 1.5.6 31 | 32 | 33 | com.sun.mail 34 | javax.mail 35 | 1.5.3 36 | 37 | 38 | -------------------------------------------------------------------------------- /service/service_acl/src/main/java/com/atguigu/aclservice/entity/UserRole.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.aclservice.entity; 2 | 3 | import com.baomidou.mybatisplus.annotation.*; 4 | import io.swagger.annotations.ApiModel; 5 | import io.swagger.annotations.ApiModelProperty; 6 | import lombok.Data; 7 | import lombok.EqualsAndHashCode; 8 | import lombok.experimental.Accessors; 9 | 10 | import java.io.Serializable; 11 | import java.util.Date; 12 | 13 | /** 14 | *

15 | * 16 | *

17 | * 18 | * @author testjava 19 | * @since 2020-01-12 20 | */ 21 | @Data 22 | @EqualsAndHashCode(callSuper = false) 23 | @Accessors(chain = true) 24 | @TableName("acl_user_role") 25 | @ApiModel(value = "UserRole对象", description = "") 26 | public class UserRole implements Serializable { 27 | 28 | private static final long serialVersionUID = 1L; 29 | 30 | @ApiModelProperty(value = "主键id") 31 | @TableId(value = "id", type = IdType.ID_WORKER_STR) 32 | private String id; 33 | 34 | @ApiModelProperty(value = "角色id") 35 | private String roleId; 36 | 37 | @ApiModelProperty(value = "用户id") 38 | private String userId; 39 | 40 | @ApiModelProperty(value = "逻辑删除 1(true)已删除, 0(false)未删除") 41 | private Boolean isDeleted; 42 | 43 | @TableField(fill = FieldFill.INSERT) 44 | @ApiModelProperty(value = "创建时间") 45 | private Date gmtCreate; 46 | 47 | @TableField(fill = FieldFill.INSERT_UPDATE) 48 | @ApiModelProperty(value = "更新时间") 49 | private Date gmtModified; 50 | 51 | 52 | } 53 | -------------------------------------------------------------------------------- /service/service_edu/src/main/java/com/atguigu/eduservice/entity/EduCourseDescription.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.eduservice.entity; 2 | 3 | import com.baomidou.mybatisplus.annotation.FieldFill; 4 | import com.baomidou.mybatisplus.annotation.IdType; 5 | import com.baomidou.mybatisplus.annotation.TableField; 6 | import com.baomidou.mybatisplus.annotation.TableId; 7 | import io.swagger.annotations.ApiModel; 8 | import io.swagger.annotations.ApiModelProperty; 9 | import lombok.Data; 10 | import lombok.EqualsAndHashCode; 11 | import lombok.experimental.Accessors; 12 | 13 | import java.io.Serializable; 14 | import java.util.Date; 15 | 16 | /** 17 | *

18 | * 课程简介 19 | *

20 | * 21 | * @author zzyt 22 | * @since 2021-08-09 23 | */ 24 | @Data 25 | @EqualsAndHashCode(callSuper = false) 26 | @Accessors(chain = true) 27 | @ApiModel(value = "EduCourseDescription对象", description = "课程简介") 28 | public class EduCourseDescription implements Serializable { 29 | 30 | private static final long serialVersionUID = 1L; 31 | 32 | @ApiModelProperty(value = "课程ID") 33 | @TableId(value = "id", type = IdType.ID_WORKER_STR) 34 | private String id; 35 | 36 | @ApiModelProperty(value = "课程简介") 37 | private String description; 38 | 39 | @TableField(fill = FieldFill.INSERT) 40 | @ApiModelProperty(value = "创建时间") 41 | private Date gmtCreate; 42 | 43 | @TableField(fill = FieldFill.INSERT_UPDATE) 44 | @ApiModelProperty(value = "更新时间") 45 | private Date gmtModified; 46 | 47 | 48 | } 49 | -------------------------------------------------------------------------------- /common/spring_security/src/main/java/com/atguigu/serurity/security/TokenLogoutHandler.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.serurity.security; 2 | 3 | import com.atguigu.commonutils.R; 4 | import com.atguigu.commonutils.ResponseUtil; 5 | import org.springframework.data.redis.core.RedisTemplate; 6 | import org.springframework.security.core.Authentication; 7 | import org.springframework.security.web.authentication.logout.LogoutHandler; 8 | 9 | import javax.servlet.http.HttpServletRequest; 10 | import javax.servlet.http.HttpServletResponse; 11 | 12 | /** 13 | *

14 | * 登出业务逻辑类 15 | *

16 | * 17 | * @author qy 18 | * @since 2019-11-08 19 | */ 20 | public class TokenLogoutHandler implements LogoutHandler { 21 | 22 | private TokenManager tokenManager; 23 | private RedisTemplate redisTemplate; 24 | 25 | public TokenLogoutHandler(TokenManager tokenManager, RedisTemplate redisTemplate) { 26 | this.tokenManager = tokenManager; 27 | this.redisTemplate = redisTemplate; 28 | } 29 | 30 | @Override 31 | public void logout(HttpServletRequest request, HttpServletResponse response, Authentication authentication) { 32 | String token = request.getHeader("token"); 33 | if (token != null) { 34 | tokenManager.removeToken(token); 35 | 36 | //清空当前用户缓存中的权限数据 37 | String userName = tokenManager.getUserFromToken(token); 38 | redisTemplate.delete(userName); 39 | } 40 | ResponseUtil.out(response, R.ok()); 41 | } 42 | 43 | } -------------------------------------------------------------------------------- /service/service_acl/src/main/java/com/atguigu/aclservice/entity/Role.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.aclservice.entity; 2 | 3 | import com.baomidou.mybatisplus.annotation.*; 4 | import io.swagger.annotations.ApiModel; 5 | import io.swagger.annotations.ApiModelProperty; 6 | import lombok.Data; 7 | import lombok.EqualsAndHashCode; 8 | import lombok.experimental.Accessors; 9 | 10 | import java.io.Serializable; 11 | import java.util.Date; 12 | 13 | /** 14 | *

15 | * 16 | *

17 | * 18 | * @author testjava 19 | * @since 2020-01-12 20 | */ 21 | @Data 22 | @EqualsAndHashCode(callSuper = false) 23 | @Accessors(chain = true) 24 | @TableName("acl_role") 25 | @ApiModel(value = "Role对象", description = "") 26 | public class Role implements Serializable { 27 | 28 | private static final long serialVersionUID = 1L; 29 | 30 | @ApiModelProperty(value = "角色id") 31 | @TableId(value = "id", type = IdType.ID_WORKER_STR) 32 | private String id; 33 | 34 | @ApiModelProperty(value = "角色名称") 35 | private String roleName; 36 | 37 | @ApiModelProperty(value = "角色编码") 38 | private String roleCode; 39 | 40 | @ApiModelProperty(value = "备注") 41 | private String remark; 42 | 43 | @ApiModelProperty(value = "逻辑删除 1(true)已删除, 0(false)未删除") 44 | private Boolean isDeleted; 45 | 46 | @TableField(fill = FieldFill.INSERT) 47 | @ApiModelProperty(value = "创建时间") 48 | private Date gmtCreate; 49 | 50 | @TableField(fill = FieldFill.INSERT) 51 | @ApiModelProperty(value = "更新时间") 52 | private Date gmtModified; 53 | 54 | 55 | } 56 | -------------------------------------------------------------------------------- /common/common_utils/src/main/java/com/atguigu/commonvo/CourseOrderVo.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.commonvo; 2 | 3 | import io.swagger.annotations.ApiModelProperty; 4 | import lombok.Data; 5 | 6 | import java.math.BigDecimal; 7 | 8 | @Data 9 | public class CourseOrderVo { 10 | private String id; 11 | 12 | @ApiModelProperty(value = "课程标题") 13 | private String title; 14 | 15 | @ApiModelProperty(value = "课程销售价格,设置为0则可免费观看") 16 | private BigDecimal price; 17 | 18 | @ApiModelProperty(value = "总课时") 19 | private Integer lessonNum; 20 | 21 | @ApiModelProperty(value = "课程封面图片路径") 22 | private String cover; 23 | 24 | @ApiModelProperty(value = "销售数量") 25 | private Long buyCount; 26 | 27 | @ApiModelProperty(value = "浏览数量") 28 | private Long viewCount; 29 | 30 | @ApiModelProperty(value = "课程简介") 31 | private String description; 32 | 33 | @ApiModelProperty(value = "讲师ID") 34 | private String teacherId; 35 | 36 | @ApiModelProperty(value = "讲师姓名") 37 | private String teacherName; 38 | 39 | @ApiModelProperty(value = "讲师资历,一句话说明讲师") 40 | private String intro; 41 | 42 | @ApiModelProperty(value = "讲师头像") 43 | private String avatar; 44 | 45 | @ApiModelProperty(value = "课程一级类别ID") 46 | private String subjectLevelOneId; 47 | 48 | @ApiModelProperty(value = "类别一级名称") 49 | private String subjectLevelOne; 50 | 51 | @ApiModelProperty(value = "课程二级类别ID") 52 | private String subjectLevelTwoId; 53 | 54 | @ApiModelProperty(value = "类别二级名称") 55 | private String subjectLevelTwo; 56 | } 57 | -------------------------------------------------------------------------------- /common/service_base/src/main/java/com/atguigu/servicebase/config/SwaggerConfig.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.servicebase.config; 2 | 3 | import com.google.common.base.Predicates; 4 | import org.springframework.context.annotation.Bean; 5 | import org.springframework.context.annotation.Configuration; 6 | import springfox.documentation.builders.ApiInfoBuilder; 7 | import springfox.documentation.builders.PathSelectors; 8 | import springfox.documentation.service.ApiInfo; 9 | import springfox.documentation.service.Contact; 10 | import springfox.documentation.spi.DocumentationType; 11 | import springfox.documentation.spring.web.plugins.Docket; 12 | import springfox.documentation.swagger2.annotations.EnableSwagger2; 13 | 14 | @Configuration 15 | @EnableSwagger2 16 | public class SwaggerConfig { 17 | @Bean 18 | public Docket webApiConfig() { 19 | return new Docket(DocumentationType.SWAGGER_2) 20 | .groupName("webApi") 21 | .apiInfo(webApiInfo()) 22 | .select() 23 | //.paths(Predicates.not(PathSelectors.regex("/admin/.*"))) 24 | .paths(Predicates.not(PathSelectors.regex("/error.*"))) 25 | .build(); 26 | } 27 | 28 | private ApiInfo webApiInfo() { 29 | return new ApiInfoBuilder() 30 | .title("网站-课程中心API文档") 31 | .description("本文档描述了课程中心微服务接口定义") 32 | .version("1.0") 33 | .contact(new Contact("Helen", "http://atguigu.com", 34 | "55317332@qq.com")) 35 | .build(); 36 | } 37 | 38 | } 39 | -------------------------------------------------------------------------------- /service/service_cms/src/main/java/com/atguigu/educms/entity/CrmBanner.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.educms.entity; 2 | 3 | import com.baomidou.mybatisplus.annotation.IdType; 4 | import com.baomidou.mybatisplus.annotation.TableId; 5 | import io.swagger.annotations.ApiModel; 6 | import io.swagger.annotations.ApiModelProperty; 7 | import lombok.Data; 8 | import lombok.EqualsAndHashCode; 9 | import lombok.experimental.Accessors; 10 | 11 | import java.io.Serializable; 12 | import java.util.Date; 13 | 14 | /** 15 | *

16 | * 首页banner表 轮播图 17 | *

18 | * 19 | * @author zzyt 20 | * @since 2021-08-13 21 | */ 22 | @Data 23 | @EqualsAndHashCode(callSuper = false) 24 | @Accessors(chain = true) 25 | @ApiModel(value = "CrmBanner对象", description = "首页banner表") 26 | public class CrmBanner implements Serializable { 27 | 28 | private static final long serialVersionUID = 1L; 29 | 30 | @ApiModelProperty(value = "ID") 31 | @TableId(value = "id", type = IdType.ID_WORKER) 32 | private String id; 33 | 34 | @ApiModelProperty(value = "标题") 35 | private String title; 36 | 37 | @ApiModelProperty(value = "图片地址") 38 | private String imageUrl; 39 | 40 | @ApiModelProperty(value = "链接地址") 41 | private String linkUrl; 42 | 43 | @ApiModelProperty(value = "排序") 44 | private Integer sort; 45 | 46 | @ApiModelProperty(value = "逻辑删除 1(true)已删除, 0(false)未删除") 47 | private Boolean isDeleted; 48 | 49 | @ApiModelProperty(value = "创建时间") 50 | private Date gmtCreate; 51 | 52 | @ApiModelProperty(value = "更新时间") 53 | private Date gmtModified; 54 | 55 | 56 | } 57 | -------------------------------------------------------------------------------- /service/service_edu/src/main/java/com/atguigu/eduservice/entity/frontvo/CourseWebVo.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.eduservice.entity.frontvo; 2 | 3 | import io.swagger.annotations.ApiModelProperty; 4 | import lombok.Data; 5 | 6 | import java.math.BigDecimal; 7 | 8 | @Data 9 | public class CourseWebVo { 10 | private String id; 11 | 12 | @ApiModelProperty(value = "课程标题") 13 | private String title; 14 | 15 | @ApiModelProperty(value = "课程销售价格,设置为0则可免费观看") 16 | private BigDecimal price; 17 | 18 | @ApiModelProperty(value = "总课时") 19 | private Integer lessonNum; 20 | 21 | @ApiModelProperty(value = "课程封面图片路径") 22 | private String cover; 23 | 24 | @ApiModelProperty(value = "销售数量") 25 | private Long buyCount; 26 | 27 | @ApiModelProperty(value = "浏览数量") 28 | private Long viewCount; 29 | 30 | @ApiModelProperty(value = "课程简介") 31 | private String description; 32 | 33 | @ApiModelProperty(value = "讲师ID") 34 | private String teacherId; 35 | 36 | @ApiModelProperty(value = "讲师姓名") 37 | private String teacherName; 38 | 39 | @ApiModelProperty(value = "讲师资历,一句话说明讲师") 40 | private String intro; 41 | 42 | @ApiModelProperty(value = "讲师头像") 43 | private String avatar; 44 | 45 | @ApiModelProperty(value = "课程一级类别ID") 46 | private String subjectLevelOneId; 47 | 48 | @ApiModelProperty(value = "类别一级名称") 49 | private String subjectLevelOne; 50 | 51 | @ApiModelProperty(value = "课程二级类别ID") 52 | private String subjectLevelTwoId; 53 | 54 | @ApiModelProperty(value = "类别二级名称") 55 | private String subjectLevelTwo; 56 | } 57 | -------------------------------------------------------------------------------- /service/service_edu/src/main/java/com/atguigu/eduservice/entity/EduChapter.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.eduservice.entity; 2 | 3 | import com.baomidou.mybatisplus.annotation.FieldFill; 4 | import com.baomidou.mybatisplus.annotation.IdType; 5 | import com.baomidou.mybatisplus.annotation.TableField; 6 | import com.baomidou.mybatisplus.annotation.TableId; 7 | import io.swagger.annotations.ApiModel; 8 | import io.swagger.annotations.ApiModelProperty; 9 | import lombok.Data; 10 | import lombok.EqualsAndHashCode; 11 | import lombok.experimental.Accessors; 12 | 13 | import java.io.Serializable; 14 | import java.util.Date; 15 | 16 | /** 17 | *

18 | * 课程 19 | *

20 | * 21 | * @author zzyt 22 | * @since 2021-08-09 23 | */ 24 | @Data 25 | @EqualsAndHashCode(callSuper = false) 26 | @Accessors(chain = true) 27 | @ApiModel(value = "EduChapter对象", description = "课程") 28 | public class EduChapter implements Serializable { 29 | 30 | private static final long serialVersionUID = 1L; 31 | 32 | @ApiModelProperty(value = "章节ID") 33 | @TableId(value = "id", type = IdType.ID_WORKER_STR) 34 | private String id; 35 | 36 | @ApiModelProperty(value = "课程ID") 37 | private String courseId; 38 | 39 | @ApiModelProperty(value = "章节名称") 40 | private String title; 41 | 42 | @ApiModelProperty(value = "显示排序") 43 | private Integer sort; 44 | 45 | @ApiModelProperty(value = "创建时间") 46 | @TableField(fill = FieldFill.INSERT) 47 | private Date gmtCreate; 48 | 49 | @TableField(fill = FieldFill.INSERT_UPDATE) 50 | @ApiModelProperty(value = "更新时间") 51 | private Date gmtModified; 52 | 53 | 54 | } 55 | -------------------------------------------------------------------------------- /service/service_edu/src/main/java/com/atguigu/eduservice/entity/EduSubject.java: -------------------------------------------------------------------------------- 1 | package com.atguigu.eduservice.entity; 2 | 3 | import com.baomidou.mybatisplus.annotation.FieldFill; 4 | import com.baomidou.mybatisplus.annotation.IdType; 5 | import com.baomidou.mybatisplus.annotation.TableField; 6 | import com.baomidou.mybatisplus.annotation.TableId; 7 | import io.swagger.annotations.ApiModel; 8 | import io.swagger.annotations.ApiModelProperty; 9 | import lombok.Data; 10 | import lombok.EqualsAndHashCode; 11 | import lombok.experimental.Accessors; 12 | 13 | import java.io.Serializable; 14 | import java.util.Date; 15 | 16 | /** 17 | *

18 | * 课程科目 19 | *

20 | * 21 | * @author zzyt 22 | * @since 2021-08-09 23 | */ 24 | @Data 25 | @EqualsAndHashCode(callSuper = false) 26 | @Accessors(chain = true) 27 | @ApiModel(value = "EduSubject对象", description = "课程科目") 28 | public class EduSubject implements Serializable { 29 | 30 | private static final long serialVersionUID = 1L; 31 | 32 | @ApiModelProperty(value = "课程类别ID") 33 | @TableId(value = "id", type = IdType.ID_WORKER_STR) 34 | private String id; 35 | 36 | @ApiModelProperty(value = "类别名称") 37 | private String title; 38 | 39 | @ApiModelProperty(value = "父ID") 40 | private String parentId; 41 | 42 | @ApiModelProperty(value = "排序字段") 43 | private Integer sort; 44 | 45 | @TableField(fill = FieldFill.INSERT) 46 | @ApiModelProperty(value = "创建时间") 47 | private Date gmtCreate; 48 | 49 | @TableField(fill = FieldFill.INSERT_UPDATE) 50 | @ApiModelProperty(value = "更新时间") 51 | private Date gmtModified; 52 | 53 | 54 | } 55 | -------------------------------------------------------------------------------- /canal_clientedu/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | guli_parent 7 | com.atguigu 8 | 0.0.1-SNAPSHOT 9 | 10 | 4.0.0 11 | 12 | canal_clientedu 13 | 14 | 15 | 8 16 | 8 17 | 18 | 19 | 20 | 21 | org.springframework.boot 22 | spring-boot-starter-web 23 | 24 | 25 | 26 | 27 | mysql 28 | mysql-connector-java 29 | 30 | 31 | 32 | commons-dbutils 33 | commons-dbutils 34 | 35 | 36 | 37 | org.springframework.boot 38 | spring-boot-starter-jdbc 39 | 40 | 41 | 42 | com.alibaba.otter 43 | canal.client 44 | 45 | 46 | 47 | -------------------------------------------------------------------------------- /service/service_ucenter/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | service 7 | com.atguigu 8 | 0.0.1-SNAPSHOT 9 | 10 | 4.0.0 11 | 12 | service_ucenter 13 | 14 | 15 | 8 16 | 8 17 | 18 | 19 | 20 | 21 | 22 | org.apache.httpcomponents 23 | httpclient 24 | 25 | 26 | 27 | commons-io 28 | commons-io 29 | 30 | 31 | 32 | com.google.code.gson 33 | gson 34 | 35 | 36 | 37 | 38 | 39 | src/main/java 40 | 41 | **/*.xml 42 | 43 | false 44 | 45 | 46 | 47 | --------------------------------------------------------------------------------