Authored by chenchao

舒适度

... ... @@ -897,4 +897,78 @@ productId: 22255
md5: "7755bf7e87f3bdea3709f3c154e91cb5",
message: "product collocation list"
}
```
## 舒适度##
(method=web.productComfort.data)
请求方式:POST
#### 请求参数
| 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 |
|:-------| -----:|-----:|-----:|-----:|----:|
|product_id|int| 是| 10575|null|产品ID|
注意,通用的头部没有列出。
请求示例
http://192.168.102.202:8080/gateway/?method=web.productComfort.data&product_id=22255
### 响应
code为200即为成功且只会返回200,每次都会有响应结果。
响应JSON格式如下所示:
```json
{
alg: "SALT_MD5",
code: 200,
data: [
{
caption: {
caption: "弹性",
high: "大",
low: "小"
},
wearSense: {
id: 1,
value: 4
}
},
{
caption: {
caption: "厚度",
high: "厚",
low: "薄"
},
wearSense: {
id: 2,
value: 1
}
},
{
caption: {
caption: "柔软度",
high: "硬",
low: "软"
},
wearSense: {
id: 3,
value: 1
}
},
{
caption: {
caption: "透气性",
high: "强",
low: "弱"
},
wearSense: {
id: 4,
value: 4
}
}
],
md5: "76591219c2aa4c630515dd50d465cba6",
message: "product comfort"
}
```
\ No newline at end of file
... ...