|
@@ -17,8 +17,7 @@ public class OSSUploader {
|
|
|
private static final String BUCKET_NAME = "art-pubbucket"; // 存储空间名称
|
|
|
|
|
|
public static String uploadToOSS(String localVideoPath, String downloadType) {
|
|
|
- String ossVideoKey = String.format("we_com/%s/%s", downloadType, UUID.randomUUID().toString());
|
|
|
-
|
|
|
+ String ossVideoKey = String.format("long_articles/%s/%s", downloadType, UUID.randomUUID().toString());
|
|
|
// 创建 OSSClient 实例
|
|
|
OSS ossClient = new OSSClientBuilder().build(ENDPOINT, ACCESS_KEY_ID, ACCESS_KEY_SECRET);
|
|
|
|