...
|
...
|
@@ -434,6 +434,7 @@ const _getSingleHotFloorData = (args, type) => { |
|
|
return _getGirlsSingleHot(args, type);
|
|
|
}
|
|
|
};
|
|
|
|
|
|
/**
|
|
|
* 组装最新上架楼层数据
|
|
|
*
|
...
|
...
|
@@ -927,7 +928,7 @@ const formatIndexGuideData = data => { |
|
|
* @param string $channel
|
|
|
* @return array
|
|
|
*/
|
|
|
const getNewArrival = (channel, isJKChannel)=> {
|
|
|
const getNewArrival = (channel, isJKChannel, poolId)=> {
|
|
|
let rel = [],
|
|
|
sortList = sortMap[channel],
|
|
|
params = {},
|
...
|
...
|
@@ -936,7 +937,7 @@ const getNewArrival = (channel, isJKChannel)=> { |
|
|
if (isJKChannel) {
|
|
|
method = 'app.search.sales';
|
|
|
params = {
|
|
|
productPool: 519
|
|
|
productPool: poolId
|
|
|
};
|
|
|
} else {
|
|
|
method = 'web.search.newshelve';
|
...
|
...
|
@@ -951,7 +952,7 @@ const getNewArrival = (channel, isJKChannel)=> { |
|
|
}
|
|
|
|
|
|
|
|
|
params.gender = channelMap[channel].gender;
|
|
|
// params.gender = channelMap[channel].gender;
|
|
|
|
|
|
_.forEach(sortList, (item) => {
|
|
|
let data = Object.assign(item, params, {limit: item.viewNum});
|
...
|
...
|
|