feat(wxapi): 新增视频号小店运费模板相关接口

This commit is contained in:
Fu Diwei
2022-11-02 11:15:20 +08:00
parent 62b86d7c23
commit 9a4510796f
25 changed files with 969 additions and 10 deletions

View File

@@ -0,0 +1,20 @@
{
"freight_template": {
"name": "测试api",
"valuation_type": "PIECE",
"send_time": "SendTime_FOUR_HOUR",
"address_info": {
"user_name": "",
"postal_code": "12345",
"province_name": "广东省",
"city_name": "广州市",
"county_name": "海珠区",
"detail_info": "新港中路",
"national_code": "23456",
"tel_number": "12345"
},
"delivery_type": "EXPRESS",
"shipping_method": "FREE",
"is_default": false
}
}

View File

@@ -0,0 +1,5 @@
{
"errcode": 0,
"errmsg": "ok",
"template_id": "123123"
}

View File

@@ -0,0 +1,35 @@
{
"errcode": 0,
"errmsg": "ok",
"freight_template": {
"template_id": "38983386001",
"name": "运费险",
"valuation_type": "PIECE",
"send_time": "SendTime_FOUR_HOUR",
"address_info": {
"user_name": "",
"postal_code": "",
"province_name": "广东省",
"city_name": "广州市",
"county_name": "海珠区",
"detail_info": "",
"national_code": "",
"tel_number": ""
},
"delivery_type": "EXPRESS",
"delivery_id": [],
"shipping_method": "FREE",
"all_condition_free_detail": {
"condition_free_detail_list": []
},
"all_freight_calc_method": {
"freight_calc_method_list": []
},
"create_time": 1653892643,
"update_time": 1653892643,
"is_default": 0,
"not_send_area": {
"address_info": []
}
}
}

View File

@@ -0,0 +1,16 @@
{
"errcode": 0,
"errmsg": "ok",
"template_id_list": [
"1061",
"2008",
"2047",
"5007",
"5055",
"5148",
"5182",
"5187",
"5188",
"5189"
]
}