简要描述:
- 预约对象列表-分时预约
请求URL:
GET/plugin.reserve-simple.frontend.obj.search-objs
参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
keyword | 否 | string | 搜索关键词 |
返回示例:
正确时返回:
{
"result": 1,
"msg": "成功",
"data": {
"current_page": 1,
"data": [
{
"id": 1,
"uniacid": 2,
"name": "预约对象1",
"thumb": "http://localhost:82/attachment/image/6adc3f84138f014bd480f58fd8a5205f.png",
"description": "简介123"
}
],
"first_page_url": "http://localhost:82/addons/yun_shop/api.php?page=1",
"from": 1,
"last_page": 1,
"last_page_url": "http://localhost:82/addons/yun_shop/api.php?page=1",
"next_page_url": null,
"path": "http://localhost:82/addons/yun_shop/api.php",
"per_page": 10,
"prev_page_url": null,
"to": 1,
"total": 1
}
}
错误时返回:
返回参数说明:
参数名 | 类型 | 说明 |
---|---|---|
id | int | 预约对象ID |
name | string | 预约对象名称 |
thumb | string | 预约对象缩略图 |
description | string | 简介 |
备注:
- 更多返回错误代码请看首页的错误代码描述