更新代码

This commit is contained in:
xiao-fajia 2024-09-26 18:52:22 +08:00
parent 83f5436d6d
commit fdec2684cb

View File

@ -198,7 +198,7 @@ public class CompanyStaffController {
**/ **/
@GetMapping("/list") @GetMapping("/list")
@Operation(summary = "获取当前登录用户部门下所有员工信息") @Operation(summary = "获取当前登录用户部门下所有员工信息")
@PreAuthorize("@ss.hasPermission('company:staff:query')") // @PreAuthorize("@ss.hasPermission('company:staff:query')")
public CommonResult<List<CompanyStaff>> getStaffList() { public CommonResult<List<CompanyStaff>> getStaffList() {
return success(staffService.getStaffList()); return success(staffService.getStaffList());
} }