[FrontendWebApi] GetUserFull 獲取使用者資訊 api 建置

This commit is contained in:
dev01 2023-01-04 10:48:12 +08:00
parent 84bddaaa94
commit f95674cf15

View File

@ -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)
{ {