|
@ -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', |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|