Authored by 周少峰

outlets channel method

... ... @@ -95,7 +95,7 @@ exports.getOutletsGoodsList = (params) => {
// 接口可接收的参数
let apiParams = ['outlets', 'page', 'limit', 'order', 'productSize', 'yh_channel', 'query',
'p_d', 'gender', 'msort', 'misort', 'sort', 'brand', 'color', 'size', 'saleType',
'breakSize', 'breakSort', 'productPool', 'price', 'method'];
'breakSize', 'breakSort', 'productPool', 'price'];
// 初始化必填的接口参数
let tempParams = {
... ...
... ... @@ -43,7 +43,7 @@ exports.getOutletsIndexData = (params, channel) => {
outletsApi.getOutletsTrendData({limit: '30', channel: channel}), // 获取潮流速递商品数据
outletsApi.getOutletsGoodsList(Object.assign(
params,
{limit: params.limit || '100', channel: channel, method: 'app.search.category'}
{limit: params.limit || '100', channel: channel}
)), // 获取底部商品数据
outletsApi.getOutletsActivityOrigin({type: '3', channel: channel}) // tar add 16171552 即将上线数据
]).then(result => {
... ... @@ -138,7 +138,7 @@ exports.getOutletsChannelData = (params, channel) => {
}),
// 获取奥莱商品列表
outletsApi.getOutletsGoodsList(Object.assign(params, {channel: channel, method: 'app.search.category'}))
outletsApi.getOutletsGoodsList(Object.assign(params, {channel: channel}))
];
return api.all(apiArr).then(result => {
... ...