From f33ece65bdfd7b8354bd5046d4b9d2d600643b0f Mon Sep 17 00:00:00 2001 From: username@email.com <yzy2002yzy@163.com> Date: 星期六, 09 十月 2021 13:24:51 +0800 Subject: [PATCH] tijiao --- zhengcaioa/zhengcaioa/Controllers/UserController.cs | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/zhengcaioa/zhengcaioa/Controllers/UserController.cs b/zhengcaioa/zhengcaioa/Controllers/UserController.cs index 1f55740..ab973af 100644 --- a/zhengcaioa/zhengcaioa/Controllers/UserController.cs +++ b/zhengcaioa/zhengcaioa/Controllers/UserController.cs @@ -473,6 +473,16 @@ return View(); } + [CheckLogin] + public string GetUserListJiBenGongZi(PltUserDTOSearch search) + { + var curentuser = JsonConvert.DeserializeObject<PltUser>(HttpContext.Session.GetString("User")); + ViewData["curentuser"] = curentuser; + search.Zhiwustatus = "A"; + //JsonResult jsonResult = new JsonResult(_liaotianService.SearchByPaging(search), new Newtonsoft.Json.Serialization.DefaultContractResolver()); + return JsonConvert.SerializeObject(_userService.SearchByPaging(search)); + } + #region 淇敼澶囨敞 [CheckLogin] -- Gitblit v1.9.1