|
|
@ -7,7 +7,7 @@ import uvUI from '@/uni_modules/uv-ui-tools' |
|
|
|
Vue.use(uvUI); |
|
|
|
|
|
|
|
// 当前环境
|
|
|
|
const type = 'prod' |
|
|
|
const type = 'prod2' |
|
|
|
|
|
|
|
|
|
|
|
// 环境配置
|
|
|
@ -17,25 +17,28 @@ const config = { |
|
|
|
}, |
|
|
|
prod : { |
|
|
|
baseUrl : 'https://traveladmin.augcl.com/travel-api/api', |
|
|
|
} |
|
|
|
}, |
|
|
|
prod2 : { |
|
|
|
baseUrl : 'https://traveladmin.hhlm1688.com/travel-api/api', |
|
|
|
}, |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// 默认配置
|
|
|
|
const defaultConfig = { |
|
|
|
mapKey : 'SNGBZ-K6AKJ-5X2FI-XYKCM-DEZXZ-FGBA3', |
|
|
|
aliOss : { |
|
|
|
url : 'https://tennis-oss.xzaiyp.top/', |
|
|
|
config : { |
|
|
|
aliOss: { |
|
|
|
url: 'https://image.hhlm1688.com/', |
|
|
|
config: { |
|
|
|
//桶的地址
|
|
|
|
region: 'oss-cn-guangzhou', |
|
|
|
//id
|
|
|
|
accessKeyId:'LTAI5tNycA46YTwm383dRvMV', |
|
|
|
accessKeyId: 'LTAI5tQSs47izVy8DLVdwUU9', |
|
|
|
//密钥
|
|
|
|
accessKeySecret:'tAdbYQCmdur6jbZ8hjvgB7T1Z52mIG', |
|
|
|
accessKeySecret: 'qHI7C3PaXYZySr84HTToviC71AYlFq', |
|
|
|
//桶的名字
|
|
|
|
bucket: 'zhuoqiu-image', |
|
|
|
endpoint:'oss-cn-guangzhou.aliyuncs.com', |
|
|
|
bucket: 'hanhaiimage', |
|
|
|
endpoint: 'oss-cn-shenzhen.aliyuncs.com', |
|
|
|
} |
|
|
|
}, |
|
|
|
dict : { |
|
|
|