/// <summary> /// 编辑菜单 /// </summary> /// <param name="httpContext"></param> public void EditMenu(HttpContext httpContext) { var customMenu = new Model.CustomMenu(); var customMenuDal = new CustomMenuDal(); var hashTable = new Hashtable(); var id = httpContext.Request.Params["id"]; var type = httpContext.Request.Params["type"]; var name = httpContext.Request.Params["name"]; //var nkey = httpContext.Request.Params["nkey"]; var nurl = httpContext.Request.Params["nurl"]; customMenu.Name = name; //customMenu.Nkey = nkey; customMenu.Id = id; customMenu.Type = type; customMenu.Url = nurl; customMenuDal.Modify(customMenu); hashTable["isSuccess"] = true; hashTable["jsMethod"] = "ajax_EditMenu"; var json = _jss.Serialize(hashTable); httpContext.Response.Write(json); }