智慧保安后台管理项目备份
Administrator
2021-09-18 3b1e22dc8460daafc2ecbae478ddcbe5ea21b944
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);
   }
}