兴安优化提交

This commit is contained in:
zc
2025-07-14 15:48:19 +08:00
parent 7fe428453d
commit 25c48baa86
16 changed files with 84 additions and 29 deletions

View File

@@ -362,10 +362,10 @@ public class SysLoginService
smsDTO.setTemplateId(smsProperties.getTemplate11());
smsDTO.setCaptcha(smsCode);
smsDTO.setPhone(register.getPhone());
// AjaxResult ajaxResult = remoteUserService.sendMessage(smsDTO, SecurityConstants.INNER);
// if (!ajaxResult.isSuccess()) {
// throw new ServiceException(ajaxResult.get("msg").toString());
// }
AjaxResult ajaxResult = remoteUserService.sendMessage(smsDTO, SecurityConstants.INNER);
if (!ajaxResult.isSuccess()) {
throw new ServiceException(ajaxResult.get("msg").toString());
}
//缓存次数
int i = 1;