|
@@ -105,9 +105,9 @@ public class QuestionWrongController extends BaseController {
|
|
|
questionWrong.setUserId(SecurityUtils.getLoginUser().getStudent().getId());
|
|
|
qlist.add(questionWrong);
|
|
|
}
|
|
|
- if (qlist.isEmpty()) {
|
|
|
- throw new CustomException("选中的错题都已收藏!");
|
|
|
- }
|
|
|
+// if (qlist.isEmpty()) {
|
|
|
+// throw new CustomException("选中的错题都已收藏!");
|
|
|
+// }
|
|
|
return toResponse(questionWrongService.saveBatch(qlist) ? 1 : 0);
|
|
|
}
|
|
|
|