前端对接接口

This commit is contained in:
橙子
2021-10-19 19:07:42 +08:00
parent ad9d1d9452
commit 99b64f48b0
5 changed files with 50 additions and 31 deletions

View File

@@ -75,7 +75,7 @@ namespace Yi.Framework.ApiMicroservice.Controllers
return Result.Success();
}
[HttpGet]
public async Task<Result> GetMenuByRloeIds(int roleId)
public async Task<Result> GetMenuByRloe(int roleId)
{
var menuList =await _roleService.GetMenusByRoleId(roleId);
return Result.Success().SetData(menuList);