diff --git a/manager/src/api/index.js b/manager/src/api/index.js index 247d9fe6..f87e4f8f 100644 --- a/manager/src/api/index.js +++ b/manager/src/api/index.js @@ -490,4 +490,24 @@ export const getHotWordsHistory = (params) => { return getRequest(`/hotwords/hotwords/history`,params); }; +// 获取文件目录列表 +export const getFileDirectory = () => { + return getRequest(commonUrl+`/common/resource/fileDirectory`); +}; +// 添加文件目录 +export const addFileDirectory = (params) => { + return postRequestWithNoForm(commonUrl+`/common/resource/fileDirectory`,params); +}; + + +// 修改文件目录 +export const updateFileDirectory = (params) => { + return putRequestWithNoForm(commonUrl+`/common/resource/fileDirectory`,params); +}; + + +// 删除文件目录 +export const delFileDirectory = (id) => { + return deleteRequest(commonUrl+`/common/resource/fileDirectory/${id}`); +}; diff --git a/manager/src/components/affix-time.vue b/manager/src/components/affix-time.vue index d06ad9cb..a81b6d25 100644 --- a/manager/src/components/affix-time.vue +++ b/manager/src/components/affix-time.vue @@ -1,20 +1,20 @@