mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-07-17 01:28:39 +08:00
feat(wxapi): 随官方更新物流助手相关接口模型
This commit is contained in:
parent
ff57982007
commit
04183298e0
@ -154,6 +154,33 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
|||||||
|
|
||||||
public class Shop
|
public class Shop
|
||||||
{
|
{
|
||||||
|
public static class Types
|
||||||
|
{
|
||||||
|
public class GoodsDetail
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置商品名。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("goods_name")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("goods_name")]
|
||||||
|
public string? Name { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置商品缩略图 URL。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("img_url")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("img_url")]
|
||||||
|
public string? ImageUrl { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置商品详情描述。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("goods_desc")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("goods_desc")]
|
||||||
|
public string? Description { get; set; }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置商家小程序的路径。
|
/// 获取或设置商家小程序的路径。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@ -166,21 +193,28 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("img_url")]
|
[Newtonsoft.Json.JsonProperty("img_url")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("img_url")]
|
[System.Text.Json.Serialization.JsonPropertyName("img_url")]
|
||||||
public string ImageUrl { get; set; } = string.Empty;
|
public string? ImageUrl { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置商品名称。
|
/// 获取或设置商品名称。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("goods_name")]
|
[Newtonsoft.Json.JsonProperty("goods_name")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("goods_name")]
|
[System.Text.Json.Serialization.JsonPropertyName("goods_name")]
|
||||||
public string GoodsName { get; set; } = string.Empty;
|
public string? GoodsName { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置商品数量。
|
/// 获取或设置商品数量。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("goods_count")]
|
[Newtonsoft.Json.JsonProperty("goods_count")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("goods_count")]
|
[System.Text.Json.Serialization.JsonPropertyName("goods_count")]
|
||||||
public int GoodsCount { get; set; }
|
public int? GoodsCount { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置商品详情列表。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("detail_list")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("detail_list")]
|
||||||
|
public IList<Types.GoodsDetail>? GoodsDetailList { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public class Insurance
|
public class Insurance
|
||||||
@ -324,5 +358,12 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
|||||||
[Newtonsoft.Json.JsonProperty("expect_time")]
|
[Newtonsoft.Json.JsonProperty("expect_time")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("expect_time")]
|
[System.Text.Json.Serialization.JsonPropertyName("expect_time")]
|
||||||
public long? ExpectedTimestamp { get; set; }
|
public long? ExpectedTimestamp { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置分单策略。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("take_mode")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("take_mode")]
|
||||||
|
public int? TakeMode { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -35,5 +35,12 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
|||||||
[Newtonsoft.Json.JsonProperty("waybill_id")]
|
[Newtonsoft.Json.JsonProperty("waybill_id")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("waybill_id")]
|
[System.Text.Json.Serialization.JsonPropertyName("waybill_id")]
|
||||||
public string? WaybillId { get; set; }
|
public string? WaybillId { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置打印面单类型。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("print_type")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("print_type")]
|
||||||
|
public int? PrintType { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -33,7 +33,19 @@
|
|||||||
"wxa_path": "/index/index?from=waybill&id=01234567890123456789",
|
"wxa_path": "/index/index?from=waybill&id=01234567890123456789",
|
||||||
"img_url": "https://mmbiz.qpic.cn/mmbiz_png/OiaFLUqewuIDNQnTiaCInIG8ibdosYHhQHPbXJUrqYSNIcBL60vo4LIjlcoNG1QPkeH5GWWEB41Ny895CokeAah8A/640",
|
"img_url": "https://mmbiz.qpic.cn/mmbiz_png/OiaFLUqewuIDNQnTiaCInIG8ibdosYHhQHPbXJUrqYSNIcBL60vo4LIjlcoNG1QPkeH5GWWEB41Ny895CokeAah8A/640",
|
||||||
"goods_name": "微信气泡狗抱枕&微信气泡狗钥匙扣",
|
"goods_name": "微信气泡狗抱枕&微信气泡狗钥匙扣",
|
||||||
"goods_count": 2
|
"goods_count": 2,
|
||||||
|
"detail_list": [
|
||||||
|
{
|
||||||
|
"goods_name": "微信气泡狗抱枕(小号)",
|
||||||
|
"goods_img_url": "https://mmbiz.qpic.cn/mmbiz_png/OiaFLUqewuIDNQnTiaCInIG8ibdosYHhQHPbXJUrqYSNIcBL60vo4LIjlcoNG1QPkeH5GWWEB41Ny895CokeAah8A/640",
|
||||||
|
"goods_desc": "40cm * 40cm尺寸"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"goods_name": "微信气泡狗抱枕(中号)",
|
||||||
|
"goods_img_url": "https://mmbiz.qpic.cn/mmbiz_png/OiaFLUqewuIDNQnTiaCInIG8ibdosYHhQHPbXJUrqYSNIcBL60vo4LIjlcoNG1QPkeH5GWWEB41Ny895CokeAah8A/640",
|
||||||
|
"goods_desc": "50cm * 50cm尺寸"
|
||||||
|
}
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"cargo": {
|
"cargo": {
|
||||||
"count": 2,
|
"count": 2,
|
||||||
@ -59,5 +71,6 @@
|
|||||||
"service": {
|
"service": {
|
||||||
"service_type": 0,
|
"service_type": 0,
|
||||||
"service_name": "标准快递"
|
"service_name": "标准快递"
|
||||||
}
|
},
|
||||||
|
"take_mode": 0
|
||||||
}
|
}
|
@ -2,5 +2,6 @@
|
|||||||
"order_id": "01234567890123456789",
|
"order_id": "01234567890123456789",
|
||||||
"openid": "oABC123456",
|
"openid": "oABC123456",
|
||||||
"delivery_id": "SF",
|
"delivery_id": "SF",
|
||||||
"waybill_id": "123456789"
|
"waybill_id": "123456789",
|
||||||
|
"print_type": 1
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user