Authored by hongweigao

修改接口

@@ -790,7 +790,6 @@ const _processFloorData = (rawData, type, isJKChannel, code) => { @@ -790,7 +790,6 @@ const _processFloorData = (rawData, type, isJKChannel, code) => {
790 floorList.push(floorData); 790 floorList.push(floorData);
791 } 791 }
792 }); 792 });
793 - floorList.push(floorMap.jacket.call());  
794 return { 793 return {
795 floors: floorList, 794 floors: floorList,
796 promise: _.reverse(searchPromise), 795 promise: _.reverse(searchPromise),
@@ -934,6 +933,11 @@ const getNewArrival = (channel, isJKChannel, poolId)=> { @@ -934,6 +933,11 @@ const getNewArrival = (channel, isJKChannel, poolId)=> {
934 params = {}, 933 params = {},
935 method = ''; 934 method = '';
936 935
  936 + // 没有商品池id,不查数据
  937 + if (!poolId) {
  938 + return Promise.all(rel).then();
  939 + }
  940 +
937 if (isJKChannel) { 941 if (isJKChannel) {
938 method = 'app.search.sales'; 942 method = 'app.search.sales';
939 params = { 943 params = {
@@ -981,7 +985,6 @@ const getNewArrival = (channel, isJKChannel, poolId)=> { @@ -981,7 +985,6 @@ const getNewArrival = (channel, isJKChannel, poolId)=> {
981 gender: params.gender 985 gender: params.gender
982 })); 986 }));
983 }); 987 });
984 -  
985 return result; 988 return result;
986 }); 989 });
987 }; 990 };