소스 검색

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

Joburgess 5 년 전
부모
커밋
b28b602059
1개의 변경된 파일0개의 추가작업 그리고 12개의 파일을 삭제
  1. 0 12
      mec-web/src/main/java/com/ym/mec/web/controller/education/EduPracticeGroupController.java

+ 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));
-    }
 }