diff --git a/JAVA_MYSQL_ZC/jxjy-web/src/main/java/com/hc/web/controller/browser/back/BackOrdersController.java b/JAVA_MYSQL_ZC/jxjy-web/src/main/java/com/hc/web/controller/browser/back/BackOrdersController.java index 6a8cb4d..54adf2a 100644 --- a/JAVA_MYSQL_ZC/jxjy-web/src/main/java/com/hc/web/controller/browser/back/BackOrdersController.java +++ b/JAVA_MYSQL_ZC/jxjy-web/src/main/java/com/hc/web/controller/browser/back/BackOrdersController.java @@ -93,19 +93,19 @@ public class BackOrdersController { @GetMapping("/create/no") @ApiOperation(value = "创建一条订单编号", response = Result.class) - public Result createZccmOrderNo() { + public Result createOrderNo() { return Result.success(ordersService.createOrderNo()); } @GetMapping("/count") @ApiOperation(value = "获取 订单金额统计数据", response = Result.class) - public Result queryZccmOrderCount() { + public Result queryOrderCount() { return Result.success(ordersService.queryUserCount()); } @GetMapping("/count/no") @ApiOperation(value = "获取 订单数量统计数据", response = Result.class) - public Result queryZccmOrderCountNo() { + public Result queryOrderCountNo() { return Result.success(ordersService.countOrderTotal()); } diff --git a/JAVA_MYSQL_ZC/jxjy-web/src/main/java/com/hc/web/controller/browser/front/FrontCourseController.java b/JAVA_MYSQL_ZC/jxjy-web/src/main/java/com/hc/web/controller/browser/front/FrontCourseController.java index fc0f429..6f4a534 100644 --- a/JAVA_MYSQL_ZC/jxjy-web/src/main/java/com/hc/web/controller/browser/front/FrontCourseController.java +++ b/JAVA_MYSQL_ZC/jxjy-web/src/main/java/com/hc/web/controller/browser/front/FrontCourseController.java @@ -25,9 +25,9 @@ public class FrontCourseController { private final ZccmCourseService courseService; private final ZccmUserVideoPositionService userVideoPositionService; - public FrontCourseController(ZccmCourseService courseServices, + public FrontCourseController(ZccmCourseService courseService, ZccmUserVideoPositionService userVideoPositionService) { - this.courseService = courseServices; + this.courseService = courseService; this.userVideoPositionService = userVideoPositionService; } @@ -89,9 +89,9 @@ public class FrontCourseController { return Result.success(userVideoPositionService.flushToDb(userId, videoId, courseId, years, classId)); } - @GetMapping("/getZccmCourseVideoPosition") + @GetMapping("/getCourseVideoPosition") @ApiOperation(value = "获取一个课程下所有的视频以及某个用户的播放进度", response = Result.class) - public Result getZccmCourseChapterAndVideoPosition(@RequestParam Integer courseId, + public Result getCourseChapterAndVideoPosition(@RequestParam Integer courseId, @RequestParam Integer userId, @RequestParam Integer classId) { return Result.success(courseService.getCourseChapterAndVideoPosition(courseId, userId, classId)); diff --git a/JAVA_MYSQL_ZC/jxjy-web/target/classes/com/hc/web/controller/browser/back/BackOrdersController.class b/JAVA_MYSQL_ZC/jxjy-web/target/classes/com/hc/web/controller/browser/back/BackOrdersController.class index cb6e1f6..d25ce8e 100644 Binary files a/JAVA_MYSQL_ZC/jxjy-web/target/classes/com/hc/web/controller/browser/back/BackOrdersController.class and b/JAVA_MYSQL_ZC/jxjy-web/target/classes/com/hc/web/controller/browser/back/BackOrdersController.class differ diff --git a/JAVA_MYSQL_ZC/jxjy-web/target/classes/com/hc/web/controller/browser/front/FrontCourseController.class b/JAVA_MYSQL_ZC/jxjy-web/target/classes/com/hc/web/controller/browser/front/FrontCourseController.class index 0a4c30f..6b70aff 100644 Binary files a/JAVA_MYSQL_ZC/jxjy-web/target/classes/com/hc/web/controller/browser/front/FrontCourseController.class and b/JAVA_MYSQL_ZC/jxjy-web/target/classes/com/hc/web/controller/browser/front/FrontCourseController.class differ