...
|
...
|
@@ -731,8 +731,6 @@ const _processFloorData = (rawData, type) => { |
|
|
|
|
|
} else if (data && data.template_name === 'debrisSlider') { // 处理girls的banner
|
|
|
floorData = floorMap.debrisSlide.call(null, data.data);
|
|
|
} else if (data && data.template_name === 'jk_floor') { // 左1大图,右6小图,title
|
|
|
floorData = floorMap.jacket.call(null, data.data);
|
|
|
} else if (data.template_name === 'new_user_floor' || data.template_intro === '新人专享') {
|
|
|
if (!hasNewUser) {
|
|
|
floorData = floorMap.newuser.call(null, data.data);
|
...
|
...
|
@@ -1250,8 +1248,8 @@ const getIndexGuideData = () => { |
|
|
return serviceApi.get('operations/api/v6/category/getCategory', params, config.apiCache);
|
|
|
};
|
|
|
|
|
|
const hasNewUserFloor = (channelType, req) => {
|
|
|
let params = {uid: req.user.uid};
|
|
|
const hasNewUserFloor = (channelType, uid) => {
|
|
|
let params = {uid: uid};
|
|
|
|
|
|
return _requestContent(channelType, params).then(res => {
|
|
|
let isNewUser = false,
|
...
|
...
|
|