Commit 6c92337f authored by 季圣华's avatar 季圣华
Browse files

优化退出接口

parent 8c72a219
...@@ -195,7 +195,6 @@ public class UserController { ...@@ -195,7 +195,6 @@ public class UserController {
BaseResponseInfo res = new BaseResponseInfo(); BaseResponseInfo res = new BaseResponseInfo();
try { try {
redisService.deleteObjectBySession(request,"userId"); redisService.deleteObjectBySession(request,"userId");
response.sendRedirect("/login.html");
} catch(Exception e){ } catch(Exception e){
e.printStackTrace(); e.printStackTrace();
res.code = 500; res.code = 500;
......
Supports Markdown
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