...
|
...
|
@@ -33,7 +33,7 @@ exports.index = (req, res, next) => { |
|
|
exports.getCouponStatus = (req, res, next) => {
|
|
|
couponModel.getCouponStatus({
|
|
|
uid: req.user.uid,
|
|
|
contentCode: req.query.contentCode
|
|
|
contentCode: req.query.contentCode || contentCode
|
|
|
}).then(result => {
|
|
|
res.json(result);
|
|
|
}).catch(next);
|
...
|
...
|
|