Authored by ccbikai

测试环境接口地址修改

@@ -116,12 +116,9 @@ if (isProduction) { @@ -116,12 +116,9 @@ if (isProduction) {
116 Object.assign(module.exports, { 116 Object.assign(module.exports, {
117 appName: 'm.yohoblk.com for test', 117 appName: 'm.yohoblk.com for test',
118 domains: { 118 domains: {
119 - // api: 'http://dev-api.yohops.com:9999/',  
120 - // service: 'http://dev-service.yohops.com:9999/'  
121 -  
122 - api: 'http://api-test1.yohops.com:9999/',  
123 - service: 'http://service-test1.yohops.com:9999/',  
124 - singleApi: 'http://api-test1.yohops.com:9999/' 119 + api: process.env.TEST_API || 'http://api-test1.yohops.com:9999/',
  120 + service: process.env.TEST_SERVICE || 'http://service-test1.yohops.com:9999/',
  121 + singleApi: process.env.TEST_SINGLE || 'http://api-test1.yohops.com:9999/'
125 }, 122 },
126 memcache: { 123 memcache: {
127 master: ['127.0.0.1:12111'], 124 master: ['127.0.0.1:12111'],