4 次代碼提交 37f2f96d63 ... cbada8c508

作者 SHA1 備註 提交日期
  bobo cbada8c508 Merge branch 'bobo/fix/welfgo-220216' into pre 3 年之前
  bobo 960955474a 渠道参数修正 3 年之前
  bobo 59d930d105 统计 3 年之前
  bobo c30b0fe311 修改fix 3 年之前
共有 2 個文件被更改,包括 4 次插入3 次删除
  1. 2 2
      components/statistics/index.js
  2. 2 1
      pages/welfareMall/activityInfo/activityInfo.js

+ 2 - 2
components/statistics/index.js

@@ -14,14 +14,14 @@ class Statistics extends request {
 
         let postParam = {
             source: 'WX_MINI_APP',
-            channel: params.channel || channel || '',
+            channel: params.channel || channel,
             module: params.module,
             action: params.action,
             appid: accountInfo.miniProgram.appId,
             path,
             scene: options.scene,
             fromAppid: referrerInfo.appId || '',
-            department,
+            department: params.department || department,
             mobile: getMobileCache(),
             businessId: params.businessId || '',
         }

+ 2 - 1
pages/welfareMall/activityInfo/activityInfo.js

@@ -44,8 +44,9 @@ Page({
       module: 'activity:detail',
       action: 'visit',
       businessId: options.activityId,
+      channel: options.channel,
+      department: options.department
     })
-    
   },
 
   /**