Parcourir la source

1、陪练课调整
2、付费陪练课可预约时间调整

Joburgess il y a 5 ans
Parent
commit
b28b602059

+ 0 - 12
mec-web/src/main/java/com/ym/mec/web/controller/education/EduPracticeGroupController.java

@@ -180,16 +180,4 @@ public class EduPracticeGroupController extends BaseController {
         return practiceGroupService.cancelWaitPayOrder(studentId, groupId);
     }
 
-    @ApiOperation("检测用户是否存在待支付的课程组订单")
-    @GetMapping(value = "/checkExistWaitPayOrder")
-    public HttpResponseResult checkExistWaitPayOrder(Integer studentId,Long groupId){
-        SysUser sysUser = sysUserFeignService.queryUserInfo();
-        if (sysUser == null) {
-            return failed(HttpStatus.FORBIDDEN, "请登录");
-        }
-        if(Objects.isNull(studentId)){
-            throw new BizException("请指定学生");
-        }
-        return succeed(practiceGroupService.checkExistWaitPayOrder(studentId,groupId));
-    }
 }