mirror of
https://github.com/acepanel/panel.git
synced 2026-02-05 12:15:04 +08:00
feat: 文件管理优化
This commit is contained in:
@@ -53,6 +53,6 @@ export default {
|
||||
search: (keyword: string): Promise<AxiosResponse<any>> =>
|
||||
request.post('/file/search', { keyword }),
|
||||
// 获取文件列表
|
||||
list: (path: string, page: number, limit: number): Promise<AxiosResponse<any>> =>
|
||||
request.get('/file/list', { params: { path, page, limit } })
|
||||
list: (path: string, page: number, limit: number, sort: string): Promise<AxiosResponse<any>> =>
|
||||
request.get('/file/list', { params: { path, page, limit, sort } })
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user