4 Commits 37f2f96d63 ... cbada8c508

Author SHA1 Message Date
  bobo cbada8c508 Merge branch 'bobo/fix/welfgo-220216' into pre 3 years ago
  bobo 960955474a 渠道参数修正 3 years ago
  bobo 59d930d105 统计 3 years ago
  bobo c30b0fe311 修改fix 3 years ago
2 changed files with 4 additions and 3 deletions
  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
     })
-    
   },
 
   /**