|
@@ -65,7 +65,20 @@ module.exports = { |
|
@@ -65,7 +65,20 @@ module.exports = { |
65
|
*/
|
65
|
*/
|
66
|
getBrandShopGoodsOriginData(params) {
|
66
|
getBrandShopGoodsOriginData(params) {
|
67
|
return api.get('', {
|
67
|
return api.get('', {
|
68
|
- method: ''
|
68
|
+ method: 'app.search.brand',
|
|
|
69
|
+ yh_channel: yhChannel[params.channel].channel,
|
|
|
70
|
+ brand: params.brand,
|
|
|
71
|
+ shop_id: params.shopId,
|
|
|
72
|
+ order: params.order,
|
|
|
73
|
+ limit: params.limit,
|
|
|
74
|
+ page: params.page,
|
|
|
75
|
+ gender: params.gender,
|
|
|
76
|
+ color: params.color,
|
|
|
77
|
+ price: params.price,
|
|
|
78
|
+ size: params.size,
|
|
|
79
|
+ p_d: params.pd,
|
|
|
80
|
+ sort: params.sort,
|
|
|
81
|
+ tags_filter: params.tagsFilter
|
69
|
});
|
82
|
});
|
70
|
},
|
83
|
},
|
71
|
|
84
|
|
|
@@ -82,7 +95,7 @@ module.exports = { |
|
@@ -82,7 +95,7 @@ module.exports = { |
82
|
type: params.type
|
95
|
type: params.type
|
83
|
};
|
96
|
};
|
84
|
|
97
|
|
85
|
- if (isFav) {
|
98
|
+ if (params.isFav) {
|
86
|
Object.assign(finalParams, {
|
99
|
Object.assign(finalParams, {
|
87
|
method: 'app.favorite.add'
|
100
|
method: 'app.favorite.add'
|
88
|
});
|
101
|
});
|