Authored by 陈轩

Merge remote-tracking branch 'origin/feature/live' into feature/live

@@ -30,7 +30,7 @@ let _getBannerData = () => { @@ -30,7 +30,7 @@ let _getBannerData = () => {
30 code: 200, 30 code: 200,
31 cache: true 31 cache: true
32 }).then((result) => { 32 }).then((result) => {
33 - return result.data ? resourcesProcess(result.data) : []; 33 + return result && result.data ? resourcesProcess(result.data) : [];
34 }); 34 });
35 }; 35 };
36 36
@@ -117,7 +117,7 @@ if (isProduction) { @@ -117,7 +117,7 @@ if (isProduction) {
117 domains: { 117 domains: {
118 api: 'http://testapi.yoho.cn:28078/', 118 api: 'http://testapi.yoho.cn:28078/',
119 service: 'http://testservice.yoho.cn:28077/', 119 service: 'http://testservice.yoho.cn:28077/',
120 - liveApi: 'http://api.live.yoho.cn/' 120 + liveApi: 'http://testapi.live.yohops.com:9999/'
121 }, 121 },
122 memcache: { 122 memcache: {
123 master: ['127.0.0.1:12111'], 123 master: ['127.0.0.1:12111'],
@@ -5,6 +5,8 @@ @@ -5,6 +5,8 @@
5 "script": "app.js", 5 "script": "app.js",
6 "instances": "max", 6 "instances": "max",
7 "exec_mode": "cluster", 7 "exec_mode": "cluster",
  8 + "merge_logs": true,
  9 + "log_date_format": "YYYY-MM-DD HH:mm Z",
8 "env": { 10 "env": {
9 "PORT": 6001 11 "PORT": 6001
10 } 12 }