mirror of
https://gitee.com/ccnetcore/Yi
synced 2026-03-31 14:16:37 +08:00
更新控制器菜单接口
This commit is contained in:
@@ -74,8 +74,11 @@ namespace Yi.Framework.ApiMicroservice.Controllers
|
||||
await _roleService.SetMenusByRolesId(idsListDto.ids2, idsListDto.ids1);
|
||||
return Result.Success();
|
||||
}
|
||||
|
||||
|
||||
|
||||
[HttpPost]
|
||||
public async Task<Result> GetMenuByRloeIds(List<int> roleIds)
|
||||
{
|
||||
var menuList =await _roleService.GetMenusByRoleId(roleIds);
|
||||
return Result.Success().SetData(menuList);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user