文档
测试

商城搜索热点

POST
http://localhost/search/mallHotSearch

请求头

参数名
类型
描述
必填

请求参数

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

响应参数

参数名
类型
描述
必填
msg
string
示例:搜索成功
必填
hotSearches
array
数据列表
必填
id
int
示例:11
必填
content
string
示例:体脂秤
必填
selectDate
string
示例:2021-11-23 15:53:48
必填
searchesCount
int
示例:4
必填
state
int
示例:1
必填

说明 / 示例

{ "msg": "搜索成功", "hotSearches": [ { "id": 11, "content": "体脂秤", "selectDate": "2021-11-23 15:53:48", "searchesCount": 4 }, { "id": 12, "content": "套餐", "selectDate": "2021-11-23 16:21:48", "searchesCount": 2 }, { "id": 13, "content": "1", "selectDate": "2021-11-23 16:25:08", "searchesCount": 2 } ], "state": 1 }