Authored by hongweigao

日韩馆频道页

... ... @@ -758,7 +758,7 @@ const _processFloorData = (rawData, type, isJKChannel, code) => {
// 一张图,在日韩馆频道页,做广告位
floorData = floorMap.ad.call(null, data.data);
}
}else if (data.template_name === 'new_user_floor' || data.template_intro === '新人专享') {
} else if (data.template_name === 'new_user_floor' || data.template_intro === '新人专享') {
if (!hasNewUser) {
floorData = floorMap.newuser.call(null, data.data);
hasNewUser = true;
... ... @@ -947,6 +947,7 @@ const getNewArrival = (channel, isJKChannel, poolId)=> {
params = {
productPool: poolId
};
// 没有商品池id,不查数据
if (!poolId) {
return Promise.all(rel).then();
... ...
... ... @@ -23,7 +23,7 @@ module.exports = {
// api: 'http://api.yoho.cn/',
// service: 'http://service.yoho.cn/',
//api: 'http://dev-api.yohops.com:9999/',
// api: 'http://dev-api.yohops.com:9999/',
// service: 'http://dev-service.yohops.com:9999/',
search: 'http://192.168.102.216:8080/yohosearch/'
... ...