From c95e2fc9f7c925b69fad11e5cd0944612ff3b690 Mon Sep 17 00:00:00 2001 From: ymnets Date: Mon, 18 Nov 2024 13:20:36 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E6=88=90=E8=A1=A8=E6=9B=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../browser/back/BackOrdersController.java | 6 +++--- .../browser/front/FrontCourseController.java | 8 ++++---- .../browser/back/BackOrdersController.class | Bin 6109 -> 6081 bytes .../browser/front/FrontCourseController.class | Bin 5480 -> 5420 bytes 4 files changed, 7 insertions(+), 7 deletions(-) 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 cb6e1f6bf5db0b951c561cee65cd5cb0ed4de760..d25ce8eff78597084b605ed467ea78412376a08a 100644 GIT binary patch delta 206 zcmcbse^8(6)W2Q(7#JAL8MbWX3gw+#%RfOE5m}x z-$a8%7c!(XFfpVSGc01rOlHVpU}RVfl!+A!5?un5SqhU`29!AhlvxgwSpkz-$*^j& zwzvo1YKBQb6XJkQU}a=jJ(*Ellxq!4@!H7?#KqLtF|-0@nHbiC$qfw2Kw1dM-w32P O0rjRvGcXo2Yz6>eGc>IL delta 258 zcmX@8e^;OD)W2Q(7#JAL8MbcZ3gs0NOfE`IEJ=+@PR{i&N=Ys9%by&}8^9%8SejZ? z2@;*Wnb(|46wclJf%iE(^8$v2lO4sxCVvpM5naTP&cMWwTFkJRAv2jFi-D1030O8r zbSX?`8BAt5RNp=^8_^Xo*_ANaRSc^q^NV}%tzno1G$jt`N>)aOHIqMzh`O(ZDP9Lr uoDGx|U%kPM`Sfc#BBdNW8#Gy`KX!xjJ~PDCpJ 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 0a4c30f1a1e26227fdf27b9355ed9390439724bf..6b70aff7d9d6a337df1025c5005dd0a739c9107a 100644 GIT binary patch delta 1074 zcma)5%T5$Q6g}NTV;q=F!|2S$Ktc!!ECzN2mL_Oo!Z6B9-j4wW5D*y@6>xk2g97sC z4dENu5W|+Td-(@IGmg%}Ri)=G zrL_;NL}PYx`Ft-@Flx(C4uk7ael|?B(|>59OoqUv6gr#(JK=OhlP}VE$%xou8A$W@ ziuQ!3IvMU7fRRHtdN}XOp%;stBj~8^nhZIt#e)R=-A*HASf=FiY3a+nNsrx>kA7A0^T`)O(#GYohoO$Xx4Dx5bO z$2Q1!jwe~tJOPDL3&={PS}T(OllHAjyBM7IotL&rs#Wb=S0n=!TMANaDX@~9f?U>+ zb@wUe*Z1Bd@&Sh13MZAx)QY@2Pq&pow2unylSV7n?X#D66>CmB_N;FmU#OyJMUmWZ z#dU^?0rEn1*=t`Fz&8yLF}eJmM?@Ql@dq}Xi&!e}5(X03l-Y&1C8ZNyfo)L2{RwO{ zX32(lY)RZrhPP-1+BQu!qUP~a@%W{AR9ij+$s_L3aY?yj8*ldb(Q}`gEeVNtU`rbQ rI}qgy3dQjH$?YikT@4>|Z&k}65KZjK@wcp@lJkAe55i>X3VL`4iIkB7 delta 1095 zcma)5T~8B16g|6bQ5s6uqUAwj6GNKFgZk#XNhL99r2--!3b?FL711sr_(4@Z3gY+p z!hhh!@aBU*z@OloPx>Pa;mqvLP7~L}GJ6FaC6vu2gZ2k=#yMsPb=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