店铺优化相关功能

This commit is contained in:
wule committed 2026-04-24 21:48:22 +08:00
1 parent 9805792aed
commit 0e6a927cf2
43 files changed
+3305 -1604

No files matched your search

+17
View File
@@ -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