Authored by ccbikai

修改配置

@@ -13,17 +13,16 @@ module.exports = { @@ -13,17 +13,16 @@ module.exports = {
13 port: 6001, 13 port: 6001,
14 siteUrl: 'http://m.yohobuy.com', 14 siteUrl: 'http://m.yohobuy.com',
15 domains: { 15 domains: {
16 - api: 'http://testapi.yoho.cn:28078/', // http://devapi.yoho.cn:58078/ http://testapi.yoho.cn:28078/  
17 - service: 'http://testservice.yoho.cn:28077/',  
18 - search: 'http://192.168.10.64:8080/yohosearch/' 16 + api: 'http://testapi.yoho.cn:28078/',
  17 + service: 'http://testservice.yoho.cn:28077/'
19 }, 18 },
20 useOneapm: false, 19 useOneapm: false,
21 useCache: false, 20 useCache: false,
22 memcache: { 21 memcache: {
23 - master: ['192.168.102.168:12580'],  
24 - slave: ['192.168.102.168:12580'],  
25 - session: ['192.168.102.168:12580'],  
26 - timeout: 5000 22 + master: ['192.168.102.161:11213'],
  23 + slave: ['192.168.102.161:11213'],
  24 + session: ['192.168.102.161:11213'],
  25 + timeout: 3000
27 }, 26 },
28 loggers: { 27 loggers: {
29 infoFile: { 28 infoFile: {
@@ -53,6 +52,16 @@ module.exports = { @@ -53,6 +52,16 @@ module.exports = {
53 if (isProduction) { 52 if (isProduction) {
54 Object.assign(module.exports, { 53 Object.assign(module.exports, {
55 appName: 'm.yohobuy.com', 54 appName: 'm.yohobuy.com',
  55 + domains: {
  56 + api: 'http://api.yoho.yohoops.org/',
  57 + service: 'http://service.yoho.yohoops.org/'
  58 + },
  59 + memcache: {
  60 + master: ['172.31.22.1:12111', '172.31.20.56:12111', '172.31.31.146:12111'],
  61 + slave: ['172.31.22.1:12112', '172.31.20.56:12112', '172.31.31.146:12112'],
  62 + session: ['172.31.22.1:12111', '172.31.20.56:12111', '172.31.31.146:12111'],
  63 + timeout: 3000
  64 + },
56 useOneapm: true, 65 useOneapm: true,
57 useCache: true 66 useCache: true
58 }); 67 });