Authored by yoho-js001

Fix log event bug.

... ... @@ -389,6 +389,7 @@ class NewArrivalContainer extends Component {
FILTER_VALUE: this.props.newArrival.filterFactors.toJS(),
PRD_SKN: productSkn,
}
console.log(param);
ReactNative.NativeModules.YH_CommonHelper.logEvent('YB_NEW_ARRIVAL_FLR_C', param);
}
... ...
... ... @@ -231,16 +231,18 @@ export function getProductList(reload=false) {
tempAry.push(categoryId);
}
CATE_ID = tempAry.join(',');
ListItem.CATE_ID = CATE_ID;
}
if (item.product_skn) {
ListItem.PRD_SKN = item.product_skn;
} else if (item.brand_id) {
}
if (item.brand_id) {
ListItem.BRAND_ID = item.brand_id;
} else if (CATE_ID && CATE_ID!= '') {
ListItem.CATE_ID = CATE_ID;
} else if (ARTICLE_ID && ARTICLE_ID != 0) {
}
if (ARTICLE_ID && ARTICLE_ID != 0) {
ListItem.ARTICLE_ID = ARTICLE_ID;
} else if (SHOP_ID && SHOP_ID != 0) {
}
if (SHOP_ID && SHOP_ID != 0) {
ListItem.SHOP_ID = SHOP_ID;
} else if (KEYWORD && KEYWORD != '') {
ListItem.KEYWORD = KEYWORD;
... ... @@ -257,7 +259,7 @@ export function getProductList(reload=false) {
if (topPart.featuredList.size) {
F_INDEX ++;
}
let SORT_NM = '默认';
let SORT_NM = '最新';
if (productList.order == 's_t_desc') {
SORT_NM = '最新';
}
... ... @@ -276,6 +278,7 @@ export function getProductList(reload=false) {
FILTER_VALUE,
LIST,
}];
// console.log(logData);
dispatch(newArrivalExposure(logData));
if (payload.currentPage > 1) {
let oldList = productList.list.toJS();
... ...