kobe6258 hai 6 meses
pai
achega
0c1b34cd1b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      controllers/sys_department.go

+ 1 - 1
controllers/sys_department.go

@@ -31,7 +31,7 @@ func (this *SysDepartmentController) List() {
 		br.ErrMsg = "获取部门列表失败,Err" + err.Error()
 		return
 	}
-	list := services.GetSysDepartmentTree(departmentList, 0, 1)
+	list := services.GetSysDepartmentTree(departmentList, 0)
 
 	resp := new(response.SysDepartmentListResp)
 	resp.List = list