文档
测试

首页获取搜索热点

POST
http://localhost/search/dataHotSearch

请求头

参数名
类型
描述
必填

请求参数

参数名
类型
描述
必填
phone
string
示例:{{phone}}
必填
token
string
示例:{{token}}
必填

响应参数

参数名
类型
描述
必填
msg
string
示例:搜索成功
必填
hotSearches
array
数据列表
必填
id
int
示例:2
必填
content
string
示例:糖尿
必填
selectDate
string
示例:2021-11-23 12:51:23
必填
searchesCount
int
示例:3
必填
state
int
示例:1
必填

说明 / 示例

{ "msg": "搜索成功", "hotSearches": [ { "id": 2, "content": "糖尿", "selectDate": "2021-11-23 12:51:23", "searchesCount": 3 }, { "id": 3, "content": "单鹏飞医生", "selectDate": "2021-11-23 13:54:14", "searchesCount": 1 }, { "id": 4, "content": "单鹏飞", "selectDate": "2021-11-23 13:54:21", "searchesCount": 1 }, { "id": 5, "content": "医生", "selectDate": "2021-11-23 13:54:40", "searchesCount": 1 }, { "id": 6, "content": "血糖", "selectDate": "2021-11-23 13:55:00", "searchesCount": 1 }, { "id": 7, "content": "血脂", "selectDate": "2021-11-23 13:55:15", "searchesCount": 1 }, { "id": 8, "content": "血压", "selectDate": "2021-11-23 13:55:21", "searchesCount": 1 }, { "id": 9, "content": "抗衰", "selectDate": "2021-11-23 13:55:29", "searchesCount": 1 }, { "id": 10, "content": "逆转", "selectDate": "2021-11-23 13:56:06", "searchesCount": 1 } ], "state": 1 }