优化退出接口

This commit is contained in:
季圣华
2021-11-16 23:24:24 +08:00
parent 8c72a21918
commit 6c92337f45

View File

@@ -195,7 +195,6 @@ public class UserController {
BaseResponseInfo res = new BaseResponseInfo();
try {
redisService.deleteObjectBySession(request,"userId");
response.sendRedirect("/login.html");
} catch(Exception e){
e.printStackTrace();
res.code = 500;