系统登录改造:1、阿里云方式下短信验证码缓存key缺少手机号;2、登录图形验证码配置nacos无法刷新问题修复;

This commit is contained in:
gaoqr
2024-08-30 18:25:06 +08:00
parent 4a7532a362
commit 6766f22482
3 changed files with 3 additions and 3 deletions
@@ -100,7 +100,7 @@ public class AliyunSmsClient extends AbstractSmsClient {
// 执行请求
SendSmsResponse response = client.getAcsResponse(request);
return new SmsSendRespDTO().setSuccess(Objects.equals(response.getCode(), API_CODE_SUCCESS)).setSerialNo(response.getBizId())
.setApiRequestId(response.getRequestId()).setApiCode(response.getCode()).setApiMsg(response.getMessage()).setChannelCode(properties.getChannel());
.setApiRequestId(response.getRequestId()).setApiCode(response.getCode()).setApiMsg(response.getMessage()).setMobile(mobile).setChannelCode(properties.getChannel());
}
@Override