...
|
...
|
@@ -13,6 +13,8 @@ const authMW = require('../../doraemon/middleware/auth'); |
|
|
const seckill = require(cRoot + '/seckill');
|
|
|
|
|
|
// Your controller here
|
|
|
router.all('/seckill/', authMW);
|
|
|
router.all('/seckill/*', authMW);
|
|
|
router.get('/seckill/', seckill.ensure);
|
|
|
router.post('/seckill/compute', seckill.compute);
|
|
|
router.post('/seckill/submit', seckill.submit);
|
...
|
...
|
|