优化查询组站点树状列表接口响应速度

This commit is contained in:
mi9688
2024-10-22 14:10:50 +08:00
parent 135a5e295d
commit 2698e9ff29
2 changed files with 31 additions and 8 deletions

View File

@ -52,7 +52,11 @@ public class ProjectDataIsolationInterceptor implements HandlerInterceptor {
return true;
}
//当前项目信息
ProjectInfo projectInfo = ProjectInfo.builder().build();
ProjectInfo projectInfo = ProjectInfo.builder()
.projectId("")
.projectIdList(new ArrayList<>())
.projectAdminId("")
.build();
//获取cookie
Cookie[] requestCookies = request.getCookies();
//获取cookie中的projectIds父项目及其子项目id,projectId(当前项目id),userId当前管理员id