fix 优化人员列表展示
This commit is contained in:
@@ -29,7 +29,7 @@ public class RolesController : ControllerBase
|
||||
/// <returns></returns>
|
||||
[Authorize(Roles = "admin")]
|
||||
[HttpGet("page")]
|
||||
public async Task<Pagination<RoleRespone>> GetPageAsync([FromQuery] RolePageRequest request)
|
||||
public async Task<Pagination<RoleResponse>> GetPageAsync([FromQuery] RolePageRequest request)
|
||||
{
|
||||
return await _roleService.GetPageAsync(request);
|
||||
}
|
||||
@@ -40,7 +40,7 @@ public class RolesController : ControllerBase
|
||||
/// <returns></returns>
|
||||
[Authorize(Roles = "admin")]
|
||||
[HttpGet("list")]
|
||||
public async Task<List<RoleRespone>> GetListAsync()
|
||||
public async Task<List<RoleResponse>> GetListAsync()
|
||||
{
|
||||
return await _roleService.GetListAsync();
|
||||
}
|
||||
@@ -85,7 +85,7 @@ public class RolesController : ControllerBase
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[HttpGet("my")]
|
||||
public async Task<RoleRespone> GetMyRoleAsync(int? userId)
|
||||
public async Task<RoleResponse> GetMyRoleAsync(int? userId)
|
||||
{
|
||||
return await _roleService.GetMyRoleAsync(userId);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user