Merge pull request #1300 from xinnan-tech/hot-fix

update:补充缺失参数
This commit is contained in:
欣南科技
2025-05-18 17:55:53 +08:00
committed by GitHub
@@ -183,7 +183,7 @@ public class LoginController {
throw new RenException("用户名或验证码错误");
}
// 验证短信验证码是否正常
boolean validate = captchaService.validateSMSValidateCode(dto.getPhone(), dto.getCode());
boolean validate = captchaService.validateSMSValidateCode(dto.getPhone(), dto.getCode(), false);
// 判断是否通过验证
if (!validate) {
throw new RenException("用户名或验证码错误");