兴安优化提交
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user