feat(wxapi): 新增小程序微信物流服务运费险组件相关接口

This commit is contained in:
Fu Diwei
2024-01-15 19:02:18 +08:00
parent 6123794193
commit 2328072132
50 changed files with 1342 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
{
"shop_order_id": "xxx",
"biz_addr": {
"name": "张三",
"mobile": "13600000000",
"country": "中国",
"province": "广东省",
"city": "广州市",
"area": "海珠区",
"address": "xx路xx号"
},
"user_addr": {
"name": "李四",
"mobile": "13600000000",
"country": "中国",
"province": "广东省",
"city": "广州市",
"area": "海珠区",
"address": "xx路xx号"
},
"openid": "xxx",
"order_path": "xxx",
"goods_list": [
{
"name": "xxx",
"url": "xxx"
}
],
"order_price": 1,
"wx_pay_id": "420000198020231123341140012",
"notify_code": "420000198020231123341140012"
}

View File

@@ -0,0 +1,5 @@
{
"errcode": 0,
"errmsg": "OK",
"return_id": "1935761508265738242"
}

View File

@@ -0,0 +1,9 @@
{
"errcode": 0,
"errmsg": "OK",
"status": "2",
"waybill_id": "JDxxxxxx",
"order_status": 0,
"delivery_name": "申通快递",
"delivery_id": "SF"
}

View File

@@ -0,0 +1,5 @@
{
"errcode": 0,
"errmsg": "ok",
"pay_url": "https://fuwu.weixin.qq.com/service/common/buy?hasApply=1&orderId=2850151276313431996"
}

View File

@@ -0,0 +1,6 @@
{
"openid": "oZGTP5DwGDPfEf1EBBHH_oxHw2aU",
"order_no": "4200001197202103228672982585",
"refund_delivery_no": "rd20230322001",
"refund_company": "SF"
}

View File

@@ -0,0 +1,5 @@
{
"errcode": 0,
"errmsg": "ok",
"report_no": "90581008120350195232"
}

View File

@@ -0,0 +1,5 @@
{
"errcode": 0,
"errmsg": "ok",
"order_id": 2850151276313431996
}

View File

@@ -0,0 +1,19 @@
{
"openid": "oZGTP5DwGDPfEf1EBBHH_oxHw2aU",
"order_no": "4200001197202103228672982585",
"pay_amount": 1,
"pay_time": 1679473667,
"delivery_place": {
"province": "广东省",
"city": "广州市",
"county": "海珠区",
"address": "创业园23号"
},
"receipt_place": {
"province": "广东省",
"city": "惠州市",
"county": "惠普区",
"address": "龙山村10-2"
},
"delivery_no": "d20230322001"
}

View File

@@ -0,0 +1,7 @@
{
"errcode": 0,
"errmsg": "ok",
"policy_no": "10288003264673876282",
"insurance_end_date": "2023-06-20 16:36:54",
"estimate_amount": 1200
}

View File

@@ -0,0 +1,9 @@
{
"status_list": [
2,
4,
5
],
"offset": 0,
"limit": 20
}

View File

@@ -0,0 +1,29 @@
{
"errcode": 0,
"errmsg": "ok",
"list": [
{
"order_no": "4200001197202103228672982584",
"policy_no": "10288003264673876281",
"report_no": "",
"status": 2,
"insurance_end_date": "2023-06-14 19:41:34",
"premium": 20,
"estimate_amount": 1200,
"delivery_no": "delivery20230321001",
"refund_delivery_no": ""
},
{
"order_no": "4200001197202103228672982585",
"policy_no": "10288003264673876282",
"report_no": "90581008120350195232",
"status": 4,
"insurance_end_date": "2023-06-20 16:36:54",
"premium": 20,
"estimate_amount": 1200,
"delivery_no": "delivery20230322001",
"refund_delivery_no": "delivery20230322001"
}
],
"total": 2
}

View File

@@ -0,0 +1,11 @@
{
"status_list": [
2,
3,
4,
5,
6
],
"offset": 0,
"limit": 20
}

View File

@@ -0,0 +1,17 @@
{
"errcode": 0,
"errmsg": "ok",
"list": [
{
"order_id": 2850151276313431996,
"order_status": 5,
"total_price": 1000,
"create_time": 1678966793,
"pay_time": 1678966880,
"can_refund": true,
"refund_time": 0,
"refund_status": 1
}
],
"total": 1
}

View File

@@ -0,0 +1,10 @@
{
"errcode": 0,
"errmsg": "ok",
"total": 1,
"claim_num": 1,
"claim_succ_num": 1,
"premium": 1,
"funds": 1,
"need_close": false
}