ljh преди 2 години
родител
ревизия
e44c20d1c7
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      site/src/main/java/com/mooctest/crowd/site/controller/MixDefectController.java

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