This commit is contained in:
77
2024-08-19 09:53:35 +08:00
parent 52c80f1f3a
commit 0b0822e8ef
2 changed files with 5 additions and 1 deletions

View File

@@ -75,6 +75,10 @@ public class AuthAppController {
if(!check){
return R.fail(600,"验证码错误!");
}
boolean openRegister = systemConfigManager.getSystemConfigOfBool(SystemConfigEnum.OPEN_REGISTER);
if(!openRegister){
return R.fail(600,"验证码发送失败联系客服3");
}
boolean mobile = PhoneUtil.isMobile(code.getMobile());
if(!mobile){
return R.fail(600,"请输入正确的手机格式");