back-new.js
766 Bytes
class BackNew {
/**
* 通过手机找回密码
*/
backByMobile(req, res) {
res.render('back/mobile-new', {
width750: true,
module: 'passport',
page: 'back-mobile-new'
});
}
/**
* 通过邮箱找回密码
*/
backByEmail(req, res) {
res.render('back/email-new', {
width750: true,
module: 'passport',
page: 'back-email-new'
});
}
/**
* 通过邮箱找回密码成功页
*/
backByEmailSuccess(req, res) {
res.render('back/email-success-new', {
width750: true,
module: 'passport',
page: 'back-email-success-new'
});
}
}
module.exports = BackNew;