소스 검색

券包详情渠道处理

kk.shi 3 년 전
부모
커밋
005c3fc0d2
1개의 변경된 파일9개의 추가작업 그리고 0개의 파일을 삭제
  1. 9 0
      pages/welfareMall/activityInfo/activityInfo.js

+ 9 - 0
pages/welfareMall/activityInfo/activityInfo.js

@@ -42,6 +42,7 @@ Page({
     console.log(userMobile);
     if(options.activityId){
       this.setData({
+        activityId: options.activityId,
         channelId: options.channelId,
       })
     this.getActivityDetail(options.activityId)
@@ -214,6 +215,14 @@ Page({
       app.showToast(err.msg);
     }
 
+    Statistics.done({
+      module: 'activity:detail',
+      action: 'click',
+      businessId: this.data.activityId,
+      // department: options.department
+      department: this.data.channelId
+    })
+
   },
    /**
    * 获取订单参数