文档
测试

app首页查询

GET
{{serverUrl-admin}}/app/api/index/findIndexData

请求头

参数名
类型
描述
必填
Authorization
string
示例:{{Authorization}}
必填

响应参数

参数名
类型
描述
必填
code
int
示例:0
必填
msg
object
示例:null
必填
data
object
数据字典
必填
components
array
数据列表
必填
type
int
示例:1
必填
moduleTitle
string
示例:首页Banner图
必填
componentDetails
array
数据列表
必填
imageLinkType
int
示例:1
必填
imageUrl
string
示例:https://img.alicdn.com/tps/i4///img.alicdn.com/tps/i4//TB1CDhKUvb2gK0jSZK9SuuEgFXa.jpg_790x10000Q75.jpg_.webp
必填
code
int
示例:0
必填
msg
object
示例:null
必填
data
object
数据字典
必填
components
array
数据列表
必填
type
int
示例:1
必填
moduleTitle
string
示例:首页Banner图
必填
componentDetails
array
数据列表
必填
imageLinkType
int
示例:1
必填
imageUrl
string
示例:https://img.alicdn.com/tps/i4///img.alicdn.com/tps/i4//TB1CDhKUvb2gK0jSZK9SuuEgFXa.jpg_790x10000Q75.jpg_.webp
必填

说明 / 示例

```{ "code": 0, "msg": null, "data": { "components": [ { "type": 1, "moduleTitle": "首页Banner图", "componentDetails": [ { "imageLinkType": 1, "imageUrl": "https://img.alicdn.com/tps/i4///img.alicdn.com/tps/i4//TB1CDhKUvb2gK0jSZK9SuuEgFXa.jpg_790x10000Q75.jpg_.webp" }, { "imageLinkType": 6, "imageUrl": "https://gw.alicdn.com/imgextra/i1/1800474/O1CN01lXTksu1FN8MIE9JZb_!!1800474-0-lubanu.jpg_790x10000Q75.jpg_.webp", "outerLink": "http://www.baidu.com" }, { "imageLinkType": 2, "frontMenuId": "1", "imageUrl": "https://gw.alicdn.com/imgextra/i1/1734167/O1CN01eXdllZ1geX1zdbBLa_!!1734167-0-lubanu.jpg_790x10000Q75.jpg_.webp" } ] }, { "type": 2, "moduleTitle": "热区图片1", "componentDetails": [ { "imageLinkType": 1, "imageUrl": "https://img.alicdn.com/tps/i4///img.alicdn.com/tps/i4//TB1CDhKUvb2gK0jSZK9SuuEgFXa.jpg_790x10000Q75.jpg_.webp" } ] }, { "type": 2, "moduleTitle": "热区图片2", "componentDetails": [ { "imageLinkType": 6, "imageUrl": "https://gw.alicdn.com/imgextra/i1/1800474/O1CN01lXTksu1FN8MIE9JZb_!!1800474-0-lubanu.jpg_790x10000Q75.jpg_.webp", "outerLink": "http://www.baidu.com", "positionX": 100, "positionY": 200, "areaLong": 50, "areaWide": 60 } ] }, { "type": 3, "moduleTitleDisplay": 1, "moduleTitle": "一行三列1", "effect": "1", "componentDetails": [ { "imageLinkType": null }, { "imageLinkType": null }, { "imageLinkType": null }, { "imageLinkType": null } ] }, { "type": 4, "moduleTitleDisplay": 0, "moduleTitle": "一行三列2", "effect": "2", "componentDetails": [ { "imageLinkType": null }, { "imageLinkType": null }, { "imageLinkType": null } ] }, { "type": 5, "moduleTitleDisplay": 1, "moduleTitle": "一行两列1", "componentDetails": [ { "imageLinkType": null }, { "imageLinkType": null }, { "imageLinkType": null } ] } ] } } ```