diff --git a/pages/release/video.vue b/pages/release/video.vue index 036969a..7fa025f 100644 --- a/pages/release/video.vue +++ b/pages/release/video.vue @@ -91,11 +91,18 @@ let COS = require('../../common/cos-wx-sdk-v5.js'); const upload_file_server = (_this, filepath) => { // 腾讯云配置 let cosConfig = { - Bucket: 'dmmall-1300406074', //replace with yours + Bucket: 'dmmall-1302895943', //replace with yours Region: 'ap-shanghai', //replace with yours - SecretId: 'AKIDjDPJhni9gTzEB9iGNWQ3PTVGjv74q7EL', //replace with yours - SecretKey: 'ye3SZOvAQO5X5LK3Vy933h6G86h4mqpG' //replace with yours + SecretId: 'AKID7z1lFeo0tV9YmmvZ52mrxlNmvqHTcuCF', //replace with yours + SecretKey: 'd3zTJ0RFwMYVE7jAMJzQ4UbS4YmmJiPq' //replace with yours }; + // 腾讯云配置 + // let cosConfig = { + // Bucket: 'dmmall-1300406074', //replace with yours + // Region: 'ap-shanghai', //replace with yours + // SecretId: 'AKIDjDPJhni9gTzEB9iGNWQ3PTVGjv74q7EL', //replace with yours + // SecretKey: 'ye3SZOvAQO5X5LK3Vy933h6G86h4mqpG' //replace with yours + // }; // 获取本地文件 let filePath = filepath; // 自定义文件名以及路径 @@ -125,7 +132,7 @@ const upload_file_server = (_this, filepath) => { console.log(err, data, 12345); if (err == null) { if (data.statusCode == 200) { - _this.videopath = 'https://dmmall-1300406074.cos.ap-shanghai.myqcloud.com/' + Key; + _this.videopath = 'https://dmmall-1302895943.cos.ap-shanghai.myqcloud.com/' + Key; uni.hideLoading(); _this.videostate = true; } else {