新品发布
接口描述:
- 新品发布(presale/new)
接口版本:
版本号 | 制定人 | 制定日期 | 修订日期 |
---|---|---|---|
1.0.0 | wanganlin | 2017-03-20 | 2017-03-25 |
请求URL:
- http://domain/api/v4/presale/new
请求方式:
- GET
请求头:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
Content-Type | 是 | String | 请求类型: application/json |
token | 是 | String | 请求内容签名 |
请求参数:
参数名 | 是否必须 | 默认值 | 类型 | 说明 |
---|---|---|---|---|
cat_id | 否 | 0 | Number | 分类id |
page | 是 | 1 | Number | 页码 |
size | 是 | 10 | Number | 每页数据 |
keywoords | 否 | 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 | 商品id |
├─ user_id | Number | 商家id |
├─ goods_sn | String | 商品货号 |
├─ goods_name | String | 商品名称 |
├─ goods_number | Number | 商品数量 |
├─ market_price | String | 市场价格 |
├─ shop_price | String | 销售价格 |
├─ goods_thumb | String | 商品略缩图 |
├─ goods_img | String | 商品图片 |
pre_cat | List[] | 分类列表 |
├─ cat_id | Number | 分类id |
├─ cat_name | String | 分类名称 |
├─ goods | goods[] | 商品列表 |
├─ count_goods | Number | 分类下商品数量 |
cat_id | Number | 分类id |
page_title | String | title |
备注:
- 更多返回错误代码请看首页的错误代码描述
1. 本站所有资源来源于用户上传和网络,因此不包含技术服务请大家谅解!如有侵权请邮件联系客服!3165260857@qq.com
2. 本站不保证所提供下载的资源的准确性、安全性和完整性,资源仅供下载学习之用!如有链接无法下载、失效或广告,请联系客服处理,有奖励!
3. 您必须在下载后的24个小时之内,从您的电脑中彻底删除上述内容资源!如用于商业或者非法用途,与本站无关,一切后果请用户自负!
4. 如果您也有好的资源或教程,您可以投稿发布,成功分享后有站币奖励和额外收入!
三优资源网 » 预售活动presale/new 新品发布
2. 本站不保证所提供下载的资源的准确性、安全性和完整性,资源仅供下载学习之用!如有链接无法下载、失效或广告,请联系客服处理,有奖励!
3. 您必须在下载后的24个小时之内,从您的电脑中彻底删除上述内容资源!如用于商业或者非法用途,与本站无关,一切后果请用户自负!
4. 如果您也有好的资源或教程,您可以投稿发布,成功分享后有站币奖励和额外收入!
三优资源网 » 预售活动presale/new 新品发布
常见问题FAQ
- 免费下载或者VIP会员专享资源能否直接商用?
- 本站所有资源版权均属于原作者所有,这里所提供资源均只能用于参考学习用,请勿直接商用。若由于商用引起版权纠纷,一切责任均由使用者承担。更多说明请参考 VIP介绍。
- 提示下载完但解压或打开不了?
- 找不到素材资源介绍文章里的示例图片?
- 三优资源网