From 31d28627f1b4879e0f272f6d29a752be5bdc0f38 Mon Sep 17 00:00:00 2001 From: Chopper Date: Mon, 26 Jul 2021 16:02:31 +0800 Subject: [PATCH] =?UTF-8?q?=E7=83=AD=E8=AF=8D=E5=8A=9F=E8=83=BD=E5=AE=8C?= =?UTF-8?q?=E5=96=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manager/src/api/index.js | 11 ++ .../views/page/article-manage/hotWords.vue | 123 ++++++++++++++++++ 2 files changed, 134 insertions(+) create mode 100644 manager/src/views/page/article-manage/hotWords.vue 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 @@ + + + +