diff --git a/hchyun-ui/src/api/system/file.js b/hchyun-ui/src/api/system/file.js index 3e34978..95e5715 100644 --- a/hchyun-ui/src/api/system/file.js +++ b/hchyun-ui/src/api/system/file.js @@ -64,10 +64,11 @@ export function getRoleAll(){ }) } -export function downloadFile(fileId){ +// 获取文件夹列表 +export function getFolder(){ return request({ - url:'/system/file/download/'+fileId, - method:'get' + url:'/system/file/folder', + method:'get', }) } diff --git a/hchyun-ui/src/views/system/file/index.vue b/hchyun-ui/src/views/system/file/index.vue index 08fe9e3..cb7b8eb 100644 --- a/hchyun-ui/src/views/system/file/index.vue +++ b/hchyun-ui/src/views/system/file/index.vue @@ -173,6 +173,16 @@ + + + + +