简要描述:
| 版本号 | 制定人 | 制定日期 | 修订日期 |
|---|---|---|---|
| 1.0.0 | kevin | 2024-11-25 |
请求URL:
请求方式:
- GET/POST
请求头:
| 参数名 | 是否必须 | 类型 | 说明 |
|---|
请求参数:
| 参数名 | 是否必须 | 类型 | 说明 |
|---|---|---|---|
| store_id | 是 | string | 门店ID |
返回示例:
正确时返回:
{
"status": 200,
"msg": "成功",
"data": {
"banner": [
{
"id": 4,
"store_id": 9,
"path": "http://cms5v.com/uploads/banner/2024/11/20/673d7a7ec6207.png",
"url": "/sharemechanic/Wmindex/Wmindex",
},
],
"cate": [
{
"id": 5,
"cate_name": "D型吉他",
"parent": []
},
]
},
"other": []
}
{
"status": 200,
"msg": "成功",
"data": {
"banner": [
{
"id": 9,
"store_id": 10,
"type": 2,
"path": null,
"url": "",
"video_url": "http://cms5v.com/admin/store/banner/add",
"content": ""
}
]
},
"other": []
}
{
"status": 200,
"msg": "成功",
"data": {
"banner": [
{
"id": 11,
"store_id": 8,
"type": 3,
"path": null,
"url": "",
"video_url": "",
"content": "<p>内容</p>\r\n<p>内容</p>\r\n<p>内容</p>\r\n<p>内容</p>\r\n<p>内容</p>\r\n<p>内容</p>\r\n<p>内容</p>\r\n<p>内容</p>\r\n<p>内容</p>\r\n<p>内容</p>\r\n<p>内容</p>"
}
]
},
"other": []
}错误时返回:
{
"status": 0,
"msg": "验证错误"
}返回参数说明:
| 参数名 | 类型 | 说明 |
|---|---|---|
| banner.id | string | ID |
| banner.store_id | string | 门店ID |
| banner.type | string | 类型【1=图片,2=视频,3=内容】 |
| banner.path | string | 图片路径 |
| banner.url | string | 跳转路径 |
| banner.video_url | string | 视频路径 |
| banner.content | string | 内容 |
备注:
- 无
作者:admin 创建时间:2024-11-25 15:59
最后编辑:admin 更新时间:2024-12-31 16:42
最后编辑:admin 更新时间:2024-12-31 16:42