// 更新总参与人数 private void Upaddnums(M_Pub mpub) { mpub.PubAddnum = mpub.PubAddnum + 1; pubBll.GetUpdate(mpub); buser.ChangeVirtualMoney(buser.GetLogin().UserID, new M_UserExpHis() { score = SiteConfig.UserConfig.CommentRule, detail = "", ScoreType = (int)M_UserExpHis.SType.Point }); if (string.IsNullOrEmpty(mpub.PubGourl)) { if (mpub.PubGourl == "") { function.Script(this, "ActionSec(1,'" + Server.HtmlEncode(Request.UrlReferrer.ToString()) + "')"); } else { B_CreateShopHtml bll = new B_CreateShopHtml(); bll.CreateShopHtml(mpub.PubGourl); function.Script(this, "ActionSec(1,'" + bll.CreateShopHtml(mpub.PubGourl) + "')"); } } else { B_CreateShopHtml bll = new B_CreateShopHtml(); bll.CreateShopHtml(mpub.PubGourl); function.Script(this, "ActionSec(1,'" + mpub.PubGourl + "')"); } }