public void AddTags(ref string result) { int queryString = RequestHelper.GetQueryString <int>("ProductID"); string str = CookiesHelper.ReadCookieValue("TagsCookies" + queryString.ToString()); if ((ShopConfig.ReadConfigInfo().AddTagsRestrictTime > 0) && (str != string.Empty)) { result = "Ç벻ҪƵ·±Ìá½»"; } else { TagsInfo tags = new TagsInfo(); tags.ProductID = queryString; tags.Word = StringHelper.AddSafe(RequestHelper.GetQueryString <string>("Word")); tags.Color = "#4C5A62"; tags.Size = 12; tags.IsTop = 0; tags.UserID = base.UserID; tags.UserName = base.UserName; TagsBLL.AddTags(tags); if (ShopConfig.ReadConfigInfo().AddTagsRestrictTime > 0) { CookiesHelper.AddCookie("TagsCookies" + queryString.ToString(), "TagsCookies" + queryString.ToString(), ShopConfig.ReadConfigInfo().AddTagsRestrictTime, TimeType.Second); } } }