|
@@ -89,13 +89,14 @@ exports.getOutletsTrendData = (params) => { |
|
@@ -89,13 +89,14 @@ exports.getOutletsTrendData = (params) => { |
89
|
* @return {[type]} [description]
|
89
|
* @return {[type]} [description]
|
90
|
*/
|
90
|
*/
|
91
|
exports.getOutletsGoodsList = (params) => {
|
91
|
exports.getOutletsGoodsList = (params) => {
|
|
|
92
|
+ console.log(params.channel);
|
92
|
// 频道
|
93
|
// 频道
|
93
|
let tempChannel = params.channel || 'boys';
|
94
|
let tempChannel = params.channel || 'boys';
|
94
|
|
95
|
|
95
|
// 接口可接收的参数
|
96
|
// 接口可接收的参数
|
96
|
let apiParams = ['outlets', 'page', 'limit', 'order', 'productSize', 'yh_channel', 'query',
|
97
|
let apiParams = ['outlets', 'page', 'limit', 'order', 'productSize', 'yh_channel', 'query',
|
97
|
'p_d', 'gender', 'msort', 'misort', 'sort', 'brand', 'color', 'size', 'saleType',
|
98
|
'p_d', 'gender', 'msort', 'misort', 'sort', 'brand', 'color', 'size', 'saleType',
|
98
|
- 'breakSize', 'breakSort', 'productPool', 'price'];
|
99
|
+ 'breakSize', 'breakSort', 'productPool', 'price', 'method'];
|
99
|
|
100
|
|
100
|
// 初始化必填的接口参数
|
101
|
// 初始化必填的接口参数
|
101
|
let tempParams = {
|
102
|
let tempParams = {
|
|
@@ -113,5 +114,6 @@ exports.getOutletsGoodsList = (params) => { |
|
@@ -113,5 +114,6 @@ exports.getOutletsGoodsList = (params) => { |
113
|
tempParams[paramsName] = params[paramsName];
|
114
|
tempParams[paramsName] = params[paramsName];
|
114
|
}
|
115
|
}
|
115
|
});
|
116
|
});
|
|
|
117
|
+ console.log(tempParams);
|
116
|
return api.get('', sign.apiSign(tempParams));
|
118
|
return api.get('', sign.apiSign(tempParams));
|
117
|
}; |
119
|
}; |