mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-ui.git
synced 2025-12-18 00:45:54 +08:00
热词部分代码
This commit is contained in:
@@ -439,11 +439,18 @@ export const setHotWords = (params) => {
|
||||
};
|
||||
|
||||
// 删除热搜词
|
||||
export const deleteHotWords = (words) => {
|
||||
return deleteRequest(`/hotwords/hotwords/${words}`);
|
||||
export const deleteHotWords = (params) => {
|
||||
return deleteRequest(`/hotwords/hotwords`,params);
|
||||
};
|
||||
|
||||
// 获取热搜词
|
||||
export const getHotWords = () => {
|
||||
return getRequest(`/hotwords/hotwords`);
|
||||
};
|
||||
|
||||
// 获取热词统计
|
||||
export const getHotWordsStatistics = (params) => {
|
||||
return getRequest(`/hotwords/hotwords/statistics`,params);
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user