🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
>[warning] ### 更新说明 > **v002版新增 amount 参数** > **v002版返回的data['list']增加参数 l_id** > **v005版 page 改为必要参数** > **v005版 amount 改为必要参数** +++ post:v001/Homes/advanceList *int:udid#用户ID *varchar:token#Token *int:page#页码 *int:amount#每页数量 <<< 请求成功 { "data": { "list": [ { "l_id": 16, "l_udid": 13, "l_date": "2017-06-09", "l_startime": "18:22:00", "l_endtime": "00:00:00", "l_booked": 1, "l_package": 10, "l_gift": 0, "l_description": null, "booked": 20, "u_nickname": "Rob Bourdon", "u_avatar": "https://imgsa.baidu.com/baike/s%3D235/sign=6ffca1d0b54543a9f11bfdcf2b168a7b/63d9f2d3572c11df7509c007612762d0f703c23e.jpg", "s_name": "罗伯·巴登", "s_image": "http://star.img.livestaring.com/v002/Stars/2017/06/14970037148959.jpg", "s_price": "1.00" } ], "num": 2, "page": 1 }, "code": 200, "token": null, "time": 1488888888, "content": { "udid": "1", "token": "c48a6b7421145f32102a1dd208a2980a214d94e7" } } <<< 登录失效 { "data": { "message": "请先重新登录" }, "code": 300, "token": null, "time": 1488888888, "content": { "udid": "1", "token": "c48a6b7421145f32102a1dd208a2980a214d94e7" } } <<< 非法请求 { "data": { "message": "请求错误" }, "code": 500, "token": null, "time": 1488888888, "content": { "udid": "1", "token": "c48a6b7421145f32102a1dd208a2980a214d94e7" } } +++ #### 请求成功 data[]返回数据说明 | 字段名 | 描述 | 备注 | | --- | --- | --- | | list | 列表 | | | num | 总数 | | | page | 页码 | | #### list[]返回数据说明 | 字段名 | 描述 | 备注 | | --- | --- | --- | | l_id | 预播ID | | | l_udid | 明星ID | | | l_date | 直播日期 | | | l_startime | 开始时间 | | | l_endtime | 结束时间 | | | l_booked | 预定人数 | v002新增 | | l_package | 红包发放 | | | l_gift | 奖品发放 | | | l_description | 直播描述 | | | booked | 是否预定 | v002新增 | | u_nickname | 明星昵称 | | | u_avatar | 头像地址 | | | s_name | 明星姓名 | | | s_image | 封面地址 | | | s_price | 价格 | |