From f95674cf15062275d23452c98a9b4a06ad7f0a97 Mon Sep 17 00:00:00 2001 From: dev01 Date: Wed, 4 Jan 2023 10:48:12 +0800 Subject: [PATCH] =?UTF-8?q?[FrontendWebApi]=20GetUserFull=20=E7=8D=B2?= =?UTF-8?q?=E5=8F=96=E4=BD=BF=E7=94=A8=E8=80=85=E8=B3=87=E8=A8=8A=20api=20?= =?UTF-8?q?=E5=BB=BA=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- FrontendWebApi/ApiControllers/UserController.cs | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/FrontendWebApi/ApiControllers/UserController.cs b/FrontendWebApi/ApiControllers/UserController.cs index bea4da9..f889ac2 100644 --- a/FrontendWebApi/ApiControllers/UserController.cs +++ b/FrontendWebApi/ApiControllers/UserController.cs @@ -793,6 +793,17 @@ namespace FrontendWebApi.ApiControllers }); } + [HttpPost] + [Route("api/getUserFull")] + public ActionResult GetUserFull() + { + return Json(new + { + code = "0000", + data = myUser + }); + } + [HttpPost] public async Task> GetUsrRolId([FromBody] User post) {