/// <summary> /// 删除菜单 /// </summary> private string DeleteMenu(HttpContext context) { string mid = context.Request.Params["mid"]; var jr = new JsonResultModel <int>() { IsSucceed = false, Data = 0, Msg = "删除菜单失败", RedirectUrl = string.Empty }; if (!string.IsNullOrEmpty(mid)) { SysMenuBLL menu_bll = new SysMenuBLL(); if (menu_bll.DeleteMenu(int.Parse(mid)) > 0) { jr.IsSucceed = true; jr.Msg = "删除菜单成功"; jr.Data = int.Parse(mid); } } return(JsonConvert.SerializeObject(jr)); }