简要描述:
- 通过门店ID获取门店配送模板
请求URL:
GET/plugin.store-cashier.frontend.store.dispatch.get-list
参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
store_id | 是 | int | 门店ID |
返回示例:
正确时返回:
{
result: 1,
msg: "请求成功",
data: {
list: [
{
id: 31,
uniacid: 2,
dispatch_name: "配送",
display_order: 0,
enabled: 1,
is_default: 0,
calculate_type: 0,
areas: "全国 [默认运费]",
first_weight: 1000,
another_weight: 1000,
first_weight_price: "10.00",
another_weight_price: "0.00",
first_piece: 1,
another_piece: 1,
first_piece_price: 0,
another_piece_price: 0,
weight_data: "N;",
piece_data: "N;",
is_plugin: 1,
created_at: "2017-09-26 16:32:53",
updated_at: "2017-12-15 14:26:34",
deleted_at: null
}
]
}
}
错误时返回:
返回参数说明:
参数名 | 类型 | 说明 |
---|---|---|
id | int | 模板ID |
dispatch_name | string | 模板名称 |
备注:
- 更多返回错误代码请看首页的错误代码描述