...
|
...
|
@@ -10,6 +10,7 @@ const express = require('express'); |
|
|
|
|
|
const router = express.Router(); // eslint-disable-line
|
|
|
const auth = require('../../doraemon/middleware/auth');
|
|
|
const disableBFCache = require('../../doraemon/middleware/disable-BFCache');
|
|
|
|
|
|
const cRoot = './controllers';
|
|
|
const installment = require(cRoot + '/installment');
|
...
|
...
|
@@ -90,7 +91,7 @@ router.get('/suggestSub', suggest.suggestSub); |
|
|
router.post('/savesuggest', suggest.saveSuggest);
|
|
|
|
|
|
// 消息
|
|
|
router.use('/message', auth, message.index);
|
|
|
router.use('/message', auth, disableBFCache, message.index);
|
|
|
router.get('/messageDetail', auth, message.index);
|
|
|
router.post('/ajaxDelMes', auth, message.ajaxDelMes);
|
|
|
router.post('/pickCoupon', auth, message.pickCoupon);
|
...
|
...
|
|