简要描述:
获取多门店核销项目列表
请求URL:
plugin.decorate.admin.decorate-common.search-store-projects
参数:
| 参数名 | 是否必须 | 类型 | 说明 |
|---|---|---|---|
| title | 否 | string | 项目名称 |
| category_id | 否 | string | 分类ID |
| page | 否 | int | 分页 |
返回示例:
正确时返回:
{
"result": 1,
"msg": "成功",
"data": {
"current_page": 1,
"data": [{
"id": 4,
"uniacid": 2,
"title": "项目名称4",
"category_id": 1,
"category_name": "测试分类1"
}],
"first_page_url": "http:\/\/localhost:82\/web\/index.php?page=1",
"from": 1,
"last_page": 1,
"last_page_url": "http:\/\/localhost:82\/web\/index.php?page=1",
"next_page_url": null,
"path": "http:\/\/localhost:82\/web\/index.php",
"per_page": 10,
"prev_page_url": null,
"to": 3,
"total": 3
}
}
错误时返回:
{
"result": 0,
"msg": "暂无数据",
"data": []
}
返回参数说明:
| 参数名 | 类型 | 说明 |
|---|---|---|
| id | int | id |
| title | string | 名称 |
| category_name | string | 分类名称 |
备注:
- 更多返回错误代码请看首页的错误代码描述