Prechádzať zdrojové kódy

题型保存中文名

mingfu 1 deň pred
rodič
commit
888be6c65f

+ 1 - 1
ie-admin/src/main/java/com/ruoyi/web/controller/learn/LearnQuestionsController.java

@@ -117,7 +117,7 @@ public class LearnQuestionsController extends BaseController
     {
         QuestionType qt = QuestionType.of(param.getInteger("type"));
         List<Long> ids = param.getList ("ids", Long.class);
-        learnQuestionsService.updateQuestionType(qt.name(), ids);
+        learnQuestionsService.updateQuestionType(qt.getTitle(), ids);
         return AjaxResult.success();
     }
 }