...
|
...
|
@@ -10,10 +10,11 @@ |
|
|
|product_skc|String|否|14||skc|
|
|
|
|color_name|String|否|黑||颜色|
|
|
|
|size_name|String|否|L||尺码|
|
|
|
|activity_id|String|否|111||活动id|
|
|
|
|
|
|
注意,通用的头部没有列出。
|
|
|
请求示例
|
|
|
http://192.168.102.205:8080/gateway?method=app.limitProduct.userChoiceSku&uid=3566164&product_skn=50001796&product_sku=102034&product_skc=14&size_name=L&color_name=黑
|
|
|
http://192.168.102.205:8080/gateway?method=app.limitProduct.userChoiceSku&activity_id=111&uid=3566164&product_skn=50001796&product_sku=102034&product_skc=14&size_name=L&color_name=黑
|
|
|
### 响应
|
|
|
code为200即为成功,否则是失败。
|
|
|
响应参数,data部分
|
...
|
...
|
@@ -31,7 +32,43 @@ code为200即为成功,否则是失败。 |
|
|
```json
|
|
|
{
|
|
|
"code": 500,
|
|
|
"message": "失败",
|
|
|
"message": "活动id为空",
|
|
|
"md5": "6d729d4b35f10fc73531210bd7ecff91",
|
|
|
"alg": "SALT_MD5",
|
|
|
"data": []
|
|
|
}
|
|
|
```
|
|
|
```json
|
|
|
{
|
|
|
"code": 500,
|
|
|
"message": "活动尚未开始!",
|
|
|
"md5": "6d729d4b35f10fc73531210bd7ecff91",
|
|
|
"alg": "SALT_MD5",
|
|
|
"data": []
|
|
|
}
|
|
|
```
|
|
|
```json
|
|
|
{
|
|
|
"code": 500,
|
|
|
"message": "活动已结束",
|
|
|
"md5": "6d729d4b35f10fc73531210bd7ecff91",
|
|
|
"alg": "SALT_MD5",
|
|
|
"data": []
|
|
|
}
|
|
|
```
|
|
|
```json
|
|
|
{
|
|
|
"code": 500,
|
|
|
"message": "uid或productSkn不能为空",
|
|
|
"md5": "6d729d4b35f10fc73531210bd7ecff91",
|
|
|
"alg": "SALT_MD5",
|
|
|
"data": []
|
|
|
}
|
|
|
```
|
|
|
```json
|
|
|
{
|
|
|
"code": 500,
|
|
|
"message": "选择颜色尺码信息失败",
|
|
|
"md5": "6d729d4b35f10fc73531210bd7ecff91",
|
|
|
"alg": "SALT_MD5",
|
|
|
"data": []
|
...
|
...
|
|