From 5915e15b051281d6805114d70b0c6db33ed4a225 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:16 +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 b39a901c..605f7ef8 100644 --- a/Yi.Framework/Yi.Framework.ApiMicroservice/Controllers/UserController.cs +++ b/Yi.Framework/Yi.Framework.ApiMicroservice/Controllers/UserController.cs @@ -116,6 +116,7 @@ namespace Yi.Framework.ApiMicroservice.Controllers public async Task GetRolesByUserId(int userId) <<<<<<< Updated upstream <<<<<<< Updated upstream +<<<<<<< Updated upstream <<<<<<< Updated upstream { var roleList = await _userService.GetRolesByUser(new user() { id=userId}); @@ -123,6 +124,8 @@ namespace Yi.Framework.ApiMicroservice.Controllers ======= >>>>>>> Stashed changes ======= +>>>>>>> Stashed changes +======= >>>>>>> Stashed changes { var _user =await _userService.GetEntityById(userId);