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