zyp vor 1 Woche
Ursprung
Commit
e8c7acdab3
3 geänderte Dateien mit 6 neuen und 6 gelöschten Zeilen
  1. 4 4
      src/components/VideoUpload/index.vue
  2. 1 1
      src/utils/cos.js
  3. 1 1
      src/utils/obs.js

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

@@ -200,9 +200,9 @@ export default {
         console.log("isPrivate=======>",this.isPrivate)
         let line_1='' ;
         if (this.isPrivate===0){
-          line_1 = `https://myhktcpv.ylrzcloud.com${data.urlPath}`;
+          line_1 = `https://jzzxtcpv.ylrzcloud.com${data.urlPath}`;
         }else {
-          line_1 = `https://myhktcpv.ylrzcloud.com${data.urlPath}`;
+          line_1 = `https://jzzxtcpv.ylrzcloud.com${data.urlPath}`;
         }
 
         let urlPathWithoutFirstSlash = data.urlPath.substring(1);
@@ -226,9 +226,9 @@ export default {
         console.log("华为OBS返回========>",data);
         let line_2='' ;
         if (this.isPrivate===0){
-          line_2 = `https://myhkobs.ylrztop.com/${data.urlPath}`;
+          line_2 = `https://jzzxobs.ylrztop.com/${data.urlPath}`;
         }else {
-          line_2 = `https://myhkobs.ylrztop.com/${data.urlPath}`;
+          line_2 = `https://jzzxobs.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: 'myhk-1323137866',
+    Bucket: 'jiuzhou-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: 'myhk-hw079058881',//桶名称
+                Bucket: 'jzzx-hw079058881',//桶名称
                 Key: key,//文件名
                 Body: file,
                 ProgressCallback: callback,//进度回调