Authored by mali

登录超时的问题

@@ -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){