文档
测试

热词和分类搜索

POST
http://192.168.50.17:2002/st-pse/product/hot-keywords

请求参数

参数名
类型
描述
必填
keywords
String
关键词
必填

响应参数

参数名
类型
描述
必填
categoryList
List<T>
分类列表
必填
categoryId
Integer
分类id
必填
categoryName
String
分类名称
必填
categoryUrlKey
String
分类url
必填
hotKeywrodList
List<t>
关键词列表
必填
target
String
高亮词
必填
source
String
原值
必填

说明 / 示例

hotKeywrodList 高亮的关键词使用 前缀 ```<b style='color:red'>``` 后缀 ```</b>``` ```json { "code": 200, "data": { "categoryList": [ { "categoryId": 2505, "categoryName": "Bags", "categoryUrlKey": "/bags" }, { "categoryId": 1258, "categoryName": "Fashion Bags", "categoryUrlKey": "/fashion-bags" }, { "categoryId": 1259, "categoryName": "Shoulder Bags", "categoryUrlKey": "/shoulder-bags" }, { "categoryId": 1262, "categoryName": "Evening Bags", "categoryUrlKey": "/banquet-bags" }, { "categoryId": 2496, "categoryName": "Makeup Bags", "categoryUrlKey": "/makeup-bags" } ], "hotKeywordList": [ { "source": "Bag", "target": "<b style='color:#A24ACC'>Bag</b>" }, { "source": "Bags", "target": "<b style='color:#A24ACC'>Bags</b>" }, { "source": "bag", "target": "<b style='color:#A24ACC'>bag</b>" }, { "source": "bags", "target": "<b style='color:#A24ACC'>bags</b>" }, { "source": "fashion bag", "target": "fashion <b style='color:#A24ACC'>bag</b>" } ] }, "message": "", "success": true } ```