mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2026-02-11 02:07:49 +08:00
feat(wxapi): 随官方更新微信小店推客带货机构推广券相关接口模型
This commit is contained in:
@@ -9,6 +9,26 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
|||||||
{
|
{
|
||||||
public class Coupon : ChannelsECCouponGetResponse.Types.Coupon
|
public class Coupon : ChannelsECCouponGetResponse.Types.Coupon
|
||||||
{
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置是否可膨胀。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("is_can_up")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("is_can_up")]
|
||||||
|
public bool IsCanUp { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置膨胀最大倍数。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("can_up_times")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("can_up_times")]
|
||||||
|
public int CanUpTimes { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置最大优惠金额(单位:分)。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("discount_limit")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("discount_limit")]
|
||||||
|
public int? DiscountLimit { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -19,6 +19,13 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
|||||||
[System.Text.Json.Serialization.JsonPropertyName("sharer_openid")]
|
[System.Text.Json.Serialization.JsonPropertyName("sharer_openid")]
|
||||||
public string? SharerOpenId { get; set; }
|
public string? SharerOpenId { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置来源的机构 AppId。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("from_head_supplier_appid")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("from_head_supplier_appid")]
|
||||||
|
public string? FromHeadSupplierAppId { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置券 ID。
|
/// 获取或设置券 ID。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
Reference in New Issue
Block a user