开放平台

扒书 ERP Open API

搜索历史

返回用户最近搜过的词,搜索框下拉展示。

请求方式GET/POST
接口路径/api/searchHistory/index
Content-Type-
鉴权X-Nideshop-Token

curl 调用

curl -s 'https://www.8shu8.com/api/searchHistory/index' \
  -H 'X-Nideshop-Token: YOUR_LOGIN_TOKEN'

响应示例

{
  "code": 200,
  "message": "操作成功",
  "success": true,
  "data": "..."
}