...
|
...
|
@@ -63,6 +63,12 @@ export function like(index) { |
|
|
let likeCount = json.total;
|
|
|
let newProduct = currentProduct.set('is_praised', likeStatus).set('total_praised', likeCount);
|
|
|
dispatch(likeSuccess(newProduct, index));
|
|
|
let param = {
|
|
|
PRD_SKN: product_skn,
|
|
|
LIKE_TYPE: forLike? 1: 2,
|
|
|
POS_ID: 101,
|
|
|
}
|
|
|
NativeModules.YH_CommonHelper.logEvent('YB_GOOD_GDS_LIKE_C', param);
|
|
|
}).catch(error => {
|
|
|
dispatch(likeSuccess(currentProduct, index));
|
|
|
});
|
...
|
...
|
|