简要描述:
- 预约基础数据
请求URL:
plugin.store-projects.frontend.expect.expectData
参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
plugin_order_id | 是 | int | 会员项目ID |
store_name | 否 | string | 门店名称 |
返回示例:
正确时返回:
{
"result": 1,
"msg": "成功",
"data": {
"store_list": {
"current_page": 1,
"data": [{
"id": 35,
"store_name": "in-beauty皮肤管理中心",
"thumb": "https:newimage\/dbe7d7380ccc342f242d7a727c6e15ed.png",
"business_hours_start": "11:00",
"business_hours_end": "21:00",
"expect_days": 0,
"full_address": " ",
"dispatch": null,
"average_score": 5,
"order_total": 0,
"validity_status_name": "入驻中"
}],
"first_page_url": "https:\/\/dev8.yunzmall.com\/addons\/yun_shop\/api.php?page=1",
"from": 1,
"last_page": 1,
"last_page_url": "https:\/\/dev8.yunzmall.com\/addons\/yun_shop\/api.php?page=1",
"next_page_url": null,
"path": "https:\/\/dev8.yunzmall.com\/addons\/yun_shop\/api.php",
"per_page": 15,
"prev_page_url": null,
"to": 1,
"total": 1
},
"expect_days": null
}
}
错误时返回:
返回参数说明:
参数名 | 类型 | 说明 |
---|---|---|
data.expect_days | int | 可提前预约天数 |
data.store_list | arr | 可预约门店列表 |
备注:
- 更多返回错误代码请看首页的错误代码描述