...
|
...
|
@@ -15,11 +15,11 @@ const custom = require(`${cRoot}/custom`); |
|
|
const rewrite = require('../../doraemon/middleware/rewrite');
|
|
|
const router = express.Router(); // eslint-disable-line
|
|
|
|
|
|
router.get('/', channel.switchChannel, channel.index); // 首页,频道选择页
|
|
|
router.get('/boys', channel.switchChannel, channel.boys);
|
|
|
router.get('/girls', channel.switchChannel, channel.girls);
|
|
|
router.get('/kids', channel.switchChannel, channel.kids);
|
|
|
router.get('/lifestyle', channel.switchChannel, channel.lifestyle);
|
|
|
router.get('/', channel.switchChannel, channel.boys); // 首页,频道选择页
|
|
|
router.get('/boys', channel.switchChannel, channel.boys); // 男生页面
|
|
|
// router.get('/girls', channel.switchChannel, channel.girls); // 去掉girls频道 2020-05-28
|
|
|
// router.get('/kids', channel.switchChannel, channel.kids); // 去掉kids频道 2020-05-28
|
|
|
// router.get('/lifestyle', channel.switchChannel, channel.lifestyle); // 去掉lifestyle频道 2020-05-28
|
|
|
router.get('/channel/getResourceContent', channel.getResourceContent);// 获取首页,其余频道楼层
|
|
|
|
|
|
router.get('/(:channel)/bottomBanner', channel.bottomBanner);
|
...
|
...
|
|