refactor(权限点): 查询接口增加层级参数
This commit is contained in:
parent
f1528f72a4
commit
b24dcbaf0a
@ -32,4 +32,7 @@ public class PermissionPointTreeQueryReq {
|
||||
|
||||
/** 权限点terminal对应workspaceType **/
|
||||
private List<String> workspaceType;
|
||||
|
||||
/** 权限点展示最大层级 **/
|
||||
private Integer maxLevel;
|
||||
}
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user