1
0

新增忘记密码手机短信验证码

This commit is contained in:
2025-07-19 14:23:29 +08:00
parent 4e608b8f3a
commit b369b28949
2 changed files with 31 additions and 5 deletions

View File

@ -67,7 +67,7 @@ public class CaptchaController {
LinkedHashMap<String, String> map = new LinkedHashMap<>(1);
map.put("code", code);
SmsBlend smsBlend = SmsFactory.getSmsBlend("config1");
SmsResponse smsResponse = smsBlend.sendMessage(phonenumber, templateId, map);
SmsResponse smsResponse = smsBlend.sendMessage(phonenumber, map);
if (!smsResponse.isSuccess()) {
log.error("验证码短信发送异常 => {}", smsResponse);
return R.fail(smsResponse.getData().toString());