前端-胡立永 8 hours ago
parent
commit
0009a8f99d
2 changed files with 7 additions and 7 deletions
  1. +1
    -1
      utils/getUrl.js
  2. +6
    -6
      utils/oss-upload/oss/OSSConfig.js

+ 1
- 1
utils/getUrl.js View File

@ -1,4 +1,4 @@
let current = "trial";
let current = "release";
const accountInfo = wx.getAccountInfoSync(); const accountInfo = wx.getAccountInfoSync();
// current = accountInfo.miniProgram.envVersion; // current = accountInfo.miniProgram.envVersion;


+ 6
- 6
utils/oss-upload/oss/OSSConfig.js View File

@ -5,17 +5,17 @@ import { Base64 } from '@/utils/oss-upload/common/crypto/base64.js';
// 阿里云配置 // 阿里云配置
const ossConfig = { const ossConfig = {
url: 'https://image.hhlm1688.com/',
url: 'https://cdn.catmdogd.com/',
config: { config: {
//桶的地址 //桶的地址
region: 'oss-cn-guangzhou',
region: 'oss-cn-shanghai',
//id //id
accessKeyId: 'LTAI5tQSs47izVy8DLVdwUU9',
accessKeyId: 'LTAI5tD3bjTBDvgmgXLTKL5X',
//密钥 //密钥
accessKeySecret: 'qHI7C3PaXYZySr84HTToviC71AYlFq',
accessKeySecret: 'wCPlCO5nnnqBekd3wxAPU6CSUto6fQ',
//桶的名字 //桶的名字
bucket: 'hanhaiimage',
endpoint: 'oss-cn-shenzhen.aliyuncs.com',
bucket: 'catmdogf',
endpoint: 'oss-cn-shanghai.aliyuncs.com',
} }
} }


Loading…
Cancel
Save