Toggle navigation
Toggle navigation
This project
Loading...
Sign in
周蓉君
/
API-Interfaces
·
Commits
Go to a project
GitLab
Go to dashboard
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
chenchao
9 years ago
Commit
ff45d42c8f31adbc0777b1a230a638870690ae94
1 parent
38547d6d
舒适度
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
74 additions
and
0 deletions
商品列表/product.md
商品列表/product.md
View file @
ff45d42
...
...
@@ -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
...
...
Please
register
or
login
to post a comment