瀏覽代碼

改造答卷数据记录的存储与查询,改成单条统一存储 单词查询逻辑匹配数据

zhaosongshan 7 月之前
父節點
當前提交
34e4596a2d

+ 1 - 1
snowy-plugin/snowy-plugin-exam/snowy-plugin-exam-func/src/main/java/vip/xiaonuo/exam/controller/student/ExamPaperAnswerController.java

@@ -103,7 +103,7 @@ public class ExamPaperAnswerController extends BaseApiController {
         String content = user.getName() + " 批改试卷:" + examPaperAnswer.getPaperName() + " 得分:" + score;
         userEventLog.setContent(content);
         eventPublisher.publishEvent(new UserEvent(userEventLog));
-        return CommonResult.ok(score);
+        return CommonResult.data(score);
     }
 
     @RequestMapping(value = "/read/{id}", method = RequestMethod.POST)