...
|
...
|
@@ -11,6 +11,7 @@ const cRoot = './controllers'; |
|
|
const channel = require(cRoot);
|
|
|
const cate = require(cRoot + '/cate');
|
|
|
const brandController = require(`${cRoot}/brand`);
|
|
|
const custom = require(`${cRoot}/custom`);
|
|
|
|
|
|
const router = express.Router(); // eslint-disable-line
|
|
|
|
...
|
...
|
@@ -34,4 +35,8 @@ router.get('/brands/delBrandHistory', brandController.delBrandHistory); // 删 |
|
|
// 5.2新楼层功能
|
|
|
router.post('/channel/shopRecom', channel.shopRecom); // 店铺推荐收藏状态
|
|
|
router.post('/channel/userVip', channel.userVip);
|
|
|
|
|
|
// 自定义频道
|
|
|
router.get('/channel/:id.html', custom.index);
|
|
|
|
|
|
module.exports = router; |
...
|
...
|
|