modify API.md
This commit is contained in:
parent
fb6b12a587
commit
15c59a41f5
12
docs/API.md
12
docs/API.md
@ -44,8 +44,16 @@ curl 'http://127.0.0.1/index/search?page_index=0&key=京东&appid=10001'
|
|||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"code": 0,
|
"code": 0,
|
||||||
"count": 10,
|
"count": 2,
|
||||||
"result": [7976,12984,11705,2572,239,474,343,290,10086,318]
|
"result": [{
|
||||||
|
"doc_id": "115",
|
||||||
|
"score": 20.395478565398534,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"doc_id": "105",
|
||||||
|
"score": 20.016650933441753,
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
### 错误返回示例
|
### 错误返回示例
|
||||||
|
Loading…
Reference in New Issue
Block a user