...
|
...
|
@@ -10,12 +10,12 @@ const router = express.Router(); // eslint-disable-line |
|
|
const cRoot = './controllers';
|
|
|
|
|
|
const personalController = require(`${cRoot}/qrcode`);
|
|
|
const favoriteController = require(`${cRoot}/favorite`);
|
|
|
const homeController = require(`${cRoot}/index`);
|
|
|
|
|
|
// 查看二维码
|
|
|
router.get('/QRcode/:id', personalController.QRcode);
|
|
|
|
|
|
// 收藏的商品或者品牌
|
|
|
router.get('/favorite', favoriteController.index);
|
|
|
router.get('/index', homeController.index);
|
|
|
|
|
|
module.exports = router; |
...
|
...
|
|