...
|
...
|
@@ -16,9 +16,10 @@ const chatQa = require(`${cRoot}/chatQa`); // 问题搜索列表页 |
|
|
// middlware
|
|
|
|
|
|
const authGuard = require('../../doraemon/middleware/auth');
|
|
|
const disableBFCache = require('../../doraemon/middleware/disable-bfcache');
|
|
|
|
|
|
// Your controller here
|
|
|
router.get('/im', chat.appAdapter, authGuard, chat.page);
|
|
|
router.get('/im', disableBFCache, chat.appAdapter, authGuard, chat.page);
|
|
|
router.get('/im/fetchHistory', chat.fetchHistory);
|
|
|
router.get('/getOrders', chat.getOrders);
|
|
|
router.get('/im/global-list', chat.queryGlobalOrder);
|
...
|
...
|
|