|
|
|
@ -11,6 +11,7 @@ import com.manage.service.cache.Cache;
|
|
|
|
|
import com.manage.service.cache.CacheManager;
|
|
|
|
|
import com.manage.service.ipml.Power_NoticeServiceImpl;
|
|
|
|
|
import com.manage.service.webSocket.WsPool;
|
|
|
|
|
import com.manage.util.ActionScopeUtils;
|
|
|
|
|
import com.manage.util.DateUtils;
|
|
|
|
|
import com.manage.util.ExceptionPrintUtil;
|
|
|
|
|
import com.manage.util.Msg;
|
|
|
|
@ -579,6 +580,7 @@ public class FontController {
|
|
|
|
|
//移除缓存
|
|
|
|
|
CacheManager.removeCacheByObject(userVo);
|
|
|
|
|
CacheManager.putCache(date,new Cache(date,userVo,TOKEN_EXPIRE_TIME));
|
|
|
|
|
ActionScopeUtils.setSessionAttribute("CURRENT_USER",userVo,Integer.valueOf(String.valueOf(TOKEN_EXPIRE_TIME))/1000);
|
|
|
|
|
return token;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|