更新代码
This commit is contained in:
parent
83f5436d6d
commit
fdec2684cb
@ -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());
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user