xiangpei
2024-09-24 02ba23adb5897029dc898ae5e2549a3fab067a93
src/main/java/com/mindskip/xzs/controller/admin/DepartmentController.java
@@ -146,7 +146,7 @@
    @RequestMapping(value = "/getDeptAdmins", method = RequestMethod.GET)
    public RestResponse<List<Department>> getDeptAdmins(){
        return RestResponse.ok(userService.getDeptAdmins(isDeptAdmin() ? getCurrentUser().getId() : null));
        return RestResponse.ok(userService.getDeptAdmins(isDeptAdmin() ? getAdminDeptIds() : null));
    }
    @GetMapping("/cascader")