fix(api): 修正接口路径并优化定时任务逻辑

- 将上传考试单词图片接口路径由 /exam/words/genexam 修改为 /exam/words/submit
- AutoJudgeExamWordsTask 中注入 ExamWordsJudgeService 服务
- 定时任务中调用 examWordsJudgeService.judgeExamWords 方法实现自动判卷
- 注释掉 PngUtil 中调试用的图像保存代码,避免生成多余文件
This commit is contained in:
lbw
2025-12-15 11:45:49 +08:00
parent e5a1ef1423
commit 89df9af8c6
4 changed files with 8 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
import axios from "@/axios";
export function uploadExamWordsPng(data) {
return axios.post('/exam/words/genexam', data)
return axios.post('/exam/words/submit', data)
}
export function getExamWordsResult(page, size) {