|
@@ -162,7 +162,7 @@ public class SysUserController extends BaseLogController {
|
|
|
List<DeptVo> depts = deptService.getListByType(type,getToken());
|
|
|
List<DeptVo> deptVoList = new ArrayList<>();
|
|
|
getDeptVoList(deptVoList,depts);
|
|
|
- return ResultData.ok(depts);
|
|
|
+ return ResultData.ok(deptVoList);
|
|
|
}
|
|
|
|
|
|
private void getDeptVoList(List<DeptVo> deptVoList, List<DeptVo> depts) {
|