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;