店铺优化相关功能
This commit is contained in:
1 parent
9805792aed
commit
0e6a927cf2
43 files changed
+3305
-1604
No files matched your search
@@ -200,6 +200,19 @@ namespace AllBase.Model.Result
|
||||
|
||||
public DateTime? jit_expire_time { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 过期时间戳,单位秒
|
||||
/// </summary>
|
||||
public int? expire_time { get; set; }
|
||||
|
||||
public bool is_shop_expire
|
||||
{
|
||||
get
|
||||
{
|
||||
return BaseClass.UserAuthority.Contains("积分用户") && BaseClass.DateTimeToTimestampSeconds(DateTime.Now) > expire_time.ParseToInt();
|
||||
}
|
||||
}
|
||||
|
||||
public string CurrentProdId { get; set; }
|
||||
}
|
||||
|
||||
@@ -266,6 +279,10 @@ namespace AllBase.Model.Result
|
||||
/// 用户(JIT推单)授权金额
|
||||
/// </summary>
|
||||
public decimal? authorized_amount { get; set; }
|
||||
/// <summary>
|
||||
/// 店铺积分
|
||||
/// </summary>
|
||||
public int points { get; set; }
|
||||
}
|
||||
|
||||
public class ShopSubAccountInfo : SubAccountInfo
|
||||
|
||||
Reference in new issue
Block a user