소스 검색

修改返回

小么熊🐻 3 년 전
부모
커밋
a057f74d9b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      jkt-admin/src/main/java/com/miaxis/app/controller/question/QuestionWrongController.java

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