🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
## 限时抢购 ~~~[api] get:http://global.aumalls.com/apipromo/time start_time#开始时间 <<< success { "code":20000, "msg":"限时抢购", "data":[{"start_time":"2017-07-17 10:00:00","end_time":"2017-07-22 12:00:00","name":"抢购2","award_value":"20","goods_id":"1","goods_name":"测试商品1","goods_img":"upload/2017/06/26/20170626160028716.jpg","id":"2"},{"start_time":"2017-07-17 10:00:00","end_time":"2017-07-22 12:00:00","name":"抢购1","award_value":"60","goods_id":"1","goods_name":"测试商品1","goods_img":"upload/2017/06/26/20170626160028716.jpg","id":"3"}] } <<< error { "code": 40002, "msg": "接口验证失败", } ~~~ #### 说明 1. 提交数据:和注册登录一致; 2. 返回数据说明: * 默认不传递参数返回抢购时间段 "data":[{"start_time":"2017-07-17 10:00:00","end_time":"2017-07-22 12:00:00"},{"start_time":"2017-07-17 12:00:00","end_time":"2017-07-22 12:00:00"},{"start_time":"2017-07-21 16:00:00","end_time":"2017-07-21 22:00:00"}] * 根据传递start_time字段请求返回抢购列表 如:start_time = '2017-07-17 10:00:00'