Authored by 毕凯

Merge branch 'hotfix/familyHeadIco' into 'gray2'

Hotfix/family head ico



See merge request !1086
... ... @@ -445,6 +445,11 @@ class familyModel extends global.yoho.BaseModel {
let familyIndexData = {};
if (result[0] && result[0].data) {
if (result[0].data.headIco) {
result[0].data.headIco = result[0].data.headIco.replace('img01.yohomars.com', 'imgmars.yohobuy.com').replace('img02.yohomars.com', 'imgmars.yohobuy.com'); // eslint-disable-line
}
familyIndexData = _.assign(familyIndexData, {
head_ico: result[0].data.headIco,
nickname: result[0].data.nickName,
... ... @@ -545,6 +550,9 @@ class familyModel extends global.yoho.BaseModel {
let vip = 0; // 从family进入二维码,暂时显示0
let hideTips = true;
if (result[0].data.headIco) {
result[0].data.headIco = result[0].data.headIco.replace('img01.yohomars.com', 'imgmars.yohobuy.com').replace('img02.yohomars.com', 'imgmars.yohobuy.com'); // eslint-disable-line
}
result[0].data.gender = (thisGender === '1' ? 'BOY' : 'GIRL');
result[0].data.otherGender = (thisGender === '1' ? 'GIRL' : 'BOY');
... ...