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

This commit is contained in:
Fu Diwei
2022-06-20 11:22:32 +08:00
parent 3969311b7a
commit ddd0072654
6 changed files with 95 additions and 3 deletions

View File

@@ -40,6 +40,15 @@
"city": "城市,选填",
"town": "乡镇,选填"
},
"default_receiving_address": {
"city": "广州市",
"country": "中国",
"detailed_address": "龙洞250号",
"province": "广东省",
"receiver_name": "我爱我家",
"tel_number": "18712345678",
"town": "温柔乡"
},
"fund_type": 1,
"expire_time": 1642076428
}

View File

@@ -2,15 +2,23 @@
"errcode": 0,
"errmsg": "ok",
"order": {
"order_id": 123455,
"out_order_id": "xxxxx",
"order_id": 3302968738502279424,
"out_order_id": "***************",
"status": 20,
"path": "/pages/order.html?out_order_id=xxxxx",
"default_receiving_address": {
"city": "广州市",
"country": "中国",
"detailed_address": "龙洞250号",
"province": "广东省",
"receiver_name": "我爱我家",
"tel_number": "18712345678",
"town": "温柔乡"
},
"order_detail": {
"promotion_info": {
"promoter_id": "PROMOTER_ID",
"finder_nickname": "FINDER_NICKNAME",
"promoter_openid": "PROMOTER_OPENID",
"sharer_openid": "SHARER_OPENID"
},
"product_infos": [