Commit fdc5e8cd authored by dmy's avatar dmy

修改密码短信发送

parent b0d0dfcb
......@@ -413,7 +413,7 @@ public class UserServiceImpl implements UserService {
userVo.setPassword(this.passwordEncoder(webUserReqVo.getPassword()));
}
//短信验证,通过后才可以
String verifyCode = verifyCodeCache.get(webUserReqVo.getPhone());
String verifyCode = verifyCodeCache.get(userVo.getPhone());
if (!webUserReqVo.getVerifyCode().equals(verifyCode)) {
throw new CodeException("验证码错误");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment