文档
测试

首页配置

GET
/api/others/home

接口描述

获取首页应用配置信息

请求参数

参数名
类型
描述
必填
manufacturer
string
厂商 e.g.: huawei
必填
display
string
rom版本
必填
backup
int
备份编号
必填

响应参数

参数名
类型
描述
必填
code
number
响应代码
必填
msg
string
提示字符串
必填
data
object
数据字典
必填
notice
array
通知数据列表
必填
banner
array
轮播图列表
必填
picture
string
示例:http://192.168.1.116:9003/uploads/2019-11-14/15737019935dccc96953a57.png
必填
url
string
示例:http://baidu.com
必填
title
string
示例:关注海报
必填
description
string
示例:1123213
必填
core
array
核心应用列表
必填
title
string
标题
必填
picture
string
图片地址
必填
label
string
标识符
必填
page
string
页面标识
必填
id
number
编号
必填
fee
array
价格信息
必填
title
string
标题
必填
description
string
描述
必填
fee
number
价格 (单位:分)
必填
duration
number
购买后的有效时期 (单位:秒)
必填
id
number
编号
必填
enable
bool
是否支持设备
必填
comprehensive
array
综合应用列表
必填
title
string
示例:微信导出
必填
picture
string
示例:http://192.168.1.116:9003/uploads/2019-11-14/15737022905dccca92427ad.png
必填
label
string
示例:export
必填
page
string
示例:export
必填
id
number
示例:8
必填
fee
array
数据列表
必填
enable
bool
是否支持设备
必填
reject_authority
bool
本地是否已拒绝授权
必填

接口响应

``` { "code": 0, "msg": "", "data": { "notice": [ "xxx 11分钟前购买了会员", "xxx 12分钟前购买了会员" ], "banner": [ { "picture": "http://192.168.1.116:9003/uploads/2019-11-14/15737019935dccc96953a57.png", "url": "http://baidu.com", "title": "关注海报", "description": "1123213" }, { "picture": "http://192.168.1.116:9003/uploads/2019-11-14/15737018125dccc8b4253fd.jpeg", "url": "https://baidu.com", "title": "轮播图2", "description": "测试" } ], "core": [ { "title": "微信记录恢复", "picture": "http://192.168.1.116:9003/uploads/2019-11-13/15736368605dcbcafcd2d00.png", "label": "wx-discovery", "page": "wx-discovery", "id": 1, "fee": [ { "title": "微信记录恢复一年期会员", "description": "这里是描述", "fee": 10000, "duration": 31536000, "id": 1 }, { "title": "微信记录恢复两年期会员", "description": "这里是描述", "fee": 20000, "duration": 63072000, "id": 2 }, { "title": "微信记录恢复三年期限会员", "description": "这里是描述", "fee": 30000, "duration": 94608000, "id": 3 } ] }, { "title": "图片恢复", "picture": "http://192.168.1.116:9003/uploads/2019-11-13/15736319925dcbb7f8172d5.png", "label": "picture", "page": "picture", "id": 2, "fee": [] }, { "title": "语音恢复", "picture": "http://192.168.1.116:9003/uploads/2019-11-13/15736320135dcbb80d33c51.png", "label": "voice", "page": "voice", "id": 3, "fee": [] }, { "title": "视频恢复", "picture": "http://192.168.1.116:9003/uploads/2019-11-13/15736321505dcbb8962c6aa.png", "label": "video", "page": "video", "id": 4, "fee": [] }, { "title": "附件恢复", "picture": "http://192.168.1.116:9003/uploads/2019-11-13/15736322655dcbb90933eea.png", "label": "file", "page": "file", "id": 5, "fee": [] }, { "title": "好友恢复", "picture": "http://192.168.1.116:9003/uploads/2019-11-13/15736322825dcbb91ae94fa.png", "label": "friend", "page": "friend", "id": 6, "fee": [] } ], "comprehensive": [ { "title": "微信导出", "picture": "http://192.168.1.116:9003/uploads/2019-11-14/15737022905dccca92427ad.png", "label": "export", "page": "export", "id": 8, "fee": [] }, { "title": "添加好友", "picture": "http://192.168.1.116:9003/uploads/2019-11-14/15737023165dcccaac074fa.png", "label": "add-friends", "page": "add-friends", "id": 9, "fee": [] } ] } } ```