modify API.md

This commit is contained in:
shzhulin3 2021-04-09 13:55:06 +08:00
parent fb6b12a587
commit 15c59a41f5

View File

@ -44,8 +44,16 @@ curl 'http://127.0.0.1/index/search?page_index=0&key=京东&appid=10001'
```json
{
"code": 0,
"count": 10,
"result": [7976,12984,11705,2572,239,474,343,290,10086,318]
"count": 2,
"result": [{
"doc_id": "115",
"score": 20.395478565398534,
},
{
"doc_id": "105",
"score": 20.016650933441753,
}
]
}
```
### 错误返回示例