Commit 6ff696ce authored by linxin's avatar linxin

add

parent 89f6680c
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
module.exports = { module.exports = {
NODE_ENV: '"production"', NODE_ENV: '"production"',
CONFIG_ENV: JSON.stringify(process.env.CONFIG_ENV), CONFIG_ENV: JSON.stringify(process.env.CONFIG_ENV),
debug: false, debug: true,
isMobilePlatform: true, isMobilePlatform: true,
loginPath: '"http://www.xcmgfs.com:8087/oauth/token?client_id=client2&client_secret=secret&grant_type=password&username=appadmin&password=" ', loginPath: '"http://www.xcmgfs.com:8087/oauth/token?client_id=client2&client_secret=secret&grant_type=password&username=appadmin&password=" ',
basePath: '"http://www.xcmgfs.com:8087/r/api/interface?sysName=XCMG_PROD&apiName="', basePath: '"http://www.xcmgfs.com:8087/r/api/interface?sysName=XCMG_PROD&apiName="',
......
...@@ -58,7 +58,7 @@ import Jpush from './scripts/jpushService' ...@@ -58,7 +58,7 @@ import Jpush from './scripts/jpushService'
import Jmessage from './scripts/jmessageService' import Jmessage from './scripts/jmessageService'
if (process.env.CONFIG_ENV === 'uat' || process.env.CONFIG_ENV === 'dev') { if (process.env.CONFIG_ENV === 'uat' || process.env.CONFIG_ENV === 'dev' || process.env.CONFIG_ENV === 'prod') {
const VConsole = require('vconsole') const VConsole = require('vconsole')
new VConsole() // eslint-disable-line new VConsole() // eslint-disable-line
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment