refactor(权限点): 查询接口增加层级参数

This commit is contained in:
zhansihu 2023-09-18 13:43:34 +08:00
parent f1528f72a4
commit b24dcbaf0a
2 changed files with 4 additions and 1 deletions

View File

@ -32,4 +32,7 @@ public class PermissionPointTreeQueryReq {
/** 权限点terminal对应workspaceType **/
private List<String> workspaceType;
/** 权限点展示最大层级 **/
private Integer maxLevel;
}

View File

@ -90,7 +90,7 @@ public class PermissionPointServiceImpl implements PermissionPointService {
&& CollectionUtil.isEmpty(request.getIds());
List<PermissionPointTreeNode> resultTree = buildTopNodes(nodesResult, needAllTop);
watch.stop();
watch.prettyPrint();
log.info("permission-point-tree cost:{}", watch.prettyPrint());
return resultTree;
}