预售列表页
接口描述:
- 预售列表页(presale/list)
接口版本:
| 版本号 | 制定人 | 制定日期 | 修订日期 |
|---|---|---|---|
| 1.0.0 | wanganlin | 2017-03-20 | 2017-03-25 |
请求URL:
- http://domain/api/v4/presale/list
请求方式:
- GET
请求头:
| 参数名 | 是否必须 | 类型 | 说明 |
|---|---|---|---|
| Content-Type | 是 | String | 请求类型: application/json |
| token | 是 | String | 请求内容签名 |
请求参数:
| 参数名 | 是否必须 | 默认值 | 类型 | 说明 |
|---|
返回示例:
正确时返回:
{
"status": "success",
"data": {
"pre_goods": [
{
"goods_id": 893,
"cat_id": 0,
"user_cat": 49,
"user_id": 9,
"goods_sn": "ECS000893",
"bar_code": "",
"goods_name": "Maybelline/美宝莲好气色水润唇部套装 滋润保湿持久显色唇露唇膏",
"goods_name_style": "+",
"click_count": 1,
"brand_id": 81,
"provider_name": "",
"goods_number": 1000,
"goods_weight": "0.000",
"default_shipping": 0,
"market_price": "201.60",
"cost_price": "0.00",
"shop_price": "168.00",
"promote_price": "0.00",
"promote_start_date": 0,
"promote_end_date": 0,
"warn_number": 1,
"keywords": "",
"goods_brief": "",
"goods_desc": "",
"desc_mobile": "",
"goods_thumb": "images/201703/thumb_img/0_thumb_G_1490224521598.jpg",
"goods_img": "http://domain/storage/images/201703/goods_img/0_G_1490224521570.jpg",
"original_img": "images/201703/source_img/0_G_1490224521131.jpg",
"is_real": 1,
"extension_code": "",
"is_on_sale": 0,
"is_alone_sale": 1,
"is_shipping": 0,
"integral": 0,
"add_time": 1490224524,
"sort_order": 100,
"is_delete": 0,
"is_best": 1,
"is_new": 1,
"is_hot": 1,
"is_promote": 0,
"is_volume": 0,
"is_fullcut": 0,
"bonus_type_id": 0,
"last_update": 1490918878,
"goods_type": 0,
"seller_note": "",
"give_integral": 0,
"rank_integral": 0,
"suppliers_id": 0,
"is_check": null,
"store_hot": 0,
"store_new": 0,
"store_best": 0,
"group_number": 0,
"is_xiangou": 0,
"xiangou_start_date": 0,
"xiangou_end_date": 0,
"xiangou_num": 0,
"review_status": 3,
"review_content": "",
"goods_shipai": "",
"comments_number": 0,
"sales_volume": 0,
"comment_num": 0,
"model_price": 0,
"model_inventory": 0,
"model_attr": 0,
"largest_amount": "0.00",
"pinyin_keyword": "Maybelline/meibaolianhaoqiseshuirunchunbutaozhuang zirunbaoshichijiuxiansechunluchungao",
"goods_product_tag": "",
"goods_tag": null,
"stages": "",
"stages_rate": "0.00",
"freight": 2,
"shipping_fee": "0.00",
"tid": 0,
"goods_unit": "个",
"goods_cause": "",
"dis_commission": "0.00",
"is_distribution": 0,
"commission_rate": "0",
"from_seller": 0,
"user_brand": 8,
"product_table": "products",
"product_id": 0,
"product_price": "0.00",
"is_show": 1,
"product_promote_price": "0.00",
"cloud_id": 0,
"cloud_goodsname": "",
"goods_video": "",
"is_minimum": 0,
"minimum_start_date": 0,
"minimum_end_date": 0,
"minimum": 0,
"get_presale_activity": {},
"act_id": 18,
"act_name": "测试活动1",
"act_desc": "",
"deposit": "80.00",
"start_time": 1491005820,
"end_time": 1491120000,
"pay_start_time": 1498436220,
"pay_end_time": 1507249020,
"is_finished": 0,
"pre_num": 0,
"thumb": "http://domain/storage/images/201703/thumb_img/0_thumb_G_1490224521598.jpg",
"url": "presale.php?id=18&act=view",
"end_time_date": "2017-04-03 00:00:00",
"start_time_date": "2017-04-01 16:17:00",
"already_over": 1
}
],
"pre_cat": [
{
"cat_id": 17,
"cat_name": "智娱智乐",
"keywords": "",
"cat_desc": "",
"measure_unit": "",
"show_in_nav": 0,
"style": "",
"is_show": 0,
"grade": 0,
"filter_attr": "",
"is_top_style": 0,
"top_style_tpl": "",
"cat_icon": "",
"is_top_show": 0,
"category_links": "",
"category_topic": "",
"pinyin_keyword": "",
"cat_alias_name": "",
"template_file": "",
"parent_id": 0,
"sort_order": 50,
"goods": [],
"count_goods": 0
}
],
"cat_id": 0,
"page_title": "抢先订_预售频道"
},
"time": 1554358072
}
错误时返回:
{
"status": 'failed',
"errors": {
"code": 404,
"message": "message"
},
"time": 1553515084
}
返回参数说明:
| 参数名 | 类型 | 说明 |
|---|---|---|
| pre_goods | List[] | |
| ├─ goods_id | Number | |
| ├─ cat_id | Number | |
| ├─ user_cat | Number | |
| ├─ user_id | Number | |
| ├─ goods_sn | String | |
| ├─ bar_code | String | |
| ├─ goods_name | String | |
| ├─ goods_name_style | String | |
| ├─ click_count | Number | |
| ├─ brand_id | Number | |
| ├─ provider_name | String | |
| ├─ goods_number | Number | |
| ├─ goods_weight | String | |
| ├─ default_shipping | Number | |
| ├─ market_price | String | |
| ├─ cost_price | String | |
| ├─ shop_price | String | |
| ├─ promote_price | String | |
| ├─ promote_start_date | Number | |
| ├─ promote_end_date | Number | |
| ├─ warn_number | Number | |
| ├─ keywords | String | |
| ├─ goods_brief | String | |
| ├─ goods_desc | String | |
| ├─ desc_mobile | String | |
| ├─ goods_thumb | String | |
| ├─ goods_img | String | |
| ├─ original_img | String | |
| ├─ is_real | Number | |
| ├─ extension_code | String | |
| ├─ is_on_sale | Number | |
| ├─ is_alone_sale | Number | |
| ├─ is_shipping | Number | |
| ├─ integral | Number | |
| ├─ add_time | Number | |
| ├─ sort_order | Number | |
| ├─ is_delete | Number | |
| ├─ is_best | Number | |
| ├─ is_new | Number | |
| ├─ is_hot | Number | |
| ├─ is_promote | Number | |
| ├─ is_volume | Number | |
| ├─ is_fullcut | Number | |
| ├─ bonus_type_id | Number | |
| ├─ last_update | Number | |
| ├─ goods_type | Number | |
| ├─ seller_note | String | |
| ├─ give_integral | Number | |
| ├─ rank_integral | Number | |
| ├─ suppliers_id | Number | |
| ├─ is_check | ||
| ├─ store_hot | Number | |
| ├─ store_new | Number | |
| ├─ store_best | Number | |
| ├─ group_number | Number | |
| ├─ is_xiangou | Number | |
| ├─ xiangou_start_date | Number | |
| ├─ xiangou_end_date | Number | |
| ├─ xiangou_num | Number | |
| ├─ review_status | Number | |
| ├─ review_content | String | |
| ├─ goods_shipai | String | |
| ├─ comments_number | Number | |
| ├─ sales_volume | Number | |
| ├─ comment_num | Number | |
| ├─ model_price | Number | |
| ├─ model_inventory | Number | |
| ├─ model_attr | Number | |
| ├─ largest_amount | String | |
| ├─ pinyin_keyword | String | |
| ├─ goods_product_tag | String | |
| ├─ goods_tag | ||
| ├─ stages | String | |
| ├─ stages_rate | String | |
| ├─ freight | Number | |
| ├─ shipping_fee | String | |
| ├─ tid | Number | |
| ├─ goods_unit | String | |
| ├─ goods_cause | String | |
| ├─ dis_commission | String | |
| ├─ is_distribution | Number | |
| ├─ commission_rate | String | |
| ├─ from_seller | Number | |
| ├─ user_brand | Number | |
| ├─ product_table | String | |
| ├─ product_id | Number | |
| ├─ product_price | String | |
| ├─ is_show | Number | |
| ├─ product_promote_price | String | |
| ├─ cloud_id | Number | |
| ├─ cloud_goodsname | String | |
| ├─ goods_video | String | |
| ├─ is_minimum | Number | |
| ├─ minimum_start_date | Number | |
| ├─ minimum_end_date | Number | |
| ├─ minimum | Number | |
| ├─ get_presale_activity | List[] | |
| ├─ act_id | Number | |
| ├─ act_name | String | |
| ├─ act_desc | String | |
| ├─ deposit | String | |
| ├─ start_time | Number | |
| ├─ end_time | Number | |
| ├─ pay_start_time | Number | |
| ├─ pay_end_time | Number | |
| ├─ is_finished | Number | |
| ├─ pre_num | Number | |
| ├─ thumb | String | |
| ├─ url | String | |
| ├─ end_time_date | String | |
| ├─ start_time_date | String | |
| ├─ already_over | Number | |
| pre_cat | List[] | |
| ├─ cat_id | ||
| ├─ cat_name | ||
| ├─ keywords | ||
| ├─ cat_desc | ||
| ├─ measure_unit | ||
| ├─ show_in_nav | ||
| ├─ style | ||
| ├─ is_show | ||
| ├─ grade | ||
| ├─ filter_attr | ||
| ├─ is_top_style | ||
| ├─ top_style_tpl | ||
| ├─ cat_icon | ||
| ├─ is_top_show | ||
| ├─ category_links | ||
| ├─ category_topic | ||
| ├─ pinyin_keyword | ||
| ├─ cat_alias_name | ||
| ├─ template_file | ||
| ├─ parent_id | ||
| ├─ sort_order | ||
| ├─ goods | ||
| ├─ count_goods | ||
| cat_id | Number | |
| page_title | String |
备注:
- 更多返回错误代码请看首页的错误代码描述
1. 本站所有资源来源于用户上传和网络,因此不包含技术服务请大家谅解!如有侵权请邮件联系客服!3165260857@qq.com
2. 本站不保证所提供下载的资源的准确性、安全性和完整性,资源仅供下载学习之用!如有链接无法下载、失效或广告,请联系客服处理,有奖励!
3. 您必须在下载后的24个小时之内,从您的电脑中彻底删除上述内容资源!如用于商业或者非法用途,与本站无关,一切后果请用户自负!
4. 如果您也有好的资源或教程,您可以投稿发布,成功分享后有站币奖励和额外收入!
三优资源网 » 预售活动presale/list 预售列表页
2. 本站不保证所提供下载的资源的准确性、安全性和完整性,资源仅供下载学习之用!如有链接无法下载、失效或广告,请联系客服处理,有奖励!
3. 您必须在下载后的24个小时之内,从您的电脑中彻底删除上述内容资源!如用于商业或者非法用途,与本站无关,一切后果请用户自负!
4. 如果您也有好的资源或教程,您可以投稿发布,成功分享后有站币奖励和额外收入!
三优资源网 » 预售活动presale/list 预售列表页
常见问题FAQ
- 免费下载或者VIP会员专享资源能否直接商用?
- 本站所有资源版权均属于原作者所有,这里所提供资源均只能用于参考学习用,请勿直接商用。若由于商用引起版权纠纷,一切责任均由使用者承担。更多说明请参考 VIP介绍。
- 提示下载完但解压或打开不了?
- 找不到素材资源介绍文章里的示例图片?
- 三优资源网