mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-09-18 17:48:12 +08:00
feat(wxapi): 随官方更新微信小店获取订单详情接口模型
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /channels/ec/order/get 接口的请求。</para>
|
||||
@@ -11,5 +11,12 @@
|
||||
[Newtonsoft.Json.JsonProperty("order_id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("order_id")]
|
||||
public string OrderId { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置是否对订单进行脱敏。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("encode_sensitive_info")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("encode_sensitive_info")]
|
||||
public bool? RequireEncodeSensitiveInfo { get; set; }
|
||||
}
|
||||
}
|
||||
|
@@ -808,11 +808,25 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
public string? LiveId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置单场景。
|
||||
/// 获取或设置订单场景。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("order_scene")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("order_scene")]
|
||||
public int? OrderScene { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置会员权益 SessionId。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("vip_order_session_id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("vip_order_session_id")]
|
||||
public string? VipOrderSessionId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置分佣单生成进度。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("commission_handling_progress")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("commission_handling_progress")]
|
||||
public int? CommissionHandlingProgress { get; set; }
|
||||
}
|
||||
|
||||
public class Commission
|
||||
@@ -1280,9 +1294,8 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
/// <summary>
|
||||
/// 获取或设置礼物订单 ID。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("present_order_id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("present_order_id")]
|
||||
[System.Text.Json.Serialization.JsonConverter(typeof(System.Text.Json.Serialization.Common.NumericalStringReadOnlyConverter))]
|
||||
[Newtonsoft.Json.JsonProperty("present_order_id_str")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("present_order_id_str")]
|
||||
public string? PresentOrderId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
|
Reference in New Issue
Block a user