📖 CRM:code review 前端直接上传

(cherry picked from commit d3fab9a0fd)
This commit is contained in:
YunaiV
2024-02-17 20:35:35 +08:00
committed by shizhong
parent a6cc1513be
commit ed81df422c
3 changed files with 6 additions and 6 deletions

View File

@ -27,10 +27,10 @@ export const deleteFile = (id: number) => {
}
// 获取文件预签名地址
export const getFilePresignedUrl = (fileName: string) => {
export const getFilePresignedUrl = (path: string) => {
return request.get<FilePresignedUrlRespVO>({
url: '/infra/file/presigned-url',
params: { fileName }
params: { path }
})
}