注册用户总是提示“手机验证码错误” #2081
This commit is contained in:
parent
70908e184d
commit
54751428b2
|
@ -889,8 +889,12 @@ public class SysUserController {
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if(null == code){
|
||||||
if (!smscode.equals(code)) {
|
result.setMessage("手机验证码失效,请重新获取");
|
||||||
|
result.setSuccess(false);
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
if (!smscode.equals(code.toString())) {
|
||||||
result.setMessage("手机验证码错误");
|
result.setMessage("手机验证码错误");
|
||||||
result.setSuccess(false);
|
result.setSuccess(false);
|
||||||
return result;
|
return result;
|
||||||
|
|
Loading…
Reference in New Issue