Authored by 郭成尧

两个代码检查错误

... ... @@ -4,7 +4,6 @@
* @date: 2016/05/09
*/
'use strict';
const brand = require('./brand');
/**
* 频道选择页
... ... @@ -18,4 +17,4 @@ const component = {
}
};
module.exports = Object.assign(component, brand);
module.exports = component;
... ...
... ... @@ -65,7 +65,20 @@ module.exports = {
*/
getBrandShopGoodsOriginData(params) {
return api.get('', {
method: ''
method: 'app.search.brand',
yh_channel: yhChannel[params.channel].channel,
brand: params.brand,
shop_id: params.shopId,
order: params.order,
limit: params.limit,
page: params.page,
gender: params.gender,
color: params.color,
price: params.price,
size: params.size,
p_d: params.pd,
sort: params.sort,
tags_filter: params.tagsFilter
});
},
... ... @@ -82,7 +95,7 @@ module.exports = {
type: params.type
};
if (isFav) {
if (params.isFav) {
Object.assign(finalParams, {
method: 'app.favorite.add'
});
... ...