...
|
...
|
@@ -219,7 +219,7 @@ const payCod = (req, res, next) => { |
|
|
|
|
|
payModel.getPayCod(param).then(result => {
|
|
|
if (result.match === true) {
|
|
|
aboutModel.about(req.yoho.isApp).then(resu => {
|
|
|
req.ctx(aboutModel).about(req.yoho.isApp).then(resu => {
|
|
|
res.render('pay/pay-cod', Object.assign(responseData, result, {wxFooter: resu}));
|
|
|
});
|
|
|
} else {
|
...
|
...
|
@@ -272,7 +272,7 @@ const payAli = (req, res, next) => { |
|
|
|
|
|
payModel.getPayAli(param).then(result => {
|
|
|
if (result.match === true) {
|
|
|
aboutModel.about(req.yoho.isApp).then(resu => {
|
|
|
req.ctx(aboutModel).about(req.yoho.isApp).then(resu => {
|
|
|
res.render('pay/pay-ali', Object.assign(responseData, result, {wxFooter: resu}));
|
|
|
});
|
|
|
} else {
|
...
|
...
|
|