简要描述:
- 商品详情
请求URL:
https://open.jisuapp.cn/api/Goods/GetGoods
请求方式:
- POST
- GET
参数:
| 参数名 | 必选 | 类型 | 说明 |
|---|---|---|---|
| access_token | 是 | string | access_token(通过授权认证获取) |
| data_id | 是 | int | 商品 id |
返回示例
{
"status": 0,
"data": [{
"description": "商品 1",
"type": 0,
"delivery_id": "0",
"region_id": "",
"id": "8660",
"app_id": "mpWi26AmWA",
"title": "商品 12",
"cover": "http:\/\/img.weiye.me\/zcimgdir\/thumb\/t_15176474025a75762a2d3d4.png",
"price": "1.00",
"sale_price": "0.00",
"category": ["分类 1"],
"sales": "0",
"is_recommend": "0",
"stock": "100",
"weight": "0",
"goods_type": "0",
"max_can_use_integral": "0",
"integral": "-1",
"mass": "0.000",
"volume": "0.000",
"express_rule_id": "0",
"is_seckill": "2",
"seckill_status": "2",
"virtual_price": "0.00",
"add_time": "1520844575",
"update_time": "2018.03.12",
"viewed_count": "0",
"status": "0",
"category_id": ["2849"],
"server_time": 1520845545,
"is_group_buy": 0
}, {
"description": "商品 1",
"type": 0,
"delivery_id": "0",
"region_id": "",
"id": "8659",
"app_id": "mpWi26AmWA",
"title": "商品 12",
"cover": "http:\/\/img.weiye.me\/zcimgdir\/thumb\/t_15176474025a75762a2d3d4.png",
"price": "1.00",
"sale_price": "0.00",
"category": ["分类 1"],
"sales": "0",
"is_recommend": "0",
"stock": "100",
"weight": "0",
"goods_type": "0",
"max_can_use_integral": "0",
"integral": "-1",
"mass": "0.000",
"volume": "0.000",
"express_rule_id": "0",
"is_seckill": "2",
"seckill_status": "2",
"virtual_price": "0.00",
"add_time": "1520844562",
"update_time": "2018.03.12",
"viewed_count": "0",
"status": "0",
"category_id": ["2849"],
"server_time": 1520845545,
"is_group_buy": 0
}],
"is_more": 0,
"current_page": 1,
"count": "2",
"total_page": 1
}
返回参数说明
| 参数名 | 类型 | 说明 |
|---|---|---|
| status | int | 0:查询成功;1:查询失败 |
| title | string | 商品名 |
| cover | string | 商品图片 |
| goods_type | int | 商品类型 0:电商 |
| category | string | 商品分类名 |
| category_id | int | 商品分类 |
| goods_type | int | 商品类型 0:电商 |
| sale_price | double | 销售价格 |
| is_recommend | int | 是否推荐 |
| sale_price | double | 销售价格 |
| virtual_price | double | 商品虚拟价格 |
| express_fee | string | 配送运费 |
| stock | int | 商品库存 |
| volume | string | 商品体积 |
| weight | int | 商品权重 |
| delivery_data | int | 商品补充信息 |
| img_urls | int | 商品轮播图 |
| description | string | 商品描述 |
| price | doubel | 商品价格 |
| express_rule_id | int | 运费规则,0是包邮, 其它值是运费模板id |
| goods_model | array | 商品类型信息 |
备注
- 更多返回错误代码请看首页的错误代码描述