...
|
...
|
@@ -139,7 +139,7 @@ exports.check = (req, res, next) => { |
|
|
return next(404);
|
|
|
}
|
|
|
|
|
|
const code = (req.query.code || '').trim();
|
|
|
let code = (req.query.code || '').trim();
|
|
|
const mobile = req.session.smsLogin.mobile;
|
|
|
const area = req.session.smsLogin.area;
|
|
|
const shopping_key = cookie.getShoppingKey(req); // eslint-disable-line
|
...
|
...
|
@@ -188,8 +188,8 @@ exports.check = (req, res, next) => { |
|
|
// 手机号码已注册 --> 直接登录
|
|
|
PhoneService.autoSignin({
|
|
|
profile: mobile,
|
|
|
code: r2.data.code,
|
|
|
area,
|
|
|
code,
|
|
|
shopping_key
|
|
|
})
|
|
|
.then(info => {
|
...
|
...
|
|