Appearance
功能概述
轮播图列表
接口访问
接口地址
home/carousel/list
请求方式 Method
GET
请求参数
| 属性 | 类型 | 长度 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|---|
| keyword | string | 64 | false | 关键词 |
返回值
| 属性 | 类型 | 必填 | 说明 |
|---|---|---|---|
| id | int | true | 轮播ID |
| title | string | true | 轮播标题 |
| description | string | true | 轮播描述 |
| imageUrl | string | true | 图片地址 |
| region | int | true | 轮播展示区域 1.小程序首页 2.PC首页 |
| jumpMethod | string | true | 跳转配置内容 |
| jumpMode | int | true | 点击后形式 1.无反应 2.调整小程序指定位置 3.打开H5 4.跳转指定小程序 5.弹窗(文字)6.弹窗(图片) |
| sort | int | true | 排序 |
| isOnline | int | true | 是否在线 0.否 1.是 |
| isDelete | int | true | 是否被删除 1为被删除 |
| isValidity | int | true | 是否时效性,为1时开始结束时间才会进行判断 0.否 1.是 |
| startTime | string | true | 开始时间 |
| endTime | string | true | 结束时间 |
| deleteTime | string | true | 删除时间 |
| createTime | string | true | 创建时间 |
返回示例
{
"response": {
"list": [
{
"id": 1,
"title": "test",
"description": "123456",
"imageUrl": "12585655663",
"region": 1,
"jumpMethod": "",
"jumpMode": 1,
"sort": 0,
"isOnline": 0,
"isDelete": 0,
"isValidity": 0,
"startTime": "-0001-11-30 00:00:00",
"endTime": "-0001-11-30 00:00:00",
"deleteTime": "2025-05-18 20:31:16",
"createTime": "2025-05-18 20:30:42"
}
],
"total": 1
},
"requestId": "2c77b4c3-7b9e-462e-b5d9-7510a9702186"
}