feat(wxapi): 随官方更新小程序自定义交易组件生成订单的接口模型

This commit is contained in:
Fu Diwei 2022-07-01 20:14:24 +08:00
parent 402651723d
commit a0580dbc12
2 changed files with 14 additions and 5 deletions

View File

@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
@ -270,5 +270,12 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
[Newtonsoft.Json.JsonProperty("aftersale_duration")]
[System.Text.Json.Serialization.JsonPropertyName("aftersale_duration")]
public int? AftersaleDuration { get; set; }
/// <summary>
/// 获取或设置跟踪 ID。
/// </summary>
[Newtonsoft.Json.JsonProperty("trace_id")]
[System.Text.Json.Serialization.JsonPropertyName("trace_id")]
public string? TraceId { get; set; }
}
}

View File

@ -1,4 +1,4 @@
{
{
"create_time": "2020-03-25 13:05:25",
"out_order_id": "xxxxx",
"openid": "oTVP50O53a7jgmawAmxKukNlq3XI",
@ -40,6 +40,10 @@
"city": "城市,选填",
"town": "乡镇,选填"
},
"fund_type": 1,
"expire_time": 1642076428,
"trace_id": "1_lkbvxXM-MpYZMC5hoIa8c1rqdFyUjMLoKNYsaKBFRoE",
"aftersale_duration": 7,
"default_receiving_address": {
"city": "广州市",
"country": "中国",
@ -48,7 +52,5 @@
"receiver_name": "我爱我家",
"tel_number": "18712345678",
"town": "温柔乡"
},
"fund_type": 1,
"expire_time": 1642076428
}
}