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