chore: 文件上传增加category等参数

This commit is contained in:
SADYX
2024-07-15 14:46:48 +08:00
parent 10726d7c4e
commit e87a5d8ba3
4 changed files with 53 additions and 10 deletions

View File

@ -17,6 +17,12 @@ export interface FilePresignedUrlRespVO {
url: string
}
export interface UploadFileParams {
path?: string
categoryId?: string
categoryPath?: string
}
// 查询文件列表
export const getFilePage = (params: FilePageReqVO) => {
return request.get({ url: '/infra/file/page', params })