Conf:增加Fix环境的配置
This commit is contained in:
@@ -10,6 +10,14 @@ if (NODE_ENV === 'development' || NODE_ENV === 'test') {
|
||||
enableDebug: false
|
||||
})
|
||||
}
|
||||
if (NODE_ENV === 'fix') {
|
||||
BASE_URL = 'https://shop-pre.xdd618.com/api'
|
||||
SERVICE_URL = 'https://service-pre.xdd618.com/api'
|
||||
SERVICE_WS_URL = 'wss://service-pre.xdd618.com/ws'
|
||||
wx.setEnableDebug({
|
||||
enableDebug: false
|
||||
})
|
||||
}
|
||||
if (NODE_ENV === 'prod') {
|
||||
BASE_URL = 'https://wxapp.xdd618.com/api'
|
||||
SERVICE_URL = 'https://service.xdd618.com/api'
|
||||
|
||||
Reference in New Issue
Block a user