...
|
...
|
@@ -108,7 +108,7 @@ export function activityGroupDetailFailure(error) { |
|
|
}
|
|
|
}
|
|
|
|
|
|
export function fetchActivityGroupDetail() {
|
|
|
export function fetchActivityGroupDetail(FP_NAME, FP_PARAM) {
|
|
|
return (dispatch, getState) => {
|
|
|
let {app,groupPurchaseDetail} = getState();
|
|
|
let {groupNo} = groupPurchaseDetail;
|
...
|
...
|
@@ -117,6 +117,18 @@ export function fetchActivityGroupDetail() { |
|
|
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);
|
|
|
}
|
|
|
dispatch(activityGroupDetailSuccess(json));
|
|
|
})
|
|
|
.catch(error => {
|
...
|
...
|
|