From 3c8f21851a21698fb20526977ea55f034d792ad6 Mon Sep 17 00:00:00 2001 From: Fu Diwei Date: Thu, 5 Feb 2026 17:53:58 +0800 Subject: [PATCH] =?UTF-8?q?feat(wxapi):=20=E9=9A=8F=E5=AE=98=E6=96=B9?= =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=BE=AE=E4=BF=A1=E5=B0=8F=E5=BA=97=E6=8E=A8?= =?UTF-8?q?=E5=AE=A2=E5=B8=A6=E8=B4=A7=E6=9C=BA=E6=9E=84=E6=8E=A8=E5=B9=BF?= =?UTF-8?q?=E5=88=B8=E7=9B=B8=E5=85=B3=E6=8E=A5=E5=8F=A3=E6=A8=A1=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...annelsECPromoterGetCouponDetailResponse.cs | 20 +++++++++++++++++++ ...hannelsECPromoterGetCouponQrcodeRequest.cs | 7 +++++++ 2 files changed, 27 insertions(+) diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECPromoter/Coupon/ChannelsECPromoterGetCouponDetailResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECPromoter/Coupon/ChannelsECPromoterGetCouponDetailResponse.cs index 15307060..46874c57 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECPromoter/Coupon/ChannelsECPromoterGetCouponDetailResponse.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECPromoter/Coupon/ChannelsECPromoterGetCouponDetailResponse.cs @@ -9,6 +9,26 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models { public class Coupon : ChannelsECCouponGetResponse.Types.Coupon { + /// + /// 获取或设置是否可膨胀。 + /// + [Newtonsoft.Json.JsonProperty("is_can_up")] + [System.Text.Json.Serialization.JsonPropertyName("is_can_up")] + public bool IsCanUp { get; set; } + + /// + /// 获取或设置膨胀最大倍数。 + /// + [Newtonsoft.Json.JsonProperty("can_up_times")] + [System.Text.Json.Serialization.JsonPropertyName("can_up_times")] + public int CanUpTimes { get; set; } + + /// + /// 获取或设置最大优惠金额(单位:分)。 + /// + [Newtonsoft.Json.JsonProperty("discount_limit")] + [System.Text.Json.Serialization.JsonPropertyName("discount_limit")] + public int? DiscountLimit { get; set; } } } diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECPromoter/Coupon/ChannelsECPromoterGetCouponQrcodeRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECPromoter/Coupon/ChannelsECPromoterGetCouponQrcodeRequest.cs index 26859ee6..1b0d2ec8 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECPromoter/Coupon/ChannelsECPromoterGetCouponQrcodeRequest.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECPromoter/Coupon/ChannelsECPromoterGetCouponQrcodeRequest.cs @@ -19,6 +19,13 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models [System.Text.Json.Serialization.JsonPropertyName("sharer_openid")] public string? SharerOpenId { get; set; } + /// + /// 获取或设置来源的机构 AppId。 + /// + [Newtonsoft.Json.JsonProperty("from_head_supplier_appid")] + [System.Text.Json.Serialization.JsonPropertyName("from_head_supplier_appid")] + public string? FromHeadSupplierAppId { get; set; } + /// /// 获取或设置券 ID。 ///