Authored by ccbikai

修改配置

... ... @@ -13,17 +13,16 @@ module.exports = {
port: 6001,
siteUrl: 'http://m.yohobuy.com',
domains: {
api: 'http://testapi.yoho.cn:28078/', // http://devapi.yoho.cn:58078/ http://testapi.yoho.cn:28078/
service: 'http://testservice.yoho.cn:28077/',
search: 'http://192.168.10.64:8080/yohosearch/'
api: 'http://testapi.yoho.cn:28078/',
service: 'http://testservice.yoho.cn:28077/'
},
useOneapm: false,
useCache: false,
memcache: {
master: ['192.168.102.168:12580'],
slave: ['192.168.102.168:12580'],
session: ['192.168.102.168:12580'],
timeout: 5000
master: ['192.168.102.161:11213'],
slave: ['192.168.102.161:11213'],
session: ['192.168.102.161:11213'],
timeout: 3000
},
loggers: {
infoFile: {
... ... @@ -53,6 +52,16 @@ module.exports = {
if (isProduction) {
Object.assign(module.exports, {
appName: 'm.yohobuy.com',
domains: {
api: 'http://api.yoho.yohoops.org/',
service: 'http://service.yoho.yohoops.org/'
},
memcache: {
master: ['172.31.22.1:12111', '172.31.20.56:12111', '172.31.31.146:12111'],
slave: ['172.31.22.1:12112', '172.31.20.56:12112', '172.31.31.146:12112'],
session: ['172.31.22.1:12111', '172.31.20.56:12111', '172.31.31.146:12111'],
timeout: 3000
},
useOneapm: true,
useCache: true
});
... ...