Authored by 李奇

跨域域名增加

... ... @@ -40,9 +40,9 @@ const userController = {
message: GET_USER_INFO_SUCCESS
});
} else {
let name = mobile.replace(/(\d{3})\d{4}(\d{4})/, '$1****$2');
let name = '用户' + mobile.substr(7);
let avatar = 'http://img12.static.yhbimg.com/' +
'imserver/2016/11/17/11/02bc3c3de856432175c01d937342a1f2ce.jpg'; // TODO TO BE REPLACED
'imserver/2016/11/17/11/02bc3c3de856432175c01d937342a1f2ce.jpg';
userInfo = {
name,
... ...
... ... @@ -83,7 +83,12 @@ if (isProduction) {
singleApi: 'http://single.yoho.cn/',
platformApi: 'http://api.platform.yohoops.org'
},
corsAllowOrigin: ['http://ad.yoho.cn', 'https://ad.yoho.cn'],
corsAllowOrigin: [
'http://ad.yoho.cn',
'https://ad.yoho.cn',
'http://feature.yoho.cn',
'https://feature.yoho.cn'
],
memcache: {
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'],
... ...