Commit 27567a09 by 邓实川

修改

parent d489164e
...@@ -255,8 +255,6 @@ public class LoginController { ...@@ -255,8 +255,6 @@ public class LoginController {
String code = entRegisterDto.getCode().toString(); String code = entRegisterDto.getCode().toString();
// String codeRedis = (String) redisTemplate.get(phone); // String codeRedis = (String) redisTemplate.get(phone);
String codeRedis = session.getAttribute(phone).toString(); String codeRedis = session.getAttribute(phone).toString();
System.err.println(code);
System.err.println(codeRedis);
if (code == null || !code.equals(codeRedis)) { if (code == null || !code.equals(codeRedis)) {
return ResultUtil.error("验证码不符"); return ResultUtil.error("验证码不符");
} }
......
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