...
|
...
|
@@ -3,7 +3,7 @@ |
|
|
let couponsModel = require('../models/coupons-model');
|
|
|
|
|
|
const index = (req, res, next)=>{
|
|
|
let uid = '8050496';
|
|
|
let uid = req.user.uid;
|
|
|
|
|
|
couponsModel.couponsData(uid, req.query).then(result => {
|
|
|
res.render('coupons', result);
|
...
|
...
|
|