Commit 01a2690a by 邓实川 Committed by chenzg

修改

parent bdd4e192
......@@ -255,8 +255,6 @@ public class LoginController {
String code = entRegisterDto.getCode().toString();
// String codeRedis = (String) redisTemplate.get(phone);
String codeRedis = session.getAttribute(phone).toString();
System.err.println(code);
System.err.println(codeRedis);
if (code == null || !code.equals(codeRedis)) {
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