代码拉取完成,页面将自动刷新
版本号 | 制定人 | 制定日期 | 修订日期 |
---|---|---|---|
1.4.1 | wanganlin | 2017-03-20 | 2019-11-12 |
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
Content-Type | 是 | String | 请求类型: application/json |
token | 是 | String | 请求内容签名 |
参数名 | 是否必须 | 默认值 | 类型 | 说明 |
---|---|---|---|---|
rec_id | 是 | String | ||
rec_ids | 是 | List[] | ||
├─ 0 | 是 | String | ||
rec_num | 是 | String |
正确时返回:
{
"status": "success",
"data": {
"error": 1,
"message": "",
"content": "",
"goods_number": 958,
"goods_list": {
"138": {
"goods_id": 138,
"suppliers_id": 6,
"cat_id": 13,
"goods_name": "30粒蒲江特产奇异果中小果应季猕猴桃礼盒装 新鲜水果",
"rank_ids": "",
"goods_price": "200.00",
"enabled": 1,
"review_status": 3,
"review_content": "",
"price_model": 0,
"goods_type": 39,
"goods_number": 1000,
"moq": 1,
"is_recommend": 0,
"is_promote": 0,
"start_time": 0,
"end_time": 0,
"shipping_fee": "0.00",
"freight": 0,
"tid": 0,
"standard_goods": 0,
"goods_sn": "dscx000138",
"brand_id": 0,
"promote_price": "0.00",
"goods_weight": "1.00",
"retail_price": "100.00",
"warn_number": 1,
"goods_brief": "",
"goods_desc": "",
"goods_thumb": "http://www.hbf.dscmall.zhuo/storage/data/gallery_album/100/thumb_img/100_thumb_G_1554157672088.jpg",
"goods_img": "data/gallery_album/100/images/100_P_1554157672681.jpg",
"export_type": 0,
"export_type_ext": "",
"original_img": "data/gallery_album/100/original_img/100_P_1554157672104.jpg",
"add_time": 1554931895,
"sort_order": 100,
"is_delete": 0,
"is_best": 0,
"is_new": 0,
"is_hot": 0,
"last_update": 1556239433,
"is_xiangou": 0,
"xiangou_start_date": 0,
"xiangou_end_date": 0,
"xiangou_num": 0,
"sales_volume": 2,
"goods_product_tag": "",
"goods_unit": "个",
"goods_cause": "0,1,2,3",
"bar_code": "",
"goods_service": "",
"is_shipping": 0,
"keywords": "",
"pinyin_keyword": "lipujiangtechanqiyiguozhongxiaoguoyingjihoutaolihezhuang xinxianshuiguo",
"desc_mobile": "",
"total_number": 4,
"total_price": 800,
"goods_attr_text": "颜色:红色 \n尺寸:M \n颜色:红色 \n尺寸:X \n",
"cart_goods_price": 200,
"cart_goods_price_formatted": "¥200.00",
"goods_price_formatted": "¥200.00",
"total_price_formatted": "¥800.00",
"is_reached": 1,
"list": [
{
"rec_id": 72,
"user_id": 60,
"session_id": "0",
"goods_id": 138,
"goods_sn": "dscx000138",
"product_id": "51",
"goods_name": "30粒蒲江特产奇异果中小果应季猕猴桃礼盒装 新鲜水果",
"market_price": "0.00",
"goods_price": "200.00",
"goods_number": 3,
"goods_attr": [
{
"attr_name": "颜色",
"attr_value": "红色"
},
{
"attr_name": "尺寸",
"attr_value": "M"
}
],
"is_real": 0,
"extension_code": "",
"rec_type": 0,
"is_shipping": 0,
"goods_attr_id": "62,64",
"suppliers_id": 6,
"add_time": 1578441077,
"freight": 0,
"tid": 0,
"shipping_fee": "0.00",
"is_checked": 1,
"goods_price_formatted": "¥200.00",
"total_price": 600,
"total_price_formatted": "¥600.00"
},
{
"rec_id": 74,
"user_id": 60,
"session_id": "0",
"goods_id": 138,
"goods_sn": "dscx000138",
"product_id": "52",
"goods_name": "30粒蒲江特产奇异果中小果应季猕猴桃礼盒装 新鲜水果",
"market_price": "0.00",
"goods_price": "200.00",
"goods_number": 1,
"goods_attr": [
{
"attr_name": "颜色",
"attr_value": "红色"
},
{
"attr_name": "尺寸",
"attr_value": "X"
}
],
"is_real": 0,
"extension_code": "",
"rec_type": 0,
"is_shipping": 0,
"goods_attr_id": "62,65",
"suppliers_id": 6,
"add_time": 1578441077,
"freight": 0,
"tid": 0,
"shipping_fee": "0.00",
"is_checked": 1,
"goods_price_formatted": "¥200.00",
"total_price": 200,
"total_price_formatted": "¥200.00"
}
],
"count": 2,
"url": "http://www.hbf.dscmall.zhuo/wholesale_goods.php?id=138"
}
},
"cart_info": {
"rec_count": 1,
"total_number": 1,
"total_price": 200,
"total_price_formatted": "¥200.00",
"use_surplus": 1
}
},
"time": 1578470037
}
错误时返回:
{
"status": 'failed',
"errors": {
"code": 404,
"message": "message"
},
"time": 1553515084
}
参数名 | 类型 | 说明 |
---|---|---|
error | Number | 操作状态 |
message | String | 提示 |
content | String | |
goods_number | Number | 商品库存 |
goods_list | List[] | 购物车商品信息列表 |
cart_info | List[] | 购物车返回信息 |
├─ rec_count | Number | 商品数量 |
├─ total_number | Number | 购物车商品总数量 |
├─ total_price | Decimal | 购物车合计价格 |
├─ total_price_formatted | String | 格式化购物车合计价格 |
├─ use_surplus | Number | 判断余额是否足够 |
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。