|
|
## 1、用户选择/修改活动商品的sku信息 ##
|
|
|
|
|
|
用户选择/修改活动商品的sku信息(?method=app.drawline.userChoiceSku)
|
|
|
用户选择/修改活动商品的sku信息(?method=app.limitProduct.userChoiceSku)
|
|
|
#### 请求参数
|
|
|
| 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 |
|
|
|
|:-------| -----:|-----:|-----:|-----:|----:|
|
...
|
...
|
@@ -13,7 +13,7 @@ |
|
|
|
|
|
注意,通用的头部没有列出。
|
|
|
请求示例
|
|
|
http://192.168.102.205:8080/activity?method=app.drawline.userChoiceSku&uid=12342&productSkn=56665&productSku=222&colorName=蓝色&sizeName=L&productSkc=15556
|
|
|
http://192.168.102.205:8080/gateway?method=app.limitProduct.userChoiceSku&uid=12342&productSkn=56665&productSku=222&colorName=蓝色&sizeName=L&productSkc=15556
|
|
|
|
|
|
### 响应
|
|
|
code为200即为成功,否则是失败。
|
...
|
...
|
@@ -75,7 +75,7 @@ code为200即为成功,否则是失败。 |
|
|
```
|
|
|
|
|
|
## 3、根据skn获取平台配置的sku的商品详细信息 ##
|
|
|
根据skn获取平台配置的sku的商品详细信息(?method=app.drawline.getGoodListBySkus)
|
|
|
根据skn获取平台配置的sku的商品详细信息(?method=app.limitProduct.getGoodListBySkus)
|
|
|
#### 请求参数
|
|
|
| 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 |
|
|
|
|:-------| -----:|-----:|-----:|-----:|----:|
|
...
|
...
|
@@ -83,7 +83,7 @@ code为200即为成功,否则是失败。 |
|
|
|
|
|
注意,通用的头部没有列出。
|
|
|
请求示例
|
|
|
http://192.168.102.205:8080/activity?method=app.drawline.getGoodListBySkus&skn=12342
|
|
|
http://192.168.102.205:8080/activity?method=app.limitProduct.getGoodListBySkus&skn=12342
|
|
|
|
|
|
### 响应
|
|
|
code为200即为成功,否则是失败。
|
...
|
...
|
@@ -95,26 +95,118 @@ code为200即为成功,否则是失败。 |
|
|
"message": "操作成功",
|
|
|
"md5": "9db2bfc15fdd507d2f5845c8bc74d337",
|
|
|
"alg": "SALT_MD5",
|
|
|
"data": [
|
|
|
"data": {
|
|
|
"formatMarketPrice": "¥275.00",
|
|
|
"formatSalesPrice": "¥275.00",
|
|
|
"goodsList": [
|
|
|
{
|
|
|
"colorId": 2,
|
|
|
"colorImage": "http://img13.static.yhbimg.com/goodsimg/2012/03/02/17/0242814e14d8ac1525c92de0a84d0f70eb.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
|
|
|
"colorName": "黑",
|
|
|
"factorySn": "",
|
|
|
"firstShelveTime": 1310648698,
|
|
|
"goodsImagesList": [],
|
|
|
"goodsName": "OVK 08 CUTE SKULL TEE",
|
|
|
"goodsSizeBoList": [
|
|
|
{
|
|
|
"color_id": 7,
|
|
|
"color_name": "蓝色",
|
|
|
"goods_id": 460439,
|
|
|
"product_skc": 338873,
|
|
|
"size_list": [
|
|
|
{
|
|
|
"product_sku": 1056205,
|
|
|
"size_id": 203,
|
|
|
"size_name": "M"
|
|
|
},
|
|
|
{
|
|
|
"product_sku": 1056205,
|
|
|
"size_id": 203,
|
|
|
"size_name": "M"
|
|
|
}
|
|
|
]
|
|
|
"attributeId": "",
|
|
|
"createTime": 0,
|
|
|
"goodsId": null,
|
|
|
"goodsSizeSkuId": 102050,
|
|
|
"goodsSizeStorageNum": null,
|
|
|
"id": 201,
|
|
|
"orderBy": 1169,
|
|
|
"sizeName": "L",
|
|
|
"sortId": 0,
|
|
|
"updateTime": 0
|
|
|
},
|
|
|
{
|
|
|
"attributeId": "",
|
|
|
"createTime": 0,
|
|
|
"goodsId": null,
|
|
|
"goodsSizeSkuId": 102034,
|
|
|
"goodsSizeStorageNum": null,
|
|
|
"id": 211,
|
|
|
"orderBy": 1163,
|
|
|
"sizeName": "XL",
|
|
|
"sortId": 0,
|
|
|
"updateTime": 0
|
|
|
}
|
|
|
],
|
|
|
"id": 14,
|
|
|
"isDefault": "N",
|
|
|
"isDown": "N",
|
|
|
"matchExplain": "",
|
|
|
"productId": 13,
|
|
|
"productSkc": 14,
|
|
|
"status": 1,
|
|
|
"viewNum": 0
|
|
|
},
|
|
|
{
|
|
|
"colorId": 3,
|
|
|
"colorImage": "http://img11.static.yhbimg.com/goodsimg/2012/03/02/15/01562d80dbd0f5acc9e8b96668836006ff.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
|
|
|
"colorName": "灰",
|
|
|
"factorySn": "",
|
|
|
"firstShelveTime": 1310648698,
|
|
|
"goodsImagesList": [],
|
|
|
"goodsName": "OVK 08 CUTE SKULL TEE",
|
|
|
"goodsSizeBoList": [
|
|
|
{
|
|
|
"attributeId": "",
|
|
|
"createTime": 0,
|
|
|
"goodsId": null,
|
|
|
"goodsSizeSkuId": 102037,
|
|
|
"goodsSizeStorageNum": null,
|
|
|
"id": 203,
|
|
|
"orderBy": 1175,
|
|
|
"sizeName": "M",
|
|
|
"sortId": 0,
|
|
|
"updateTime": 0
|
|
|
},
|
|
|
{
|
|
|
"attributeId": "",
|
|
|
"createTime": 0,
|
|
|
"goodsId": null,
|
|
|
"goodsSizeSkuId": 102050,
|
|
|
"goodsSizeStorageNum": null,
|
|
|
"id": 201,
|
|
|
"orderBy": 1169,
|
|
|
"sizeName": "L",
|
|
|
"sortId": 0,
|
|
|
"updateTime": 0
|
|
|
},
|
|
|
{
|
|
|
"attributeId": "",
|
|
|
"createTime": 0,
|
|
|
"goodsId": null,
|
|
|
"goodsSizeSkuId": 102034,
|
|
|
"goodsSizeStorageNum": null,
|
|
|
"id": 211,
|
|
|
"orderBy": 1163,
|
|
|
"sizeName": "XL",
|
|
|
"sortId": 0,
|
|
|
"updateTime": 0
|
|
|
}
|
|
|
]
|
|
|
],
|
|
|
"id": 15,
|
|
|
"isDefault": "Y",
|
|
|
"isDown": "N",
|
|
|
"matchExplain": "",
|
|
|
"productId": 13,
|
|
|
"productSkc": 15,
|
|
|
"status": 1,
|
|
|
"viewNum": 0
|
|
|
}
|
|
|
],
|
|
|
"marketPrice": "",
|
|
|
"phrase": "OVERKILL OVK 08 CUTE SKULL 短袖TEE.正面胸口的图案和背后相互呼应,清新活力。超炫的骷髅图案,带来不一样的靓点 ",
|
|
|
"productId": "50001796",
|
|
|
"productName": "OVERKILL OVK 08 CUTE SKULL 短袖TEE",
|
|
|
"productSkn": "50001796",
|
|
|
"productUrl": "",
|
|
|
"salesPhrase": "275",
|
|
|
"salesPrice": "275"
|
|
|
}
|
|
|
}
|
|
|
```
|
|
|
|
...
|
...
|
|