Authored by 毕凯

Merge branch 'feature/homeFloor' into 'gray'

'首屏楼层数量'



See merge request !1222
... ... @@ -40,7 +40,7 @@ let _channelPage = (req, res, data) => {
}
if (result && result.content && result.content.length) {
result.content.length = 6; // 首屏先获取前6个楼层,其余用ajax获取
result.content.length = 8; // 首屏先获取前8个楼层,其余用ajax获取
}
// result.content = [{
... ... @@ -82,7 +82,7 @@ exports.getResourceContent = (req, res, next) => {
}).then(result => {
if (result.length) {
result = result.slice(6);
result = result.slice(8);
}
res.render('channel-resource', {
... ...