...
|
...
|
@@ -149,7 +149,12 @@ module.exports = class extends global.yoho.BaseModel { |
|
|
|
|
|
// 修改绑定的手机号
|
|
|
changeMobile(params, uid) {
|
|
|
return this.meGiftAPi.changeMobile(params.area, params.mobile, params.code, uid);
|
|
|
return this.meGiftAPi.changeMobile(params.area, params.mobile, params.code, uid).then(res => {
|
|
|
if (res.code === 200) {
|
|
|
_.set(this.ctx, 'req.session.USER_MOBILE', params.mobile.replace(/(\d{3})\d{4}(\d{4})/, '$1****$2'));
|
|
|
}
|
|
|
return res;
|
|
|
});
|
|
|
}
|
|
|
|
|
|
// 激活礼品卡
|
...
|
...
|
|