zx 1 ماه پیش
والد
کامیت
a0f55dc3f9
3فایلهای تغییر یافته به همراه4 افزوده شده و 4 حذف شده
  1. 2 2
      src/components/VideoUpload/index.vue
  2. 1 1
      src/utils/cos.js
  3. 1 1
      src/utils/obs.js

+ 2 - 2
src/components/VideoUpload/index.vue

@@ -287,7 +287,7 @@ export default {
         if (this.isPrivate===0){
           line_1 = `https://tcpv.ylrzcloud.com${data.urlPath}`;
         }else {
-          line_1 = `https://blytcpv.ylrzcloud.com${data.urlPath}`;
+          line_1 = `https://fbytcpv.ylrzcloud.com${data.urlPath}`;
         }
 
         let urlPathWithoutFirstSlash = data.urlPath.substring(1);
@@ -313,7 +313,7 @@ export default {
         if (this.isPrivate===0){
           line_2 = `https://obs.ylrztop.com/${data.urlPath}`;
         }else {
-          line_2 = `https://blyobs.ylrztop.com/${data.urlPath}`;
+          line_2 = `https://fbyobs.ylrztop.com/${data.urlPath}`;
         }
         // this.$emit("update:videoUrl", data);
         this.$emit("update:line_2", line_2);

+ 1 - 1
src/utils/cos.js

@@ -3,7 +3,7 @@ import { Message } from 'element-ui';
 import { getTmpSecretKey } from '@/api/common';
 
 const config = {
-    Bucket: 'beliyo-1323137866',
+    Bucket: 'fby-1323137866',
     Region: 'ap-chongqing',
 };
 

+ 1 - 1
src/utils/obs.js

@@ -29,7 +29,7 @@ export const uploadToOBS = async(file,progressCallback,type) =>  {
         return new Promise((resolve, reject) => {
             //上传对象
             obsClient.putObject({
-                Bucket: 'ylrz-obs2024',//桶名称
+                Bucket: 'fby-hw079058881',//桶名称
                 Key: key,//文件名
                 Body: file,
                 ProgressCallback: callback,//进度回调