查询已激活设备列表接口
This commit is contained in:
@ -58,7 +58,6 @@ public class ProjectDataIsolationInterceptor implements HandlerInterceptor {
|
||||
for (Cookie cookie : requestCookies){
|
||||
//获取cookie中的projectIds
|
||||
if ("projectIds".equals(cookie.getName())) {
|
||||
|
||||
if (StringUtils.isNotBlank(cookie.getValue())) {
|
||||
JSONArray objects = JSONUtil.parseArray(cookie.getValue());
|
||||
projectInfo.setProjectIdList(objects.toList(Long.class));
|
||||
@ -67,7 +66,7 @@ public class ProjectDataIsolationInterceptor implements HandlerInterceptor {
|
||||
//获取cookie中的projectId
|
||||
if ("projectId".equals(cookie.getName())) {
|
||||
projectInfo.setProjectId(cookie.getValue());
|
||||
System.err.println("获取cooke的项目id:"+cookie.getValue());
|
||||
// System.err.println("获取cooke的项目id:"+cookie.getValue());
|
||||
}
|
||||
//获取cookie中的userId
|
||||
if ("userId".equals(cookie.getName())) {
|
||||
|
Reference in New Issue
Block a user