简要描述:
请求域名:
- http://xx.com
请求URL:
POST/plugin.customer-archive.frontend.customer-archive.get-project-list
参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
customer_archive_id | 是 | int | 客户ID |
返回示例:
正确时返回:
{
"result": 1,
"msg": "ok",
"data": {
"current_page": 1,
"data": [
{
"id": 1,
"uniacid": 1,
"customer_archive_id": 1,
"name": "ss",
"teacher_name": 22333,
"price": "222.00",
"remark": "sdasdasd",
"image_list": null,
"created_at": null,
"updated_at": null
}
],
"first_page_url": "http://www.shop777.com/addons/yun_shop/api.php?page=1",
"from": 1,
"last_page": 1,
"last_page_url": "http://www.shop777.com/addons/yun_shop/api.php?page=1",
"links": [
{
"url": null,
"label": "« 上一页",
"active": false
},
{
"url": "http://www.shop777.com/addons/yun_shop/api.php?page=1",
"label": "1",
"active": true
},
{
"url": null,
"label": "下一页 »",
"active": false
}
],
"next_page_url": null,
"path": "http://www.shop777.com/addons/yun_shop/api.php",
"per_page": 15,
"prev_page_url": null,
"to": 1,
"total": 1
}
}
返回参数说明:
参数名 | 类型 | 说明 |
---|---|---|
id | int | 项目id |
name | string | 项目名称 |
teacher_name | string | 操作老师名称 |
price | string | 价格 |
remark | string | 备注 |
image_list | array | 图片数组 |