...
|
...
|
@@ -85,6 +85,7 @@ class Reg { |
|
|
let inviteCode = req.body.inviteCode || '';
|
|
|
let isFromMy = _.get(req.session, 'phoneReg.isFromMy', '0');
|
|
|
let token = req.body.token;
|
|
|
let clientIp = req.yoho.clientIp || '';
|
|
|
let from = req.cookies.from || 'yohobuy';
|
|
|
|
|
|
// 购物车key
|
...
|
...
|
@@ -122,7 +123,7 @@ class Reg { |
|
|
}
|
|
|
|
|
|
let regMobileAesResult = yield RegService.regMobileAes(area, mobile, password,
|
|
|
shoppingKey, smsCode, inviteCode, isFromMy, from);
|
|
|
shoppingKey, smsCode, inviteCode, isFromMy, clientIp, from);
|
|
|
|
|
|
if (regMobileAesResult.code !== 200 || !regMobileAesResult.data ||
|
|
|
!regMobileAesResult.data.uid) {
|
...
|
...
|
|