protected void Page_Load(object sender, EventArgs e) { var reqUserAutoId = Request["sid"];//分享用户的AutoId website = bllUser.GetWebsiteInfoModelFromDataBase(); CompanyWebsite_Config config = bllWebsite.GetCompanyWebsiteConfig(); if (string.IsNullOrWhiteSpace(website.DistributionShareQrcodeBgImg)) { website.DistributionShareQrcodeBgImg = "http://files.comeoncloud.net/img/gxfc.png"; } channelUser = bllUser.GetUserInfoByAutoID(Convert.ToInt32(reqUserAutoId)); if (!(bllDis.IsChannel(channelUser))) { Response.End(); } qrcondeUrl = bllDis.GetDistributionWxQrcodeLimitUrl(channelUser.UserID, "channel"); if (!string.IsNullOrEmpty(config.DistributionQRCodeIcon) && !string.IsNullOrEmpty(qrcondeUrl)) { qrcondeUrl = bllWeixin.GetQRCodeImg(qrcondeUrl, config.DistributionQRCodeIcon); } pageTitle = bllUser.GetUserDispalyName(channelUser) + "邀请您关注 " + website.WXMallName; }