コード例 #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));
        }
コード例 #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));
        }
コード例 #3
0
ファイル: DesigComents.cs プロジェクト: damoOnly/e-commerce
 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));
 }
コード例 #4
0
ファイル: DesigComents.cs プロジェクト: uvbs/eshopSanQiang
 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));
 }