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:
@@ -438,3 +438,14 @@ export const delCustom = (id) => {
|
||||
return deleteRequest(`/manager/custom-words/${id}`);
|
||||
};
|
||||
|
||||
// 设置热搜词
|
||||
export const setHotWords = (params) => {
|
||||
return postRequest(`/hotwords`, params);
|
||||
};
|
||||
|
||||
|
||||
// 获取热搜词
|
||||
export const getHotWords = () => {
|
||||
return getRequest(`/hotwords`);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user