mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-09-19 18:22:24 +08:00
feat(wxapi): 新增小程序购物订单相关接口
This commit is contained in:
@@ -0,0 +1,196 @@
|
||||
{
|
||||
"order_key": {
|
||||
"order_number_type": "MERCHANT_TRADE_NUMBER",
|
||||
"transaction_id": "0unu3",
|
||||
"mchid": "idgsc",
|
||||
"out_trade_no": "e8zef"
|
||||
},
|
||||
"sub_orders": [
|
||||
{
|
||||
"order_key": {
|
||||
"order_number_type": "MERCHANT_TRADE_NUMBER",
|
||||
"transaction_id": "zlt49",
|
||||
"mchid": "uqlxl",
|
||||
"out_trade_no": "pzlfp"
|
||||
},
|
||||
"merchant_order_no": "2343454667633",
|
||||
"order_detail_jump_link": {
|
||||
"url": "https://www.weixin.qq.com/wxpay/pay.php",
|
||||
"appid": "wxd678efh567hg6787",
|
||||
"path": "/path/index/index",
|
||||
"type": "MINI_PROGRAM"
|
||||
},
|
||||
"item_list": [
|
||||
{
|
||||
"merchant_item_id": "1246464644",
|
||||
"name": "iPhoneX 256G",
|
||||
"description": "Image形象店 - 深圳腾大 -QQ 公仔",
|
||||
"unit_price": 828800,
|
||||
"quantity": 2,
|
||||
"image_url": [
|
||||
"https://qpic.cn/xxx",
|
||||
"https://qpic.cn/xxx",
|
||||
"https://qpic.cn/xxx"
|
||||
],
|
||||
"item_detail_jump_link": {
|
||||
"url": "https://www.weixin.qq.com/wxpay/pay.php",
|
||||
"appid": "wxd678efh567hg6787",
|
||||
"path": "/path/index/index",
|
||||
"type": "URL"
|
||||
}
|
||||
},
|
||||
{
|
||||
"merchant_item_id": "1246464644",
|
||||
"name": "iPhoneX 256G",
|
||||
"description": "Image形象店 - 深圳腾大 -QQ 公仔",
|
||||
"unit_price": 828800,
|
||||
"quantity": 2,
|
||||
"image_url": [
|
||||
"https://qpic.cn/xxx",
|
||||
"https://qpic.cn/xxx",
|
||||
"https://qpic.cn/xxx"
|
||||
],
|
||||
"item_detail_jump_link": {
|
||||
"url": "https://www.weixin.qq.com/wxpay/pay.php",
|
||||
"appid": "wxd678efh567hg6787",
|
||||
"path": "/path/index/index",
|
||||
"type": "MINI_PROGRAM"
|
||||
}
|
||||
},
|
||||
{
|
||||
"merchant_item_id": "1246464644",
|
||||
"name": "iPhoneX 256G",
|
||||
"description": "Image形象店 - 深圳腾大 -QQ 公仔",
|
||||
"unit_price": 828800,
|
||||
"quantity": 2,
|
||||
"image_url": ["https://qpic.cn/xxx", "https://qpic.cn/xxx"],
|
||||
"item_detail_jump_link": {
|
||||
"url": "https://www.weixin.qq.com/wxpay/pay.php",
|
||||
"appid": "wxd678efh567hg6787",
|
||||
"path": "/path/index/index",
|
||||
"type": "MINI_PROGRAM"
|
||||
}
|
||||
}
|
||||
],
|
||||
"logistics_type": "LOCATION_BASED_LOGISTICS"
|
||||
},
|
||||
{
|
||||
"order_key": {
|
||||
"order_number_type": "WXPAY_TRADE_NUMBER",
|
||||
"transaction_id": "27kd6",
|
||||
"mchid": "44anx",
|
||||
"out_trade_no": "pj396"
|
||||
},
|
||||
"merchant_order_no": "2343454667633",
|
||||
"order_detail_jump_link": {
|
||||
"url": "https://www.weixin.qq.com/wxpay/pay.php",
|
||||
"appid": "wxd678efh567hg6787",
|
||||
"path": "/path/index/index",
|
||||
"type": "URL"
|
||||
},
|
||||
"item_list": [
|
||||
{
|
||||
"merchant_item_id": "1246464644",
|
||||
"name": "iPhoneX 256G",
|
||||
"description": "Image形象店 - 深圳腾大 -QQ 公仔",
|
||||
"unit_price": 828800,
|
||||
"quantity": 2,
|
||||
"image_url": ["https://qpic.cn/xxx", "https://qpic.cn/xxx"],
|
||||
"item_detail_jump_link": {
|
||||
"url": "https://www.weixin.qq.com/wxpay/pay.php",
|
||||
"appid": "wxd678efh567hg6787",
|
||||
"path": "/path/index/index",
|
||||
"type": "MINI_PROGRAM"
|
||||
}
|
||||
},
|
||||
{
|
||||
"merchant_item_id": "1246464644",
|
||||
"name": "iPhoneX 256G",
|
||||
"description": "Image形象店 - 深圳腾大 -QQ 公仔",
|
||||
"unit_price": 828800,
|
||||
"quantity": 2,
|
||||
"image_url": ["https://qpic.cn/xxx", "https://qpic.cn/xxx"],
|
||||
"item_detail_jump_link": {
|
||||
"url": "https://www.weixin.qq.com/wxpay/pay.php",
|
||||
"appid": "wxd678efh567hg6787",
|
||||
"path": "/path/index/index",
|
||||
"type": "MINI_PROGRAM"
|
||||
}
|
||||
},
|
||||
{
|
||||
"merchant_item_id": "1246464644",
|
||||
"name": "iPhoneX 256G",
|
||||
"description": "Image形象店 - 深圳腾大 -QQ 公仔",
|
||||
"unit_price": 828800,
|
||||
"quantity": 2,
|
||||
"image_url": [
|
||||
"https://qpic.cn/xxx",
|
||||
"https://qpic.cn/xxx",
|
||||
"https://qpic.cn/xxx"
|
||||
],
|
||||
"item_detail_jump_link": {
|
||||
"url": "https://www.weixin.qq.com/wxpay/pay.php",
|
||||
"appid": "wxd678efh567hg6787",
|
||||
"path": "/path/index/index",
|
||||
"type": "MINI_PROGRAM"
|
||||
}
|
||||
}
|
||||
],
|
||||
"logistics_type": "LOCATION_BASED_LOGISTICS"
|
||||
},
|
||||
{
|
||||
"order_key": {
|
||||
"order_number_type": "WXPAY_TRADE_NUMBER",
|
||||
"transaction_id": "0jo3k",
|
||||
"mchid": "6rcmv",
|
||||
"out_trade_no": "yld2x"
|
||||
},
|
||||
"merchant_order_no": "2343454667633",
|
||||
"order_detail_jump_link": {
|
||||
"url": "https://www.weixin.qq.com/wxpay/pay.php",
|
||||
"appid": "wxd678efh567hg6787",
|
||||
"path": "/path/index/index",
|
||||
"type": "MINI_PROGRAM"
|
||||
},
|
||||
"item_list": [
|
||||
{
|
||||
"merchant_item_id": "1246464644",
|
||||
"name": "iPhoneX 256G",
|
||||
"description": "Image形象店 - 深圳腾大 -QQ 公仔",
|
||||
"unit_price": 828800,
|
||||
"quantity": 2,
|
||||
"image_url": [
|
||||
"https://qpic.cn/xxx",
|
||||
"https://qpic.cn/xxx",
|
||||
"https://qpic.cn/xxx"
|
||||
],
|
||||
"item_detail_jump_link": {
|
||||
"url": "https://www.weixin.qq.com/wxpay/pay.php",
|
||||
"appid": "wxd678efh567hg6787",
|
||||
"path": "/path/index/index",
|
||||
"type": "MINI_PROGRAM"
|
||||
}
|
||||
},
|
||||
{
|
||||
"merchant_item_id": "1246464644",
|
||||
"name": "iPhoneX 256G",
|
||||
"description": "Image形象店 - 深圳腾大 -QQ 公仔",
|
||||
"unit_price": 828800,
|
||||
"quantity": 2,
|
||||
"image_url": ["https://qpic.cn/xxx", "https://qpic.cn/xxx"],
|
||||
"item_detail_jump_link": {
|
||||
"url": "https://www.weixin.qq.com/wxpay/pay.php",
|
||||
"appid": "wxd678efh567hg6787",
|
||||
"path": "/path/index/index",
|
||||
"type": "MINI_PROGRAM"
|
||||
}
|
||||
}
|
||||
],
|
||||
"logistics_type": "LOCATION_BASED_LOGISTICS"
|
||||
}
|
||||
],
|
||||
"payer": {
|
||||
"openid": "oUpF8uMuAJO_M2pxb1Q9zNjWeS6o"
|
||||
},
|
||||
"upload_time": "2022-05-20T13:29:35.120"
|
||||
}
|
@@ -0,0 +1,146 @@
|
||||
{
|
||||
"order_key": {
|
||||
"order_number_type": "MERCHANT_TRADE_NUMBER",
|
||||
"transaction_id": "0unu3",
|
||||
"mchid": "idgsc",
|
||||
"out_trade_no": "e8zef"
|
||||
},
|
||||
"sub_orders": [
|
||||
{
|
||||
"order_key": {
|
||||
"order_number_type": "MERCHANT_TRADE_NUMBER",
|
||||
"transaction_id": "6r6m0",
|
||||
"mchid": "kzwri",
|
||||
"out_trade_no": "v1rsd"
|
||||
},
|
||||
"delivery_mode": "SPLIT_DELIVERY",
|
||||
"shipping_list": [
|
||||
{
|
||||
"tracking_no": "323244567777",
|
||||
"express_company": "DHL",
|
||||
"item_list": [
|
||||
{
|
||||
"merchant_item_id": "1246464644"
|
||||
},
|
||||
{
|
||||
"merchant_item_id": "1246464644"
|
||||
}
|
||||
],
|
||||
"contact": {
|
||||
"consignor_contact": "****1234",
|
||||
"receiver_contact": "189****1234"
|
||||
}
|
||||
},
|
||||
{
|
||||
"tracking_no": "323244567777",
|
||||
"express_company": "DHL",
|
||||
"item_list": [
|
||||
{
|
||||
"merchant_item_id": "1246464644"
|
||||
},
|
||||
{
|
||||
"merchant_item_id": "1246464644"
|
||||
}
|
||||
],
|
||||
"contact": {
|
||||
"consignor_contact": "****1234",
|
||||
"receiver_contact": "0**2-******23-10"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"order_key": {
|
||||
"order_number_type": "MERCHANT_TRADE_NUMBER",
|
||||
"transaction_id": "2m08y",
|
||||
"mchid": "fr2db",
|
||||
"out_trade_no": "m2dok"
|
||||
},
|
||||
"delivery_mode": "UNIFIED_DELIVERY",
|
||||
"shipping_list": [
|
||||
{
|
||||
"tracking_no": "323244567777",
|
||||
"express_company": "DHL",
|
||||
"item_list": [
|
||||
{
|
||||
"merchant_item_id": "1246464644"
|
||||
},
|
||||
{
|
||||
"merchant_item_id": "1246464644"
|
||||
}
|
||||
],
|
||||
"contact": {
|
||||
"consignor_contact": "0**2-***1234",
|
||||
"receiver_contact": "****123-8008"
|
||||
}
|
||||
},
|
||||
{
|
||||
"tracking_no": "323244567777",
|
||||
"express_company": "DHL",
|
||||
"item_list": [
|
||||
{
|
||||
"merchant_item_id": "1246464644"
|
||||
},
|
||||
{
|
||||
"merchant_item_id": "1246464644"
|
||||
},
|
||||
{
|
||||
"merchant_item_id": "1246464644"
|
||||
}
|
||||
],
|
||||
"contact": {
|
||||
"consignor_contact": "0**2-***1234",
|
||||
"receiver_contact": "189****1234"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"order_key": {
|
||||
"order_number_type": "MERCHANT_TRADE_NUMBER",
|
||||
"transaction_id": "dxy5d",
|
||||
"mchid": "w5acd",
|
||||
"out_trade_no": "tqbik"
|
||||
},
|
||||
"delivery_mode": "UNIFIED_DELIVERY",
|
||||
"shipping_list": [
|
||||
{
|
||||
"tracking_no": "323244567777",
|
||||
"express_company": "DHL",
|
||||
"item_list": [
|
||||
{
|
||||
"merchant_item_id": "1246464644"
|
||||
},
|
||||
{
|
||||
"merchant_item_id": "1246464644"
|
||||
}
|
||||
],
|
||||
"contact": {
|
||||
"consignor_contact": "****123-8008",
|
||||
"receiver_contact": "****1234"
|
||||
}
|
||||
},
|
||||
{
|
||||
"tracking_no": "323244567777",
|
||||
"express_company": "DHL",
|
||||
"item_list": [
|
||||
{
|
||||
"merchant_item_id": "1246464644"
|
||||
},
|
||||
{
|
||||
"merchant_item_id": "1246464644"
|
||||
}
|
||||
],
|
||||
"contact": {
|
||||
"consignor_contact": "****123-8008",
|
||||
"receiver_contact": "0**2-***1234"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"payer": {
|
||||
"openid": "oUpF8uMuAJO_M2pxb1Q9zNjWeS6o"
|
||||
},
|
||||
"upload_time": "2022-05-20T13:29:35.120"
|
||||
}
|
@@ -0,0 +1,176 @@
|
||||
{
|
||||
"order_key": {
|
||||
"order_number_type": "MERCHANT_TRADE_NUMBER",
|
||||
"transaction_id": "0unu3",
|
||||
"mchid": "idgsc",
|
||||
"out_trade_no": "e8zef"
|
||||
},
|
||||
"order_list": [
|
||||
{
|
||||
"merchant_order_no": "232457563423",
|
||||
"order_detail_jump_link": {
|
||||
"url": "https://www.weixin.qq.com/wxpay/pay.php",
|
||||
"appid": "wxd678efh567hg6787",
|
||||
"path": "/path/index/index",
|
||||
"type": "MINI_PROGRAM"
|
||||
},
|
||||
"item_list": [
|
||||
{
|
||||
"merchant_item_id": "1246464644",
|
||||
"name": "iPhoneX 256G",
|
||||
"description": "Image形象店 - 深圳腾大 -QQ 公仔",
|
||||
"unit_price": 828800,
|
||||
"quantity": 2,
|
||||
"image_url": [
|
||||
"https://qpic.cn/xxx",
|
||||
"https://qpic.cn/xxx",
|
||||
"https://qpic.cn/xxx"
|
||||
],
|
||||
"item_detail_jump_link": {
|
||||
"url": "https://www.weixin.qq.com/wxpay/pay.php",
|
||||
"appid": "wxd678efh567hg6787",
|
||||
"path": "/path/index/index",
|
||||
"type": "URL"
|
||||
}
|
||||
},
|
||||
{
|
||||
"merchant_item_id": "1246464644",
|
||||
"name": "iPhoneX 256G",
|
||||
"description": "Image形象店 - 深圳腾大 -QQ 公仔",
|
||||
"unit_price": 828800,
|
||||
"quantity": 2,
|
||||
"image_url": ["https://qpic.cn/xxx", "https://qpic.cn/xxx"],
|
||||
"item_detail_jump_link": {
|
||||
"url": "https://www.weixin.qq.com/wxpay/pay.php",
|
||||
"appid": "wxd678efh567hg6787",
|
||||
"path": "/path/index/index",
|
||||
"type": "MINI_PROGRAM"
|
||||
}
|
||||
},
|
||||
{
|
||||
"merchant_item_id": "1246464644",
|
||||
"name": "iPhoneX 256G",
|
||||
"description": "Image形象店 - 深圳腾大 -QQ 公仔",
|
||||
"unit_price": 828800,
|
||||
"quantity": 2,
|
||||
"image_url": [
|
||||
"https://qpic.cn/xxx",
|
||||
"https://qpic.cn/xxx",
|
||||
"https://qpic.cn/xxx"
|
||||
],
|
||||
"item_detail_jump_link": {
|
||||
"url": "https://www.weixin.qq.com/wxpay/pay.php",
|
||||
"appid": "wxd678efh567hg6787",
|
||||
"path": "/path/index/index",
|
||||
"type": "URL"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"merchant_order_no": "232457563423",
|
||||
"order_detail_jump_link": {
|
||||
"url": "https://www.weixin.qq.com/wxpay/pay.php",
|
||||
"appid": "wxd678efh567hg6787",
|
||||
"path": "/path/index/index",
|
||||
"type": "URL"
|
||||
},
|
||||
"item_list": [
|
||||
{
|
||||
"merchant_item_id": "1246464644",
|
||||
"name": "iPhoneX 256G",
|
||||
"description": "Image形象店 - 深圳腾大 -QQ 公仔",
|
||||
"unit_price": 828800,
|
||||
"quantity": 2,
|
||||
"image_url": ["https://qpic.cn/xxx", "https://qpic.cn/xxx"],
|
||||
"item_detail_jump_link": {
|
||||
"url": "https://www.weixin.qq.com/wxpay/pay.php",
|
||||
"appid": "wxd678efh567hg6787",
|
||||
"path": "/path/index/index",
|
||||
"type": "URL"
|
||||
}
|
||||
},
|
||||
{
|
||||
"merchant_item_id": "1246464644",
|
||||
"name": "iPhoneX 256G",
|
||||
"description": "Image形象店 - 深圳腾大 -QQ 公仔",
|
||||
"unit_price": 828800,
|
||||
"quantity": 2,
|
||||
"image_url": [
|
||||
"https://qpic.cn/xxx",
|
||||
"https://qpic.cn/xxx",
|
||||
"https://qpic.cn/xxx"
|
||||
],
|
||||
"item_detail_jump_link": {
|
||||
"url": "https://www.weixin.qq.com/wxpay/pay.php",
|
||||
"appid": "wxd678efh567hg6787",
|
||||
"path": "/path/index/index",
|
||||
"type": "URL"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"merchant_order_no": "232457563423",
|
||||
"order_detail_jump_link": {
|
||||
"url": "https://www.weixin.qq.com/wxpay/pay.php",
|
||||
"appid": "wxd678efh567hg6787",
|
||||
"path": "/path/index/index",
|
||||
"type": "MINI_PROGRAM"
|
||||
},
|
||||
"item_list": [
|
||||
{
|
||||
"merchant_item_id": "1246464644",
|
||||
"name": "iPhoneX 256G",
|
||||
"description": "Image形象店 - 深圳腾大 -QQ 公仔",
|
||||
"unit_price": 828800,
|
||||
"quantity": 2,
|
||||
"image_url": [
|
||||
"https://qpic.cn/xxx",
|
||||
"https://qpic.cn/xxx",
|
||||
"https://qpic.cn/xxx"
|
||||
],
|
||||
"item_detail_jump_link": {
|
||||
"url": "https://www.weixin.qq.com/wxpay/pay.php",
|
||||
"appid": "wxd678efh567hg6787",
|
||||
"path": "/path/index/index",
|
||||
"type": "URL"
|
||||
}
|
||||
},
|
||||
{
|
||||
"merchant_item_id": "1246464644",
|
||||
"name": "iPhoneX 256G",
|
||||
"description": "Image形象店 - 深圳腾大 -QQ 公仔",
|
||||
"unit_price": 828800,
|
||||
"quantity": 2,
|
||||
"image_url": ["https://qpic.cn/xxx", "https://qpic.cn/xxx"],
|
||||
"item_detail_jump_link": {
|
||||
"url": "https://www.weixin.qq.com/wxpay/pay.php",
|
||||
"appid": "wxd678efh567hg6787",
|
||||
"path": "/path/index/index",
|
||||
"type": "MINI_PROGRAM"
|
||||
}
|
||||
},
|
||||
{
|
||||
"merchant_item_id": "1246464644",
|
||||
"name": "iPhoneX 256G",
|
||||
"description": "Image形象店 - 深圳腾大 -QQ 公仔",
|
||||
"unit_price": 828800,
|
||||
"quantity": 2,
|
||||
"image_url": ["https://qpic.cn/xxx", "https://qpic.cn/xxx"],
|
||||
"item_detail_jump_link": {
|
||||
"url": "https://www.weixin.qq.com/wxpay/pay.php",
|
||||
"appid": "wxd678efh567hg6787",
|
||||
"path": "/path/index/index",
|
||||
"type": "MINI_PROGRAM"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"payer": {
|
||||
"openid": "oUpF8uMuAJO_M2pxb1Q9zNjWeS6o"
|
||||
},
|
||||
"logistics_type": "LOCATION_BASED_LOGISTICS",
|
||||
"upload_time": "2022-05-20T13:29:35.120"
|
||||
}
|
@@ -0,0 +1,53 @@
|
||||
{
|
||||
"order_key": {
|
||||
"order_number_type": "MERCHANT_TRADE_NUMBER",
|
||||
"transaction_id": "nep9a",
|
||||
"mchid": "8wu3m",
|
||||
"out_trade_no": "x5mr9"
|
||||
},
|
||||
"delivery_mode": "UNIFIED_DELIVERY",
|
||||
"shipping_list": [
|
||||
{
|
||||
"tracking_no": "323244567777",
|
||||
"express_company": "DHL",
|
||||
"item_list": [
|
||||
{
|
||||
"merchant_item_id": "1246464644"
|
||||
},
|
||||
{
|
||||
"merchant_item_id": "1246464644"
|
||||
},
|
||||
{
|
||||
"merchant_item_id": "1246464644"
|
||||
}
|
||||
],
|
||||
"contact": {
|
||||
"consignor_contact": "0**2-******23-10",
|
||||
"receiver_contact": "****123-8008"
|
||||
}
|
||||
},
|
||||
{
|
||||
"tracking_no": "323244567777",
|
||||
"express_company": "DHL",
|
||||
"item_list": [
|
||||
{
|
||||
"merchant_item_id": "1246464644"
|
||||
},
|
||||
{
|
||||
"merchant_item_id": "1246464644"
|
||||
},
|
||||
{
|
||||
"merchant_item_id": "1246464644"
|
||||
}
|
||||
],
|
||||
"contact": {
|
||||
"consignor_contact": "0**2-***1234",
|
||||
"receiver_contact": "0**2-******23-10"
|
||||
}
|
||||
}
|
||||
],
|
||||
"upload_time": "2021-05-20T13:29:35.12",
|
||||
"payer": {
|
||||
"openid": "oUpF8uMuAJO_M2pxb1Q9zNjWeS6o"
|
||||
}
|
||||
}
|
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"order_key": {
|
||||
"order_number_type": "WXPAY_TRADE_NUMBER",
|
||||
"transaction_id": "g2frh",
|
||||
"mchid": "2qf8n",
|
||||
"out_trade_no": "t6htn"
|
||||
},
|
||||
"payer": {
|
||||
"openid": "oUpF8uMuAJO_M2pxb1Q9zNjWeS6o"
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user