...
|
...
|
@@ -6,9 +6,13 @@ |
|
|
|
|
|
'use strict';
|
|
|
|
|
|
//const router = require('express').Router();
|
|
|
//const cRoot = './controllers';
|
|
|
//
|
|
|
//// Your controller here
|
|
|
//
|
|
|
//module.exports = router; |
|
|
const router = require('express').Router(); // eslint-disable-line
|
|
|
const cRoot = './controllers';
|
|
|
|
|
|
const guangController = require(`${cRoot}/index`);
|
|
|
|
|
|
// Your controller here
|
|
|
|
|
|
router.get('/', guangController.index);
|
|
|
|
|
|
module.exports = router; |
...
|
...
|
|