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