同步
This commit is contained in:
@@ -114,10 +114,13 @@ namespace Yi.Framework.ApiMicroservice.Controllers
|
|||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
[HttpGet]
|
[HttpGet]
|
||||||
public async Task<Result> GetRolesByUserId(int userId)
|
public async Task<Result> GetRolesByUserId(int userId)
|
||||||
|
<<<<<<< Updated upstream
|
||||||
<<<<<<< Updated upstream
|
<<<<<<< Updated upstream
|
||||||
{
|
{
|
||||||
var roleList = await _userService.GetRolesByUser(new user() { id=userId});
|
var roleList = await _userService.GetRolesByUser(new user() { id=userId});
|
||||||
=======
|
=======
|
||||||
|
=======
|
||||||
|
>>>>>>> Stashed changes
|
||||||
{
|
{
|
||||||
var _user =await _userService.GetEntityById(userId);
|
var _user =await _userService.GetEntityById(userId);
|
||||||
var roleList = await _userService.GetRolesByUser(_user);
|
var roleList = await _userService.GetRolesByUser(_user);
|
||||||
|
|||||||
Reference in New Issue
Block a user