完善头像中

This commit is contained in:
lzw
2021-11-02 00:25:23 +08:00
parent eaf64f0873
commit 4349582c69
9 changed files with 355 additions and 6 deletions

View File

@@ -120,7 +120,12 @@ namespace Yi.Framework.ApiMicroservice.Controllers
[HttpGet]
public async Task<Result> GetAxiosByRouter(string router)
{
var _user = HttpContext.GetCurrentUserInfo(out List<int> menuIds);
if (menuIds == null)
{
return Result.Error();
}
var menuList= await _userService.GetAxiosByRouter(router, _user.id, menuIds);
AxiosUrlsModel urlsModel = new();
menuList.ForEach(u =>