mirror of
https://gitee.com/wangkang/udf.git
synced 2026-11-22 18:53:42 +00:00
更新
This commit is contained in:
+1
@@ -52,6 +52,7 @@ public class WebHandlerInterceptor implements HandlerInterceptor {
|
||||
}
|
||||
//放入请求作用域
|
||||
request.setAttribute(CommonConstant.PARAMETER_NAME_TOKEN_INFO, userDto);
|
||||
request.setAttribute(CommonConstant.PARAMETER_NAME_TOKEN, token);
|
||||
//刷新token ttl
|
||||
dbCacheService.setTtl(token, CommonConstant.TOKEN_CACHE_TTL);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user