...
|
...
|
@@ -20,20 +20,15 @@ module.exports = { |
|
|
domains: {
|
|
|
// api: 'http://192.168.102.202:8080/gateway/',
|
|
|
// service: 'http://192.168.102.202:8080/gateway/',
|
|
|
api: 'http://testapi.yoho.cn:28078/',
|
|
|
service: 'http://testservice.yoho.cn:28077/'
|
|
|
// api: 'http://testapi.yoho.cn:28078/',
|
|
|
// service: 'http://testservice.yoho.cn:28077/'
|
|
|
|
|
|
// api: 'http://devapi.yoho.cn:58078/',
|
|
|
// service: 'http://devservice.yoho.cn:58077/'
|
|
|
api: 'http://devapi.yoho.cn:58078/',
|
|
|
service: 'http://devservice.yoho.cn:58077/'
|
|
|
},
|
|
|
subDomains: {
|
|
|
host: '.m.yohoblk.com',
|
|
|
default: '//m.yohoblk.com',
|
|
|
guang: '//guang.m.yohoblk.com',
|
|
|
list: '//list.m.yohoblk.com',
|
|
|
search: '//search.m.yohoblk.com',
|
|
|
huodong: '//huodong.m.yohoblk.com',
|
|
|
activity: '//activity.yohoblk.com',
|
|
|
index: '//m.yohoblk.com'
|
|
|
},
|
|
|
useOneapm: false,
|
...
|
...
|
@@ -87,7 +82,7 @@ if (isProduction) { |
|
|
master: ['memcache1.yohoops.org:12111', 'memcache2.yohoops.org:12111', 'memcache3.yohoops.org:12111'],
|
|
|
slave: ['memcache1.yohoops.org:12112', 'memcache2.yohoops.org:12112', 'memcache3.yohoops.org:12112'],
|
|
|
session: ['memcache1.yohoops.org:12111', 'memcache2.yohoops.org:12111', 'memcache3.yohoops.org:12111'],
|
|
|
timeout: 1000,
|
|
|
timeout: 100,
|
|
|
retries: 0
|
|
|
},
|
|
|
useOneapm: true,
|
...
|
...
|
@@ -97,14 +92,17 @@ if (isProduction) { |
|
|
Object.assign(module.exports, {
|
|
|
appName: 'm.yohoblk.com for test',
|
|
|
domains: {
|
|
|
api: 'http://testapi.yoho.cn:28078/',
|
|
|
service: 'http://testservice.yoho.cn:28077/'
|
|
|
api: 'http://devapi.yoho.cn:58078/',
|
|
|
service: 'http://devservice.yoho.cn:58077/'
|
|
|
|
|
|
// api: 'http://testapi.yoho.cn:28078/',
|
|
|
// service: 'http://testservice.yoho.cn:28077/'
|
|
|
},
|
|
|
memcache: {
|
|
|
master: ['127.0.0.1:12111'],
|
|
|
slave: ['127.0.0.1:12112'],
|
|
|
session: ['127.0.0.1:12111'],
|
|
|
timeout: 1000,
|
|
|
timeout: 100,
|
|
|
retries: 0
|
|
|
},
|
|
|
useOneapm: true,
|
...
|
...
|
|