From 7f7abaa07976c31cd4bc3897ccbabeba2f869982 Mon Sep 17 00:00:00 2001 From: huliyong <2783385703@qq.com> Date: Tue, 26 Nov 2024 12:58:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config.js | 37 ++++++++++++++++++++++++++++++------- 1 file changed, 30 insertions(+), 7 deletions(-) diff --git a/config.js b/config.js index 9a6313c..c4cc535 100644 --- a/config.js +++ b/config.js @@ -14,8 +14,11 @@ const config = { // baseUrl : 'http://8.138.162.67:8000/a-notice-api', baseUrl : 'http://h5.xzaiyp.top/a-notice-api', }, - prod : { + test : { baseUrl : 'https://admin.anqi.shop/a-notice-api', + }, + prod : {//正式环境 + baseUrl : 'https://admin.ytonggao.com/a-notice-api', } } @@ -23,21 +26,41 @@ const config = { // 默认配置 const defaultConfig = { mapKey : '', + // aliOss : { + // url : 'https://tennis-oss.xzaiyp.top/', + // config : { + // //桶的地址 + // region: 'oss-cn-guangzhou', + // //id + // accessKeyId:'LTAI5tNycA46YTwm383dRvMV', + // //密钥 + // accessKeySecret:'tAdbYQCmdur6jbZ8hjvgB7T1Z52mIG', + // //桶的名字 + // bucket: 'zhuoqiu-image', + // endpoint:'oss-cn-guangzhou.aliyuncs.com', + // } + // }, aliOss : { - url : 'https://tennis-oss.xzaiyp.top/', + url : 'https://image.ytonggao.com/', config : { //桶的地址 - region: 'oss-cn-guangzhou', + region: 'oss-cn-chengdu', //id - accessKeyId:'LTAI5tNycA46YTwm383dRvMV', + accessKeyId:'LTAI5t9Hw5DTgahn82upXu4L', //密钥 - accessKeySecret:'tAdbYQCmdur6jbZ8hjvgB7T1Z52mIG', + accessKeySecret:'hGJPlLmwK9RVH3FQHkXWCSPgPiGrHj', //桶的名字 - bucket: 'zhuoqiu-image', - endpoint:'oss-cn-guangzhou.aliyuncs.com', + bucket: 'zkcm', + endpoint:'oss-cn-chengdu.aliyuncs.com', } }, } +// oss: +// accessKey: LTAI5t9Hw5DTgahn82upXu4L +// secretKey: hGJPlLmwK9RVH3FQHkXWCSPgPiGrHj +// endpoint: oss-cn-chengdu.aliyuncs.com +// bucketName: zkcm +// staticDomain: Vue.prototype.$config = utils.deepMergeObject(defaultConfig, config[type])