浏览代码

补更新文件

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