Commit f7879af69c5812f199b2abc30c14ceec71b58d86
1 parent
062601ba58
Exists in
master
add token inteceptor
Showing 1 changed file with 2 additions and 2 deletions
parent/hospital.web/src/main/java/com/lyms/hospital/session/strategy/LocalRedisSessionStrategy.java
View file @
f7879af
... | ... | @@ -61,12 +61,12 @@ |
61 | 61 | context.setUserId(userId); |
62 | 62 | context.setIpAddr(IpUtils.getHost(request)); |
63 | 63 | |
64 | - Users localUserService = userService.selectById(userId); | |
64 | + /*Users localUserService = userService.selectById(userId); | |
65 | 65 | if (null == localUserService) |
66 | 66 | { |
67 | 67 | throw new LoginException(""); |
68 | 68 | } |
69 | - context.setHospitalId(localUserService.getOrgId()); | |
69 | + context.setHospitalId(localUserService.getOrgId());*/ | |
70 | 70 | ContextHolder.setContext(context); |
71 | 71 | return true; |
72 | 72 | } |