Authored by biao

Merge branch 'release/1.0' of http://git.yoho.cn/fe/yoho-blk into release/1.0

@@ -66,7 +66,7 @@ let index = (req, res) => { @@ -66,7 +66,7 @@ let index = (req, res) => {
66 location: '+86', 66 location: '+86',
67 countryName: {text: '中国'}, 67 countryName: {text: '中国'},
68 captchaUrl: helpers.urlFormat('/passport/images', {t: Date.now()}), 68 captchaUrl: helpers.urlFormat('/passport/images', {t: Date.now()}),
69 - itemUrl: helpers.urlFormat('/help/', {category_id: 9}), 69 + itemUrl: helpers.urlFormat('/help'),
70 referUrl: refer, 70 referUrl: refer,
71 loginUrl: helpers.urlFormat('/passport/login', {refer: refer}), 71 loginUrl: helpers.urlFormat('/passport/login', {refer: refer}),
72 regBtnText: '立即注册' 72 regBtnText: '立即注册'
@@ -98,7 +98,7 @@ const Auth = { @@ -98,7 +98,7 @@ const Auth = {
98 domain: config.cookieDomain 98 domain: config.cookieDomain
99 }); // esline-disable-line 99 }); // esline-disable-line
100 100
101 - }).catch(console.log); 101 + });
102 }, 102 },
103 rememberAccount(accountInfo, req, res) { 103 rememberAccount(accountInfo, req, res) {
104 let aWeek = (new Date()).getTime() / 1000 + 504000; // 504000-一周 104 let aWeek = (new Date()).getTime() / 1000 + 504000; // 504000-一周
@@ -104,7 +104,7 @@ const indexPageDataAsync = () => { @@ -104,7 +104,7 @@ const indexPageDataAsync = () => {
104 countryName: {text: '中国'}, 104 countryName: {text: '中国'},
105 location: '+86', 105 location: '+86',
106 country: {list: countryList}, 106 country: {list: countryList},
107 - captchaUrl: helpers.urlFormat('/passport/images'), 107 + captchaUrl: helpers.urlFormat('/passport/images')
108 } 108 }
109 }; 109 };
110 })(); 110 })();
@@ -19,7 +19,7 @@ module.exports = { @@ -19,7 +19,7 @@ module.exports = {
19 }, 19 },
20 cookieDomain: 'yohobuy.com', 20 cookieDomain: 'yohobuy.com',
21 domains: { 21 domains: {
22 - api: 'http://testapi.yoho.cn:58078/', // devapi.yoho.cn:58078 testapi.yoho.cn:28078 devapi.yoho.cn:58078 22 + api: 'http://devapi.yoho.cn:58078/', // devapi.yoho.cn:58078 testapi.yoho.cn:28078 devapi.yoho.cn:58078
23 service: 'http://testservice.yoho.cn:28077/', // testservice.yoho.cn:28077 devservice.yoho.cn:58077 23 service: 'http://testservice.yoho.cn:28077/', // testservice.yoho.cn:28077 devservice.yoho.cn:58077
24 search: 'http://192.168.102.216:8080/yohosearch/' 24 search: 'http://192.168.102.216:8080/yohosearch/'
25 }, 25 },