diff --git a/manager/src/api/index.js b/manager/src/api/index.js index c07340ad..611d6849 100644 --- a/manager/src/api/index.js +++ b/manager/src/api/index.js @@ -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`); +}; + diff --git a/manager/src/views/page/article-manage/hotWords.vue b/manager/src/views/page/article-manage/hotWords.vue new file mode 100644 index 00000000..78d7041c --- /dev/null +++ b/manager/src/views/page/article-manage/hotWords.vue @@ -0,0 +1,123 @@ + + + +