Hidistro.UI.Web/Vshop/Default.cs
(开头部分) 7KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
namespace Hidistro.UI.Web.Vshop
{
using Hidistro.ControlPanel.Store;
using Hidistro.Core;
using Hidistro.Core.Entities;
using Hidistro.Entities.Members;
using Hidistro.SaleSystem.Vshop;
using Hidistro.UI.Common.Controls;
using Hidistro.UI.SaleSystem.CodeBehind;
using System;
using System.Globalization;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public class Default : Page
{
public string cssSrc = "/Templates/vshop/";
public string Desc = "";
protected HomePage H_Page;
protected string htmlTitleName = string.Empty;
public string imgUrl = "";
protected Hidistro.UI.Common.Controls.MeiQiaSet MeiQiaSet;
public string memberID = "";
public string ShowCopyRight = string.Empty;
public bool showMenu;
public string siteName = "";
public SiteSettings siteSettings;
protected WeixinSet weixin;
protected Literal LiteralShopInfo;
protected Literal LiteralShopLogo;
public void BindUser()
{
MemberInfo currentMember = MemberProcessor.GetCurrentMember();
if (currentMember != null)
{
this.memberID = currentMember.UserId.ToString();
}
}
public void BindWXInfo()
{
if (HttpContext.Current.Request["ReferralId"]!=null)
{
if (Convert.ToInt32(HttpContext.Current.Request["ReferralId"])==0)
{
this.siteName = this.siteSettings.SiteName;
this.imgUrl = "http://" + HttpContext.Current.Request.Url.Host + this.siteSettings.DistributorLogoPic;
this.Desc = this.siteSettings.ShopIntroduction;
}
else
{
DistributorsInfo distributorInfo = DistributorsBrower.GetDistributorInfo(Convert.ToInt32(HttpContext.Current.Request["ReferralId"]));
if (distributorInfo != null)
{
this.siteName = distributorInfo.StoreName;
this.imgUrl = "http://" + HttpContext.Current.Request.Url.Host + distributorInfo.Logo;
this.Desc = distributorInfo.StoreDescription;
后面还有 112 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
