feat:添加令牌效验

This commit is contained in:
橙子
2023-04-18 20:29:53 +08:00
parent 92d9c532c2
commit 85d1cbff34
6 changed files with 117 additions and 0 deletions

View File

@@ -1,4 +1,5 @@
using SqlSugar;
using Yi.Framework.Infrastructure.Attributes;
using Yi.Framework.Infrastructure.CurrentUsers;
using Yi.Framework.Infrastructure.Ddd.Dtos;
using Yi.Framework.Infrastructure.Ddd.Services;
@@ -35,6 +36,7 @@ namespace Yi.Furion.Application.Rbac.Services.Impl
/// </summary>
/// <param name="input"></param>
/// <returns></returns>
[Permission("system:user:list")]
public override async Task<PagedResultDto<UserGetListOutputDto>> GetListAsync(UserGetListInputVo input)
{
var entity = await MapToEntityAsync(input);