Merge branch 'master' into gray
Showing
1 changed file
with
1 additions
and
1 deletions
@@ -372,7 +372,7 @@ public class SecurityInterceptor implements HandlerInterceptor, ApplicationEvent | @@ -372,7 +372,7 @@ public class SecurityInterceptor implements HandlerInterceptor, ApplicationEvent | ||
372 | return null; | 372 | return null; |
373 | } | 373 | } |
374 | //特殊处理(有可能与有货不共用redis):如果获取到缓存,把缓存再一次保存到ufo的redis中 | 374 | //特殊处理(有可能与有货不共用redis):如果获取到缓存,把缓存再一次保存到ufo的redis中 |
375 | - valueOperations.set(cacheKey,result.getSessionKey(),result.getSessionKeyTimeOut(), TimeUnit.SECONDS); | 375 | + valueOperations.set(cacheKey,uid,result.getSessionKeyTimeOut(), TimeUnit.SECONDS); |
376 | logger.debug("SecurityInterceptor: set session to redis uid {},session key {},result {}",uid,result.getSessionKey(),result); | 376 | logger.debug("SecurityInterceptor: set session to redis uid {},session key {},result {}",uid,result.getSessionKey(),result); |
377 | return String.valueOf(result.getUid()); | 377 | return String.valueOf(result.getUid()); |
378 | }catch(Exception e){ | 378 | }catch(Exception e){ |
-
Please register or login to post a comment