From 19c97b76156160965d933d9196d792a1489a5035 Mon Sep 17 00:00:00 2001 From: xuhuajiao <13476289682@163.com> Date: Mon, 18 May 2026 09:07:19 +0800 Subject: [PATCH] =?UTF-8?q?=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- utils/config.js | 22 ++++++---------------- 1 file changed, 6 insertions(+), 16 deletions(-) diff --git a/utils/config.js b/utils/config.js index 1af82cd..c4c1f5a 100644 --- a/utils/config.js +++ b/utils/config.js @@ -1,19 +1,9 @@ -const CONFIG = { - // 开发环境配置 - development: { - // assetsPath: 'https://m.siccat.com/public/static/images/', // 静态资源路径 - baseUrl: 'http://192.168.99.63:14000', // 后台接口请求地址 - }, - // 生产环境配置 - production: { - // assetsPath: 'https://m.siccat.com/public/static/images/', // 静态资源路径 - baseUrl: 'http://192.168.99.63:14000', // 后台接口请求地址 - } +const config = { + // 本地 + baseUrl: 'http://192.168.99.63:14000', + // 线上 + // baseUrl: 'https://wechatapi.aiyxlib.com', + LIB_CODE: '1201' }; -const config = CONFIG[process.env.NODE_ENV]; - -// 图书馆代码常量 -config.LIB_CODE = '1201'; - export default config;