...
|
...
|
@@ -15,6 +15,9 @@ class SmsNew { |
|
|
let bannerData = yield req.ctx(LoginNewModel).getTopBanner();
|
|
|
let banner = _.get(bannerData, 'data[0].data[0].src', '');
|
|
|
|
|
|
// 是否打开账号登录
|
|
|
let openPassword = !_.get(req.app.locals.wap, 'close.passwordLogin', false);
|
|
|
|
|
|
res.render('sms/sms-login-new', {
|
|
|
module: 'passport',
|
|
|
page: 'sms-login-new',
|
...
|
...
|
@@ -32,7 +35,8 @@ class SmsNew { |
|
|
internationalUrl: '/passport/international', // 国际号登录的URL链接
|
|
|
phoneRetriveUrl: '/passport/back/mobile', // 通过手机号找回密码的URL链接
|
|
|
emailRetriveUrl: '/passport/back/email', // 通过邮箱找回密码的URL链接
|
|
|
isWechat: req.yoho.isWechat
|
|
|
isWechat: req.yoho.isWechat,
|
|
|
openPassword
|
|
|
});
|
|
|
})().catch(next);
|
|
|
}
|
...
|
...
|
|