Commit d8af9ec085b060bdb6142f5dad416300d895e63b
1 parent
5107846a79
Exists in
master
add token inteceptor
Showing 1 changed file with 1 additions and 2 deletions
parent/hospital.web/src/main/java/com/lyms/hospital/inteceptor/TokenValidateInteceptor.java
View file @
d8af9ec
... | ... | @@ -61,9 +61,8 @@ |
61 | 61 | if (StringUtils.isEmpty(token)) { |
62 | 62 | throw new LoginException("miss auth."); |
63 | 63 | } |
64 | - LoginContext loginContext = sessionProvider.checkSession(httpServletRequest, httpServletResponse, token); | |
65 | 64 | |
66 | - return true; | |
65 | + return sessionProvider.checkSession(httpServletRequest, httpServletResponse, token); | |
67 | 66 | } |
68 | 67 | |
69 | 68 | /** |