Hidistro.Entities/VShop/TplCfgInfo.cs
(开头部分) 3KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
namespace Hidistro.Entities.VShop
{
using System;
using System.Runtime.CompilerServices;
using System.Web;
public class TplCfgInfo
{
public int BannerId { get; set; }
public int DisplaySequence { get; set; }
public int Id
{
get
{
return this.BannerId;
}
set
{
this.Id = this.BannerId;
}
}
public string ImageUrl { get; set; }
public bool IsDisable { get; set; }
public Hidistro.Entities.VShop.LocationType LocationType { get; set; }
public virtual string LoctionUrl
{
get
{
int port = HttpContext.Current.Request.Url.Port;
string str = HttpContext.Current.Request.Url.Host + ((port == 80) ? "" : (":" + port.ToString()));
string url = string.Empty;
switch (this.LocationType)
{
case Hidistro.Entities.VShop.LocationType.Vote:
return string.Format("http://{0}/Vshop/Vote.aspx?VoteId={1}", str, this.Url);
case Hidistro.Entities.VShop.LocationType.Activity:
{
string[] strArray = this.Url.Split(new char[] { ',' });
LotteryActivityType type = (LotteryActivityType) Enum.Parse(typeof(LotteryActivityType), strArray[0]);
switch (type)
{
case LotteryActivityType.SignUp:
return url;
}
return string.Format("http://{0}/Vshop/Activity.aspx?id={1}", str, strArray[1]);
}
case Hidistro.Entities.VShop.LocationType.Home:
return string.Format("http://{0}Default.aspx", str);
case Hidistro.Entities.VShop.LocationType.Category:
return string.Format("http://{0}ProductList.aspx", str);
case Hidistro.Entities.VShop.LocationType.ShoppingCart:
后面还有 43 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
