ljh 2 éve
szülő
commit
e44c20d1c7

+ 2 - 2
site/src/main/java/com/mooctest/crowd/site/controller/MixDefectController.java

@@ -44,8 +44,8 @@ public class MixDefectController {
     @GetMapping("/generate/{taskCode}")
     @LoginRequired
     public ResponseVO generate(HttpServletRequest request, @PathVariable("taskCode") String taskCode) {
-//        boolean res = mixDefectService.post(RequestUtils.getUserId(request), taskCode);
-        boolean res = mixDefectService.post(taskCode);
+        boolean res = mixDefectService.post(RequestUtils.getUserId(request), taskCode);
+//        boolean res = mixDefectService.post(taskCode);
         return new ResponseVO(res ? ServerCode.SUCCESS : ServerCode.ERROR);
     }