Althars123 il y a 3 ans
Parent
commit
df00ad98ce

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