|
@@ -97,13 +97,13 @@ public class SysDeptController extends BaseLogController{
|
|
@SysLog(logType = "組織架構",value = "查看組織架構")
|
|
@SysLog(logType = "組織架構",value = "查看組織架構")
|
|
public ResultData allListLog(){
|
|
public ResultData allListLog(){
|
|
List<DeptVo> depts = deptService.getListByType(1,getToken());
|
|
List<DeptVo> depts = deptService.getListByType(1,getToken());
|
|
- return ResultData.ok(Arrays.asList(depts));
|
|
|
|
|
|
+ return ResultData.ok(depts);
|
|
}
|
|
}
|
|
|
|
|
|
@PostMapping("/allList")
|
|
@PostMapping("/allList")
|
|
public ResultData list(){
|
|
public ResultData list(){
|
|
List<DeptVo> depts = deptService.getListByType(1,getToken());
|
|
List<DeptVo> depts = deptService.getListByType(1,getToken());
|
|
- return ResultData.ok(Arrays.asList(depts));
|
|
|
|
|
|
+ return ResultData.ok(depts);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|