Prechádzať zdrojové kódy

券包详情渠道处理

kk.shi 3 rokov pred
rodič
commit
005c3fc0d2

+ 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
+    })
+
   },
    /**
    * 获取订单参数