小么熊🐻 3 rokov pred
rodič
commit
a057f74d9b

+ 1 - 1
jkt-admin/src/main/java/com/miaxis/app/controller/question/QuestionWrongController.java

@@ -94,7 +94,7 @@ public class QuestionWrongController extends BaseController{
         List<QuestionWrong> list = questionWrongService.selectQuestionWrongList(dto);
         long count = list.stream().filter(o -> questionWrongDTO.getQuestionId().equals(o.getQuestionId())).count();
         if (count > 0) {
-            throw new CustomException("该错题目已收藏过");
+            throw new CustomException("该错已加入错题集");
         }
         QuestionWrong questionWrong = new QuestionWrong();
         BeanUtils.copyProperties(questionWrongDTO,questionWrong);