...
|
...
|
@@ -373,3 +373,46 @@ code为200即为成功且只会返回200,每次都会有响应结果。 |
|
|
"message": "Last Search List."
|
|
|
}
|
|
|
```
|
|
|
|
|
|
## 模特卡##
|
|
|
|
|
|
(method=web.productModelcard.list)
|
|
|
请求方式:get
|
|
|
#### 请求参数
|
|
|
| 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 |
|
|
|
|:-------| -----:|-----:|-----:|-----:|----:|
|
|
|
|product_id|int| 是| 10961107|null|产品ID|
|
|
|
|
|
|
|
|
|
注意,通用的头部没有列出。
|
|
|
请求示例
|
|
|
http://192.168.102.202:8078/?method=web.productModelcard.list&product_id=18354&debug=XYZ&v=7
|
|
|
### 响应
|
|
|
code为200即为成功且只会返回200,每次都会有响应结果。
|
|
|
响应JSON格式如下所示:
|
|
|
```json
|
|
|
{
|
|
|
alg: "SALT_MD5",
|
|
|
code: 200,
|
|
|
data: [
|
|
|
{
|
|
|
modelImg: "http://img13.static.yhbimg.com/modelCard/2012/05/18/17/027605385823e08e32f3475deb105fd2f9.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
|
|
|
modelName: "MATEUS",
|
|
|
modelcardId: 16,
|
|
|
productId: 18354,
|
|
|
size: "L",
|
|
|
sortId: 1
|
|
|
},
|
|
|
{
|
|
|
modelImg: "http://img12.static.yhbimg.com/modelCard/2012/03/12/11/02597b14bb6c8abcd650dcaee67dd1de4e.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
|
|
|
modelName: "杨亚运",
|
|
|
modelcardId: 7,
|
|
|
productId: 18354,
|
|
|
size: "M",
|
|
|
sortId: 1
|
|
|
}
|
|
|
],
|
|
|
md5: "d5e73c37741892fc8ae344886ad57841",
|
|
|
message: "product modelcard list"
|
|
|
}
|
|
|
``` |
|
|
\ No newline at end of file |
...
|
...
|
|