mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-25 04:29:51 +01:00
update:补充缺失参数
This commit is contained in:
parent
e09ba81cfa
commit
4d0bef62ed
1 changed files with 1 additions and 1 deletions
|
|
@ -183,7 +183,7 @@ public class LoginController {
|
||||||
throw new RenException("用户名或验证码错误");
|
throw new RenException("用户名或验证码错误");
|
||||||
}
|
}
|
||||||
// 验证短信验证码是否正常
|
// 验证短信验证码是否正常
|
||||||
boolean validate = captchaService.validateSMSValidateCode(dto.getPhone(), dto.getCode());
|
boolean validate = captchaService.validateSMSValidateCode(dto.getPhone(), dto.getCode(), false);
|
||||||
// 判断是否通过验证
|
// 判断是否通过验证
|
||||||
if (!validate) {
|
if (!validate) {
|
||||||
throw new RenException("用户名或验证码错误");
|
throw new RenException("用户名或验证码错误");
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue