Authored by zhaoqi

搜索词接口

... ... @@ -69,3 +69,69 @@ method=app.search.getTerms
"message": "Terms List."
}
```
## 搜索词联想
method=app.search.fuzzy
### 请求参数
| 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 |
| :------- | ------: | ---: | ---: | ---: | ------------------: |
| keyword | String | 否 | a | null | 联想关键词 |
### 返回示例
```json
{
"alg": "SALT_MD5",
"code": 200,
"data": [
{
"count": 216,
"keyword": "阿迪达斯"
},
{
"count": 216,
"keyword": "adidas"
},
{
"count": 10,
"keyword": "aape"
},
{
"count": 1,
"keyword": "aj"
},
{
"count": 21,
"keyword": "asics"
},
{
"count": 170,
"keyword": "adidasoriginals"
},
{
"count": 216,
"keyword": "阿迪"
},
{
"count": 1,
"keyword": "air jordan"
},
{
"count": 216,
"keyword": "air"
},
{
"count": 20,
"keyword": "安德玛"
}
],
"md5": "8e678e9334361efc4bd3820980d1060f",
"message": "fuzzy search list"
}
```
... ...