ソースを参照

券包详情渠道处理

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