...
|
...
|
@@ -4,7 +4,7 @@ |
|
|
#### 请求参数
|
|
|
| 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 |
|
|
|
|:-------| -----:|-----:|-----:|-----:|----:|
|
|
|
|sku|int|否|346122|0|用户id|
|
|
|
|sku|int|否|346122|0|skuid|
|
|
|
|open_key|int|否|123456|10|key|
|
|
|
|
|
|
注意,通用的头部没有列出。
|
...
|
...
|
@@ -81,4 +81,102 @@ code为200即为成功,否则是失败。 |
|
|
"md5": "951615e5b37a7882309d0d9b27ce28b1",
|
|
|
"message": "获取商品信息成功."
|
|
|
}
|
|
|
```
|
|
|
## 1、线下店获取商品信息接口##
|
|
|
|
|
|
(method=cnstore.product.info)
|
|
|
#### 请求参数
|
|
|
| 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 |
|
|
|
|:-------| -----:|-----:|-----:|-----:|----:|
|
|
|
|sku|int|否|346122|0|skuid|
|
|
|
|open_key|int|否|123456|10|key|
|
|
|
|
|
|
注意,通用的头部没有列出。
|
|
|
请求示例
|
|
|
http://172.16.6.169:8083/yoho-gateway-web/?debug=XYZ&open_key=123456&method=cnstore.product.info&v=1&sku=346122
|
|
|
|
|
|
### 响应
|
|
|
code为200即为成功,否则是失败。
|
|
|
响应JSON格式如下所示:
|
|
|
```json
|
|
|
{
|
|
|
"alg": "SALT_MD5",
|
|
|
"code": 200,
|
|
|
"data": {
|
|
|
"brand": "Life·After Life",
|
|
|
"brand_ico": "http://img11.static.yhbimg.com/brandLogo/2014/02/07/13/0118e52b6f94d0f566bb6e17b1a08ac165.png?imageMogr2/thumbnail/105x105/extent/105x105/background/d2hpdGU=/position/center/quality/80",
|
|
|
"brand_outline": " Life after life是一个定位于潮流化的“快时尚”品牌",
|
|
|
"goods": {},
|
|
|
"goodsDefault": "http://img11.static.yhbimg.com/goodsimg/2013/04/24/16/01dc7e155266a2859de2cbba097174d0a8.jpg?imageMogr2/thumbnail/510x567/extent/510x567/background/d2hpdGU=/position/center/quality/80",
|
|
|
"goods_img": [
|
|
|
"http://img04.static.yohobuy.com/thumb/2012/09/11/13/02a6ee2dad100e2551e5b2880042a59f6e-0750x1500-1-product.png",
|
|
|
"http://img03.static.yohobuy.com/thumb/2013/02/16/13/01eea94d7f1f7627268d12e10b78ab758e-0750x1500-1-product.jpg",
|
|
|
"http://img03.static.yohobuy.com/thumb/2013/04/24/16/016ff148eff63004ff2cf13601f48a3b44-0750x1500-1-product.jpg",
|
|
|
"http://img04.static.yohobuy.com/thumb/2013/04/24/16/026210244436ca249130654f1e01fc16fe-0750x1500-1-product.jpg",
|
|
|
"http://img03.static.yohobuy.com/thumb/2013/04/24/16/0201c531efa99a3b58d2b209e1511d5291-0750x1500-1-product.jpg",
|
|
|
"http://img03.static.yohobuy.com/thumb/2013/04/24/16/028e51beefff6efb49d92724a0d97366b3-0750x1500-1-product.jpg",
|
|
|
"http://img03.static.yohobuy.com/thumb/2013/04/24/16/0280434f54389bba435b9297a1e8b992cc-0750x1500-1-product.jpg",
|
|
|
"http://img03.static.yohobuy.com/thumb/2013/04/24/16/028dc5b15543d94c957666c1f31018552f-0750x1500-1-product.jpg",
|
|
|
"http://img04.static.yohobuy.com/thumb/2013/04/24/16/024dc13b92a37c03f1effcec2280e1ba55-0750x1500-1-product.jpg",
|
|
|
"http://img03.static.yohobuy.com/thumb/2013/04/24/16/02d9722fdcffec45287330378b9f07dc0a-0750x1500-1-product.jpg",
|
|
|
"http://img04.static.yohobuy.com/thumb/2013/04/24/16/024ebbc618f5771b2585c87f87cf7deda3-0750x1500-1-product.jpg",
|
|
|
"http://img03.static.yohobuy.com/thumb/2013/04/24/16/02f28dad416d2087ea515326faaf40c519-0750x1500-1-product.jpg",
|
|
|
"http://img04.static.yohobuy.com/thumb/2013/04/24/16/01db738098353a74a078a1488965ea4b89-0750x1500-1-product.jpg",
|
|
|
"http://img03.static.yohobuy.com/thumb/2013/04/24/16/0161063140747b192b20a039135e07e508-0750x1500-1-product.jpg",
|
|
|
"http://img04.static.yohobuy.com/thumb/2013/04/24/16/0162e1d5a71ec959924ee6b820dbdfaac2-0750x1500-1-product.jpg",
|
|
|
"http://img03.static.yohobuy.com/thumb/2013/04/24/16/01f6e20aca77826babb90087fbefa1111a-0750x1500-1-product.jpg",
|
|
|
"http://img04.static.yohobuy.com/thumb/2013/04/24/16/017f3cf516fb357bf117898067364cce2a-0750x1500-1-product.jpg",
|
|
|
"http://img04.static.yohobuy.com/thumb/2013/04/24/16/01eed551c276bc3c46e817b0c60a10b4c1-0750x1500-1-product.jpg",
|
|
|
"http://img04.static.yohobuy.com/thumb/2013/04/24/16/01bc378b0ee8de8e02d4dfa2c44691750a-0750x1500-1-product.jpg",
|
|
|
"http://img03.static.yohobuy.com/thumb/2013/04/24/16/01acff9c0d3df4addb9e898eae1dde52ef-0750x1500-1-product.jpg",
|
|
|
"http://img04.static.yohobuy.com/thumb/2013/04/24/16/01930642309e93a40f2c06ca28b3df408b-0750x1500-1-product.jpg",
|
|
|
"http://img03.static.yohobuy.com/thumb/2013/04/24/16/01c60b7b7c406680255aed894fa3357de6-0750x1500-1-product.jpg",
|
|
|
"http://img03.static.yohobuy.com/thumb/2013/04/24/16/02245038363bf3cef3fa31d7c1b4d96c76-0750x1500-1-product.jpg",
|
|
|
"http://img03.static.yohobuy.com/thumb/2013/04/24/16/027ef8d7bbbe6716e5f67bc35d32a9f66a-0750x1500-1-product.jpg",
|
|
|
"http://img04.static.yohobuy.com/thumb/2013/04/24/16/026d67086cbe89e40e86e4417715a84d52-0750x1500-1-product.jpg",
|
|
|
"http://img03.static.yohobuy.com/thumb/2013/04/24/16/020c7f6835139e1826c1c1335bb3403cb1-0750x1500-1-product.jpg",
|
|
|
"http://img03.static.yohobuy.com/thumb/2013/04/24/16/02c4d839c269424520478a430c8bf89323-0750x1500-1-product.jpg",
|
|
|
"http://img04.static.yohobuy.com/thumb/2013/04/24/16/029cf0acbd68c9e712c7900a399e838943-0750x1500-1-product.jpg",
|
|
|
"http://img04.static.yohobuy.com/thumb/2013/04/24/16/025256b72ac9195cf52eb40a7deea08dfb-0750x1500-1-product.jpg",
|
|
|
"http://img04.static.yohobuy.com/thumb/2013/04/24/16/02216e2d44f2db2ab030db122e1a6eb6ed-0750x1500-1-product.jpg",
|
|
|
"http://img04.static.yohobuy.com/thumb/2013/04/24/16/0269f0c582032df3d1c08450a83de13321-0750x1500-1-product.jpg",
|
|
|
"http://img04.static.yohobuy.com/thumb/2013/04/24/16/027150d9f89312d91a84b672c0a1103459-0750x1500-1-product.jpg",
|
|
|
"http://img03.static.yohobuy.com/thumb/2013/04/24/16/02fd649c20faff69b2f75ffb0b2a0ed8c6-0750x1500-1-product.jpg",
|
|
|
"http://img04.static.yohobuy.com/thumb/2013/04/24/16/0243f3f960aa33ae398b59c9d63584df08-0750x1500-1-product.jpg",
|
|
|
"http://img04.static.yohobuy.com/thumb/2013/04/24/16/012cdb4ee8e36751c501870bbdca394c96-0750x1500-1-product.jpg",
|
|
|
"http://img03.static.yohobuy.com/thumb/2013/04/24/16/018e2aee8fc4ffcbc4bec6e0182dac26d6-0750x1500-1-product.jpg",
|
|
|
"http://img03.static.yohobuy.com/thumb/2013/04/24/16/010e388973412f1405a68361995c315644-0750x1500-1-product.jpg",
|
|
|
"http://img04.static.yohobuy.com/thumb/2013/04/24/16/016f3bd4df9ded3f499fa48c27364d3bfa-0750x1500-1-product.jpg",
|
|
|
"http://img04.static.yohobuy.com/thumb/2013/04/24/16/017914171f808d693a72bb5395e5ae7083-0750x1500-1-product.jpg",
|
|
|
"http://img04.static.yohobuy.com/thumb/2013/04/24/16/0176a5b7dbdd757c6616f527487bf3063d-0750x1500-1-product.jpg",
|
|
|
"http://img04.static.yohobuy.com/thumb/2013/04/24/16/01c74f7cc7d7ddc66c05f2b86d957e3d79-0750x1500-1-product.jpg",
|
|
|
"http://img04.static.yohobuy.com/thumb/2013/04/24/16/0105df96a76f8707f4a34fb62a66c6ec61-0750x1500-1-product.jpg",
|
|
|
"http://img03.static.yohobuy.com/thumb/2013/04/24/16/01bff985f689b34d4487ed2f80f77b3e6f-0750x1500-1-product.jpg",
|
|
|
"http://img04.static.yohobuy.com/thumb/2013/04/24/16/01cfc5b21d4873ac0e3911d470ff729a31-0750x1500-1-product.jpg"
|
|
|
],
|
|
|
"goods_name": "黑",
|
|
|
"market_price": 159,
|
|
|
"productFavorite": 628,
|
|
|
"product_skn": 51009539,
|
|
|
"promotion_banner": "",
|
|
|
"promotion_id": 0,
|
|
|
"promotion_url": "",
|
|
|
"proudct_name": "Life·After Life 印第安风情短TEE",
|
|
|
"sales_price": 69,
|
|
|
"sameGoods": {
|
|
|
"356578": {
|
|
|
"sameBrandName": "拉通测试品牌A",
|
|
|
"sameGoodsName": "【拉通测试!】16EME NORD",
|
|
|
"sameProductImg": "http://img11.static.yhbimg.com/goodsimg/2016/04/13/12/0153e5c533da98e8623c24e912b40c06f2.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
|
|
|
"sameProductName": "【拉通测试!】16EME NORD"
|
|
|
}
|
|
|
},
|
|
|
"special_price": "¥0.00",
|
|
|
"vip_gold": 62.1,
|
|
|
"vip_platinum": 60.72,
|
|
|
"vip_silver": 65.55
|
|
|
},
|
|
|
"md5": "2fe20807880fa35830c6073dcb749f96",
|
|
|
"message": "获取商品信息成功."
|
|
|
}
|
|
|
``` |
|
|
\ No newline at end of file |
...
|
...
|
|