...
|
...
|
@@ -8,10 +8,10 @@ |
|
|
|
|
|
const expressRouter = require('express').Router;
|
|
|
const cRoot = './controllers';
|
|
|
const channel = require(cRoot);
|
|
|
const component = require(cRoot);
|
|
|
|
|
|
const router = expressRouter();
|
|
|
|
|
|
router.get('/', channel.index); // 首页
|
|
|
router.get('/', component.index); // 首页
|
|
|
|
|
|
module.exports = router; |
...
|
...
|
|