From 1c4f3bce3d88557b7ddb5f0a49b4be5e91b416f1 Mon Sep 17 00:00:00 2001 From: username@email.com <yzy2002yzy@163.com> Date: 星期四, 14 十月 2021 13:42:33 +0800 Subject: [PATCH] 专家测试--题库管理 --- 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