...
|
...
|
@@ -190,6 +190,12 @@ const review = (req, res) => { |
|
|
installmentModel.getQueryCreditInfo(uid),
|
|
|
installmentModel.getResources('advertisement')
|
|
|
]).then((result) => {
|
|
|
let advertisement = false;
|
|
|
|
|
|
if (result && result[2].length > 1) {
|
|
|
advertisement = result[2][0].data[0];
|
|
|
}
|
|
|
|
|
|
res.render(templete, _.assign({
|
|
|
success: {
|
|
|
price: result[1].currCreditLimit,
|
...
|
...
|
@@ -202,7 +208,7 @@ const review = (req, res) => { |
|
|
},
|
|
|
goods: result[0]
|
|
|
},
|
|
|
advertisement: result[2][0].data[0],
|
|
|
advertisement: advertisement,
|
|
|
url: helpers.appUrlFormat(req.originalUrl, 'go.instalmentlist', {
|
|
|
title: '分期专享'
|
|
|
})
|
...
|
...
|
|