简要描述:
请求域名:
请求路由:
GET/&route=plugin.store-scan-code-meals.frontend.online.index
请求参数说明:
| 参数名 |
类型 |
是否必需 |
说明 |
| store_id |
int |
是 |
门店ID |
返回示例:
正确时返回:
{
"result": 1,
"msg": "online order food",
"data": {
"store": {
"id": 8,
"uid": 2462,
"mobile": "15012345678",
"store_name": "顺通石化测试站",
"category_id": "11,12",
"thumb": "http://demo.yun.cn/static/upload/images/6/2021/12/mojian.jpg",
"province_id": 440000,
"city_id": 440100,
"district_id": 440111,
"street_id": 440111008,
"address": "我的缺点",
"business_hours_start": "01:04",
"business_hours_end": "23:55",
"meal_switch": 1,
"full_address": "广东省 广州市 白云区 新市街道 我的缺点"
},
"classify": [
{
"id": 1,
"uniacid": 6,
"store_id": 8,
"order_by": 0,
"name": "测试分区",
"created_at": "2025-07-22 15:53:08"
}
],
"takeout_table_id": 2,
"payer_id": 2456
}
}
返回参数说明:
| 参数名 |
类型 |
说明 |
|
| store.id |
int |
门店ID |
|
| store.store_name |
int |
门店名称 |
|
| store.thumb |
string |
门店图片 |
|
| store.store_name |
int |
门店名称 |
|
| store.mobile |
string |
联系方式 |
|
| store.full_address |
string |
门店地址 |
|
| store.business_hours_start |
string |
营业开始时间 |
|
| store.business_hours_end |
string |
营业结束时间 |
|
| classify |
array |
分区 |
|
| takeout_table_id |
int |
外带餐桌ID,为0不支持外带 |
|
| payer_id |
int |
创建餐桌付款会员ID |
|
classify参数说明:
| 参数名 |
类型 |
说明 |
|
| id |
int |
分区ID |
|
| name |
int |
分区名称 |
|