...
|
...
|
@@ -32,7 +32,7 @@ const _reviewStatus = (res, req, uid, status) => { |
|
|
}),
|
|
|
installmentModel.getQueryCreditInfo(uid),
|
|
|
installmentModel.getAdvertisement()
|
|
|
]).then((result) => { //eslint-disable-line
|
|
|
]).then((result) => {
|
|
|
return {
|
|
|
success: {
|
|
|
price: result[1].currCreditLimit,
|
...
|
...
|
@@ -51,11 +51,6 @@ const _reviewStatus = (res, req, uid, status) => { |
|
|
})
|
|
|
}
|
|
|
};
|
|
|
}).catch(() => {
|
|
|
_serverCrash(res, {
|
|
|
url: req.originalUrl,
|
|
|
title: '分期专享'
|
|
|
});
|
|
|
});
|
|
|
|
|
|
} else if (status === '3') {
|
...
|
...
|
@@ -209,6 +204,10 @@ const review = (req, res) => { |
|
|
} else {
|
|
|
_reviewStatus(res, req, uid, openStatus).then((params) => {
|
|
|
res.render('installment/open-result', _.assign(data, params));
|
|
|
}).catch(() => {
|
|
|
_serverCrash(res, {
|
|
|
url: req.originalUrl
|
|
|
});
|
|
|
});
|
|
|
}
|
|
|
};
|
...
|
...
|
|