文档
测试
彭国强

食物热搜

POST
http://localhost/userSelfManagemnet/getHotSearches

请求头

参数名
类型
描述
必填

请求参数

参数名
类型
描述
必填
phone
int
示例:18797854742
必填
token
string
示例:bcc80d8401047a7756c7efd8748d9d64
必填

响应参数

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

请求格式

{ "msg": "搜索成功", "hotSearches": [ { "id": 3, "content": "肉", "selectDate": "2021-11-23 10:56:11", "searchesCount": 3 }, { "id": 4, "content": "猪肉", "selectDate": "2021-11-23 10:56:40", "searchesCount": 3 }, { "id": 5, "content": "狗肉", "selectDate": "2021-11-23 10:56:55", "searchesCount": 1 }, { "id": 6, "content": "鱼肉", "selectDate": "2021-11-23 10:59:03", "searchesCount": 1 }, { "id": 7, "content": "羊肉", "selectDate": "2021-11-23 10:59:21", "searchesCount": 1 }, { "id": 8, "content": "米", "selectDate": "2021-11-23 10:59:27", "searchesCount": 1 }, { "id": 9, "content": "盐", "selectDate": "2021-11-23 10:59:34", "searchesCount": 1 }, { "id": 10, "content": "葱", "selectDate": "2021-11-23 11:00:04", "searchesCount": 1 }, { "id": 11, "content": "蒜", "selectDate": "2021-11-23 11:00:13", "searchesCount": 1 }, { "id": 12, "content": "粥", "selectDate": "2021-11-23 11:00:18", "searchesCount": 1 } ], "state": 1 }