//获取登录用户权限 public async Task <ActionResult> GetLoginUserModule(string userid, string ADMINNAME, string userpwd, string ADMINPWD) { return(await Task.Run(() => { return Content(JsonAppHelper.ToJson(api.GetLoginUserModule(userid, ADMINNAME, userpwd, ADMINPWD))); })); }