Beispiel #1
0
        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));
        }
Beispiel #2
0
        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));
        }
Beispiel #3
0
 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));
 }
Beispiel #4
0
 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));
 }