✨ feat(搜索): 新增删除历史记录的功能

This commit is contained in:
xuan
2023-03-06 18:07:43 +08:00
parent bfec69d10e
commit 9a406901b9
3 changed files with 108 additions and 81 deletions
+7
View File
@@ -140,6 +140,13 @@ export const MpSearchHistoryList = () => {
method: 'get',
})
}
// 关键字搜索历史
export const DeleteSearchHistoryList = () => {
return useRequest({
url: '/v1/mp/searchHistory/delete',
method: 'delete',
})
}
// 添加关键字搜索
export const MpSearchHistory = () => {
return useRequest({