...
|
...
|
@@ -212,6 +212,28 @@ const bind = { |
|
|
}
|
|
|
},
|
|
|
|
|
|
passwordPage: (req, res) => {
|
|
|
let openId = req.query.openId;
|
|
|
let sourceType = req.query.sourceType;
|
|
|
let areaCode = req.query.areaCode || '86';
|
|
|
let phoneNum = req.query.phoneNum;
|
|
|
let code = req.query.code;
|
|
|
|
|
|
res.render('bind/password', {
|
|
|
module: 'passport',
|
|
|
page: 'bind-password',
|
|
|
bindPwd: true, // js标识
|
|
|
backUrl: helpers.urlFormat('/passport/login'), // 返回的URL链接
|
|
|
showHeaderImg: true, // 控制显示头部图片
|
|
|
isPassportPage: true, // 模板中模块标识
|
|
|
sourceType: sourceType, // 第三方登录来源
|
|
|
openId: openId, // openId
|
|
|
areaCode: areaCode, // 国别码
|
|
|
phoneNum: phoneNum, // 国别码
|
|
|
code: code // 验证码
|
|
|
});
|
|
|
},
|
|
|
|
|
|
successPage: (req, res) => {
|
|
|
let refer = req.cookies.refer;
|
|
|
|
...
|
...
|
|