public void getQX() { BLL.NJ.PermissionsBLL permissionsBLL = new BLL.NJ.PermissionsBLL(); JavaScriptSerializer js = new JavaScriptSerializer(); var table = permissionsBLL.GetPermissios(); string str = js.Serialize(table); HttpContext.Current.Response.Write(str); HttpContext.Current.Response.End(); }
/// <summary> /// 二级菜单 /// </summary> public void getSePermissios1() { BLL.NJ.PermissionsBLL userBLL = new BLL.NJ.PermissionsBLL(); var r = HttpContext.Current.Request.Form["caidan1"]; JavaScriptSerializer js = new JavaScriptSerializer(); var table = userBLL.getSeEJ(r); string str = js.Serialize(table); HttpContext.Current.Response.Write(str); HttpContext.Current.Response.End(); }