文档
测试

试用首页接口

GET
index/tryx/index

接口描述

试用首页接口

响应参数

参数名
类型
描述
必填
seo_keyword
array
必填
value
string
必填
seo_title
array
必填
value
string
必填
seo_description
array
必填
value
string
必填
banner
array
轮播图
必填
id
number
图片id
必填
url
string
指向url
必填
banner
string
轮播图路径
必填
banner_alt
string
轮播图描述
必填
try_list
array
试用列表
必填
id
number
试用id
必填
name
试用名称
必填
thumbnail
图片路径
必填
thumbnail_alt
图片描述
必填
total_num
总数量
必填
is_join
是否申请
必填
best_comment
array
精选评论
必填
id
评论的id
必填
content
内容
必填
create_time
评论时间
必填
compositive
综合评分
必填
nickname
昵称
必填
headimgurl
头像链接
必填
name
奶粉名称
必填
picture_num
图片的总数量 。 此处需要减去3 然后再显示 。若结果大于0则在第三张图片显示剩余图片张数
必填
picture
array
评论的图片
必填
picture
string
图片的路径
必填
birthday
宝宝生日 用于计算宝宝年纪 此项待定
可选

说明 / 示例

```json { "seo_keyword": [ { "value": "本期试用seo关键字" } ], "seo_title": [ { "value": "本期试用seo标题" } ], "seo_description": [ { "value": "本期试用seo描述" } ], "banner": [ { "id": 1, "url": "xxx", "banner": "啧啧啧", "banner_alt": "xxx" } ], "try_list": [ { "id": 1, "name": "试用1", "thumbnail": "", "thumbnail_alt": "xx", "total_num": 3, "price": 0, "is_join": false }, { "id": 2, "name": "阿斯顿撒", "thumbnail": "", "thumbnail_alt": "是", "total_num": 0, "price": 0, "is_join": false } ], "best_comment": [ { "id": 1, "content": "而攻击而二哥热特热个人提供双方都分认为额啊啊啊啊啊21312DFDFDSF", "create_time": 0, "compositive": 5, "nickname": "", "headimgurl": "http://nfzk.oss-cn-chengdu.aliyuncs.com/avatar/200925/8998087988.png", "name": "飞鹤臻爱倍护奶粉1段", "picture_num": 2, "picture": [ { "picture": "信息1" }, { "picture": "信息2" } ] } ] } ```