@@ -821,7 +821,7 @@ public class ExamApplyServiceImpl extends ServiceImpl<ExamApplyMapper, ExamApply
Transport.send(msg);
} catch (Exception e) {
e.printStackTrace();
- return false;
+ throw new CustomException("邮件发送失败!请检查邮箱配置");
}
iExamApplySiteTimeService.update(new LambdaUpdateWrapper<ExamApplySiteTime>()
.in(ExamApplySiteTime::getId, bo.getIds())