...
|
...
|
@@ -7,8 +7,7 @@ const couponModel = require(`${mRoot}/coupon`); // 领取优惠券 model |
|
|
exports.index = (req, res, next) => {
|
|
|
var renderData = {
|
|
|
module: 'activity',
|
|
|
page: 'coupon',
|
|
|
appDownLoadLink: 'http://a.app.qq.com/o/simple.jsp?pkgname=com.yoho'
|
|
|
page: 'coupon'
|
|
|
},
|
|
|
ordercode = req.query.ordercode,
|
|
|
uid = req.query.uid,
|
...
|
...
|
@@ -28,7 +27,6 @@ exports.index = (req, res, next) => { |
|
|
// 获取信息成功
|
|
|
couponData.ordercode = ordercode;
|
|
|
}
|
|
|
couponData.appDownLoadLink = renderData.appDownLoadLink;
|
|
|
res.render('coupon', {
|
|
|
result: couponData,
|
|
|
module: 'activity',
|
...
|
...
|
|