From e32f1adbe230790a4d13eba11f1c23c920e317c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A9=99=E5=AD=90?= <454313500@qq.com> Date: Tue, 19 Oct 2021 17:46:09 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=8C=E6=AD=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Yi.Framework.ApiMicroservice/Controllers/UserController.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Yi.Framework/Yi.Framework.ApiMicroservice/Controllers/UserController.cs b/Yi.Framework/Yi.Framework.ApiMicroservice/Controllers/UserController.cs index dcd97f49..b39a901c 100644 --- a/Yi.Framework/Yi.Framework.ApiMicroservice/Controllers/UserController.cs +++ b/Yi.Framework/Yi.Framework.ApiMicroservice/Controllers/UserController.cs @@ -115,11 +115,14 @@ namespace Yi.Framework.ApiMicroservice.Controllers [HttpGet] public async Task GetRolesByUserId(int userId) <<<<<<< Updated upstream +<<<<<<< Updated upstream <<<<<<< Updated upstream { var roleList = await _userService.GetRolesByUser(new user() { id=userId}); ======= ======= +>>>>>>> Stashed changes +======= >>>>>>> Stashed changes { var _user =await _userService.GetEntityById(userId);