gonglilong
2024-09-13 0cf306a80a8f189a2a664cf447cc0fbef5684bf8
skjcmanager/skjcmanager-service/skjcmanager-system/src/main/java/cn/gistack/system/controller/RoleController.java
@@ -116,6 +116,18 @@
   }
   /**
    * 根据父级角色查询子角色
    * @param parentId
    * @return
    */
   @GetMapping("/treeByParentIdNew")
   @ApiOperationSupport(order = 3)
   @ApiOperation(value = "树形结构", notes = "树形结构")
   public R<List<RoleVO>> treeByParentIdNew(String parentId) {
      List<RoleVO> tree = roleService.treeByParentIdNew(parentId);
      return R.data(tree);
   }
   /**
    * 获取指定角色树形结构
    */
   @GetMapping("/tree-by-id")