فهرست منبع

修正 promotion_detail

Roc 5 سال پیش
والد
کامیت
4376af7bf8
1فایلهای تغییر یافته به همراه2 افزوده شده و 1 حذف شده
  1. 2 1
      src/Essensoft.AspNetCore.Payment.WeChatPay/Notify/WeChatPayTransactionsNotify.cs

+ 2 - 1
src/Essensoft.AspNetCore.Payment.WeChatPay/Notify/WeChatPayTransactionsNotify.cs

@@ -1,5 +1,6 @@
 #if NETCOREAPP3_1
 
+using System.Collections.Generic;
 using System.Text.Json.Serialization;
 using Essensoft.AspNetCore.Payment.WeChatPay.Domain;
 
@@ -132,7 +133,7 @@ namespace Essensoft.AspNetCore.Payment.WeChatPay.Notify
         /// 优惠功能,享受优惠时返回该字段。
         /// </summary>
         [JsonPropertyName("promotion_detail")]
-        public PromotionDetail PromotionDetail { get; set; }
+        public List<PromotionDetail> PromotionDetail { get; set; }
     }
 }