private bool UpdateMorelink(JavaScriptObject morelinkobject) { this.message = string.Format(this.resultformat, "false", "\"修改品牌标签列表失败\""); this.elementId = morelinkobject["Id"].ToString().Split(new char[] { '_' })[1]; morelinkobject["Id"] = this.elementId; Dictionary <string, string> xmlNodeString = this.GetXmlNodeString(morelinkobject); return(TagsHelper.UpdateCommentNode(Convert.ToInt16(this.elementId), "morelink", xmlNodeString)); }
private bool UpdateCommentTitle(JObject titleobject) { this.message = string.Format(this.resultformat, "false", "\"修改品牌标签列表失败\""); this.elementId = titleobject["Id"].ToString().Split('_')[1]; titleobject["Id"] = this.elementId; Dictionary <string, string> xmlNodeString = this.GetXmlNodeString(titleobject); return(TagsHelper.UpdateCommentNode(Convert.ToInt16(this.elementId), "title", xmlNodeString)); }
private bool UpdateCommentTitle(JObject titleobject) { this.message = string.Format(this.resultformat, "false", "\"修改品牌标签列表失败\""); this.elementId = titleobject["Id"].ToString().Split(new char[] { '_' })[1]; titleobject["Id"] = this.elementId; System.Collections.Generic.Dictionary <string, string> xmlNodeString = this.GetXmlNodeString(titleobject); return(TagsHelper.UpdateCommentNode((int)System.Convert.ToInt32(this.elementId), "title", xmlNodeString)); }
private bool UpdateCommentKeyWord(JavaScriptObject keywordobject) { this.message = string.Format(this.resultformat, "false", "\"修改品牌标签列表失败\""); this.elementId = keywordobject["Id"].ToString().Split(new char[] { '_' })[1]; keywordobject["Id"] = this.elementId; System.Collections.Generic.Dictionary <string, string> xmlNodeString = this.GetXmlNodeString(keywordobject); return(TagsHelper.UpdateCommentNode((int)System.Convert.ToInt16(this.elementId), "keyword", xmlNodeString)); }