项目下载影像

This commit is contained in:
2025-05-26 16:37:41 +08:00
parent 44536b803f
commit 1f157bd1a2
5 changed files with 195 additions and 1 deletions
+5 -1
View File
@@ -360,7 +360,11 @@ public class OSSService : IOSSService
public async Task DownLoadFromOSSAsync(string ossRelativePath, string localFilePath)
{
GetObjectStoreTempToken();
if (isFirstCall)
{
GetObjectStoreTempToken();
isFirstCall = false;
}
ossRelativePath = ossRelativePath.TrimStart('/');
try