智慧保安后台管理-验收版本
tangzy
2021-12-06 30df94c05573a426d030510d4dd58ae1d93bfb7a
src/main/java/org/springblade/modules/system/controller/DeptController.java
@@ -197,8 +197,8 @@
    */
   @GetMapping("/security_lazy-tree")
   @ApiOperation(value = "懒加载树形结构", notes = "树形结构")
   public R<List<DeptVO>> securityLazyTree(String tenantId, Long parentId, BladeUser bladeUser) {
      List<DeptVO> tree = deptService.securityLazyTree(Func.toStrWithEmpty(tenantId, bladeUser.getTenantId()), parentId);
   public R<List<DeptVO>> securityLazyTree(String jurisdiction, Long parentId) {
      List<DeptVO> tree = deptService.securityLazyTree(jurisdiction,parentId);
      return R.data(tree);
   }
}