文档
测试

首页轮播图

GET
https://shop.szpdc.com/api/shop/banner

响应参数

参数名
类型
描述
必填
carouselItems
array
轮播图
必填
name
string
示例:3.png
必填
url
string
示例:https://shop.szpdc.com/web/content/1006
必填
activity
array
活动图的链接,示例:["https://shop.szpdc.com/web/content/1005", "https://shop.szpdc.com/web/content/1004"]
必填

说明 / 示例

```json { "carouselItems": [ { "name": "3.png", "url": "https://shop.szpdc.com/web/content/1006" }, { "name": "5.jpg", "url": "https://shop.szpdc.com/web/content/1003" }, { "name": "4.jpg", "url": "https://shop.szpdc.com/web/content/1002" }, { "name": "2.jpg", "url": "https://shop.szpdc.com/web/content/1000" }, { "name": "1.jpg", "url": "https://shop.szpdc.com/web/content/999" } ], "activity": [ "https://shop.szpdc.com/web/content/1005", "https://shop.szpdc.com/web/content/1004" ] } ```