Authored by 郝肖肖

Merge branch 'feature/giftCart' into release/6.1

... ... @@ -113,13 +113,13 @@ module.exports = class extends global.yoho.BaseModel {
}
return this.meGiftAPi.getProfile(uid).then(d => {
let mobile = _.get(d, 'data.verify_mobile', '');
let mobile = _.get(d, 'data.mobile', '');
if (mobile) {
_.set(this.ctx, 'req.session.USER_MOBILE', mobile);
}
Object.assign(userInfo, {isBinMobile: Number(!!mobile), email: _.get(d, 'data.verify_email', '')});
Object.assign(userInfo, {isBinMobile: Number(!!mobile), email: _.get(d, 'data.email', '')});
return userInfo;
});
... ...