Authored by 张孝茹

400

... ... @@ -35,7 +35,7 @@ exports.orderDetailData = (req, res, next) => {
let refundReason = result[2];
if (!orderDetail || _.isEmpty(orderDetail)) {
return next(404);
return next();
}
Object.assign(orderDetail, {
... ...
... ... @@ -81,11 +81,11 @@ class BackNew {
/**
* 通过邮箱找回密码成功页
*/
backByEmailSuccess(req, res) {
backByEmailSuccess(req, res, next) {
let email = req.query.email || '';
if (!helpers.verifyEmail(email)) {
res.redirect(400);
return next();
}
res.render('back/email-success-new', {
width750: true,
... ...