Authored by 陈林

注释拼团上报事件。review by 朱傲哲。

... ... @@ -117,18 +117,19 @@ export function fetchActivityGroupDetail(FP_NAME, FP_PARAM) {
dispatch(activityGroupDetailRequest());
return new GroupPurchaseService(app.host).fetchActivityGroupDetail(groupNo ,uid)
.then(json => {
try {
let event_params = {
FP_NAME,
FP_PARAM,
PRD_ID: '',
PRD_SKN: json.membershipItems[0].productSkn,
PRD_TYPE: 1,
}
YH_CommonHelper.logEvent('YB_GDS_DT_INFO', event_params);
} catch (e) {
console.log(e);
}
// 注释上报事件
// try {
// let event_params = {
// FP_NAME,
// FP_PARAM,
// PRD_ID: '',
// PRD_SKN: json.membershipItems[0].productSkn,
// PRD_TYPE: 1,
// }
// YH_CommonHelper.logEvent('YB_GDS_DT_INFO', event_params);
// } catch (e) {
// console.log(e);
// }
dispatch(activityGroupDetailSuccess(json));
})
.catch(error => {
... ...