fix: 修复http上传方式无法清除记录文件的bug

This commit is contained in:
xiaojunnuo
2025-04-27 01:52:42 +08:00
parent 2943e0e58d
commit 72a7b51d47
4 changed files with 8 additions and 10 deletions

View File

@@ -18,7 +18,7 @@ export type OssFileItem = {
export type IOssClient = {
upload: (fileName: string, fileContent: Buffer) => Promise<void>;
remove: (fileName: string) => Promise<void>;
remove: (fileName: string, opts?: { joinRootDir?: boolean }) => Promise<void>;
download: (fileName: string, savePath: string) => Promise<void>;