...
|
...
|
@@ -6,6 +6,7 @@ |
|
|
const express = require('express');
|
|
|
const router = express.Router(); // eslint-disable-line
|
|
|
const couponExp = require('./controllers/coupon-expansion');
|
|
|
const zeroBuy = require('./controllers/zero-buy');
|
|
|
|
|
|
router.get('/couponExp/couponList', couponExp.couponList);
|
|
|
router.post('/couponExp/receiveCoupon', couponExp.receiveCoupon);
|
...
|
...
|
@@ -15,4 +16,8 @@ router.post('/couponExp/clearYhLogin', couponExp.clearYhLogin); |
|
|
router.post('/couponExp/checkLogin', couponExp.checkLogin);
|
|
|
router.post('/couponExp/friendHelp', couponExp.friendHelp);
|
|
|
|
|
|
|
|
|
router.get('/zerobuy/list', zeroBuy.list);
|
|
|
router.get('/zerobuy/content', zeroBuy.content);
|
|
|
|
|
|
module.exports = router; |
...
|
...
|
|