From ca11455148c05baadb6b52e1984f5636a7255de9 Mon Sep 17 00:00:00 2001 From: lifizer <913626195@qq.com> Date: Wed, 16 Oct 2024 16:59:28 +0800 Subject: [PATCH] =?UTF-8?q?Conf:=E5=BC=80=E5=8F=91=E7=89=88=E5=92=8C?= =?UTF-8?q?=E4=BD=93=E9=AA=8C=E7=89=88=E6=89=93=E5=BC=80=E8=B0=83=E8=AF=95?= =?UTF-8?q?=EF=BC=8C=E7=BA=BF=E4=B8=8A=E7=89=88=E6=9C=AC=E5=85=B3=E9=97=AD?= =?UTF-8?q?=E8=B0=83=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/index.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/config/index.js b/config/index.js index 5c30e44..adbdd35 100644 --- a/config/index.js +++ b/config/index.js @@ -6,11 +6,17 @@ if (NODE_ENV === 'development' || NODE_ENV === 'test') { BASE_URL = 'https://shop.xdd618.com/api' SERVICE_URL = 'https://service-test.xdd618.com/api' SERVICE_WS_URL = 'wss://service-test.xdd618.com/ws' + wx.setEnableDebug({ + enableDebug: true + }) } if (NODE_ENV === 'prod') { BASE_URL = 'https://wxapp.xdd618.com/api' SERVICE_URL = 'https://service.xdd618.com/api' SERVICE_WS_URL = 'wss://service.xdd618.com/ws' + wx.setEnableDebug({ + enableDebug: false + }) } export const VUE_APP_API_URL = BASE_URL