|
@@ -9,11 +9,12 @@ class Statistics extends request {
|
|
|
const options = wx.getLaunchOptionsSync()
|
|
|
const referrerInfo = options.referrerInfo || {}
|
|
|
const extraData = referrerInfo.extraData || {}
|
|
|
- const department = extraData.department || '';
|
|
|
+ const department = extraData.department || ''
|
|
|
+ const channel = extraData.channel || ''
|
|
|
|
|
|
let postParam = {
|
|
|
source: 'WX_MINI_APP',
|
|
|
- channel: params.channel || '',
|
|
|
+ channel: params.channel || channel || '',
|
|
|
module: params.module,
|
|
|
action: params.action,
|
|
|
appid: accountInfo.miniProgram.appId,
|