GET /shipping/getExpressTemplateList
请求:
|
字段 |
名称 |
类型 |
是否必须 |
|
page |
分页 |
int |
是 |
|
pageSize |
每页数量 |
int |
是 |
返回:
|
字段 |
名称 |
类型 |
|
id |
商品id |
int |
|
name |
模板名称 |
string |
|
type |
模板类型 0重量 1件数 |
int |
|
items |
地址数据 |
array |
items:
|
字段 |
名称 |
类型 |
|
region_names |
地址名称 |
array |
|
first_amount |
首重/首件 |
int |
|
first_fee |
运费(分) |
int |
|
additional_amount |
续重/续件 |
int |
|
additional_fee |
续费(分) |
int |
|
regions |
地址id |
array |
regions: 如果下级地址是所有都选择了 直接传空值即可。
|
字段 |
名称 |
类型 |
|
id |
地址id |
int |
|
regions |
下级地址id |
array |
{
“code”: 0,
“data”: {
“list”: [
{
“id”: 69484,
“created_at”: null,
“updated_at”: 1644757950,
“name”: “生活家居”,
“sort”: 9,
“level”: 1,
“desc”: “”,
“is_display”: 1,
“image”: “”,
“icon”: “https://supply-chain-zhongtai.oss-cn-beijing.aliyuncs.com/2021119/163644878716357383771625209911pc_img_hot.png”,
“hasChildrens”: true,
“url”: “”,
“source”: 0,
“parent_id”: 0,
“childrens”: null
},
],
“total”: 0,
“page”: 0,
“pageSize”: 0,
“next_url”: “”
},
“msg”: “获取成功”
}