...
|
...
|
@@ -5,6 +5,7 @@ |
|
|
const co = require('bluebird').coroutine;
|
|
|
const seckillModel = require('../models/seckill');
|
|
|
const buyNowModel = require('../models/buynow');
|
|
|
const headerModel = require('../../../doraemon/models/header'); // 头部model
|
|
|
|
|
|
const BAD_REQUEST = '非法请求';
|
|
|
|
...
|
...
|
@@ -61,10 +62,13 @@ exports.ensure = (req, res, next) => { |
|
|
}, paymentInfo.data);
|
|
|
}
|
|
|
|
|
|
|
|
|
// console.log(view);
|
|
|
res.locals.title = '确认订单';
|
|
|
res.render('order-ensure', view);
|
|
|
res.render('order-ensure', Object.assign({
|
|
|
pageHeader: headerModel.setNav({
|
|
|
navTitle: '确认订单'
|
|
|
})
|
|
|
}, view));
|
|
|
})().catch(next);
|
|
|
};
|
|
|
|
...
|
...
|
|