阿里云返回oss 预览地址
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-03-10 17:35:30 +08:00
parent 0f03dbc75b
commit d921a48a09
3 changed files with 41 additions and 3 deletions
+3 -1
View File
@@ -61,7 +61,7 @@ public class AliyunOSSOptions
public int DurationSeconds { get; set; }
public string PreviewEndpoint { get; set; }
}
@@ -107,6 +107,7 @@ public class AliyunOSSTempToken
public string SecurityToken { get; set; }
public DateTime Expiration { get; set; }
public string PreviewEndpoint { get; set; }
}
@@ -858,6 +859,7 @@ public class OSSService : IOSSService
BucketName = ossOptions.BucketName,
EndPoint = ossOptions.EndPoint,
ViewEndpoint = ossOptions.ViewEndpoint,
PreviewEndpoint=ossOptions.PreviewEndpoint
};