update 优化 发送验证码接口 异常提醒内容修改

This commit is contained in:
疯狂的狮子Li 2026-09-07 15:49:38 +08:00
parent bffc39a89f
commit 91a71f5c25

View File

@ -116,7 +116,7 @@ public class CaptchaController {
.send();
RedisUtils.setCacheObject(key, code, Duration.ofMinutes(Constants.CAPTCHA_EXPIRATION));
} catch (Exception e) {
log.error("验证码短信发送异常 => {}", e.getMessage());
log.error("验证码邮件发送异常 => {}", e.getMessage());
throw new ServiceException(e.getMessage());
}
}