Skip to content

Commit

Permalink
[WeChatPay.V3] 修正 收款信息(collection)中的优惠功能(promotion_detail)字段
Browse files Browse the repository at this point in the history
  • Loading branch information
Roc committed Sep 27, 2021
1 parent 281b174 commit dde4f8d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/Essensoft.Paylink.WeChatPay/V3/Domain/CollectionDetail.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System.Text.Json.Serialization;
using System.Collections.Generic;
using System.Text.Json.Serialization;

namespace Essensoft.Paylink.WeChatPay.V3.Domain
{
Expand Down Expand Up @@ -67,6 +68,6 @@ public class CollectionDetail : WeChatPayObject
/// 注:针对2020年5月27日10:00:00以后完结的订单生效
/// </remarks>
[JsonPropertyName("promotion_detail")]
public PromotionDetail PromotionDetail { get; set; }
public List<PromotionDetail> PromotionDetail { get; set; }
}
}

0 comments on commit dde4f8d

Please sign in to comment.