[FrontendWebApi] GetUserFull 獲取使用者資訊 api 建置
This commit is contained in:
parent
84bddaaa94
commit
f95674cf15
@ -793,6 +793,17 @@ namespace FrontendWebApi.ApiControllers
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[HttpPost]
|
||||||
|
[Route("api/getUserFull")]
|
||||||
|
public ActionResult GetUserFull()
|
||||||
|
{
|
||||||
|
return Json(new
|
||||||
|
{
|
||||||
|
code = "0000",
|
||||||
|
data = myUser
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
[HttpPost]
|
[HttpPost]
|
||||||
public async Task<ApiResult<string>> GetUsrRolId([FromBody] User post)
|
public async Task<ApiResult<string>> GetUsrRolId([FromBody] User post)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user