Commit 3c628534 authored by mengcuiguang's avatar mengcuiguang

loading添加参数

parent 33b8458f
...@@ -48,8 +48,6 @@ ...@@ -48,8 +48,6 @@
var that = this; var that = this;
var obj = wx.getLaunchOptionsSync() var obj = wx.getLaunchOptionsSync()
var channel = 'mints' // 渠道 var channel = 'mints' // 渠道
var clueToken = '' // 归因参数 var clueToken = '' // 归因参数
var adId = '' // 计划id var adId = '' // 计划id
...@@ -61,12 +59,18 @@ ...@@ -61,12 +59,18 @@
var product_type = ''; //自有产品 var product_type = ''; //自有产品
var zs_channel = ''; // 自有渠道 var zs_channel = ''; // 自有渠道
var vedio_id = ''; // 自有剧 var vedio_id = ''; // 自有剧
var zs_os=''; var zs_os = ''; // 当前系统
var remark1=''; var vedio_index = ''; // 自有剧
var remark2=''; var free_index = '';// 自有剧
var remark3=''; var remark1 = '';// 预留
var vedio_index=''; var remark2 = '';// 预留
var free_index=''; var remark3 = '';// 预留
var mid1 = "";
var mid2 = "";
var mid3 = "";
var mid4 = "";
var mid5 = "";
zs_os = wx.getSystemInfoSync().platform; zs_os = wx.getSystemInfoSync().platform;
...@@ -89,7 +93,12 @@ ...@@ -89,7 +93,12 @@
remark2 = obj.query.remark2 ?? '' remark2 = obj.query.remark2 ?? ''
remark3 = obj.query.remark3 ?? '' remark3 = obj.query.remark3 ?? ''
vedio_index = obj.query.vedio_index ?? '' vedio_index = obj.query.vedio_index ?? ''
}else if(obj.query.ksChannel ?? '' != ''){ mid1 = obj.query.mid1 ?? ''
mid2 = obj.query.mid2 ?? ''
mid3 = obj.query.mid3 ?? ''
mid4 = obj.query.mid4 ?? ''
mid5 = obj.query.mid5 ?? ''
} else if (obj.query.ksChannel ?? '' != '') {
// 快手渠道参数 // 快手渠道参数
channel = 'kuaishou' channel = 'kuaishou'
adId = obj.query.ksUnitId ?? '' //组id adId = obj.query.ksUnitId ?? '' //组id
...@@ -107,7 +116,7 @@ ...@@ -107,7 +116,7 @@
remark3 = obj.query.remark3 ?? '' remark3 = obj.query.remark3 ?? ''
vedio_index = obj.query.vedio_index ?? '' vedio_index = obj.query.vedio_index ?? ''
free_index = obj.query.free_index ?? '' free_index = obj.query.free_index ?? ''
}else{ } else {
// 自有渠道 // 自有渠道
} }
...@@ -135,12 +144,17 @@ ...@@ -135,12 +144,17 @@
projectId: projectId, projectId: projectId,
productType: product_type, productType: product_type,
vedioId: vedio_id, vedioId: vedio_id,
remark1:remark1, remark1: remark1,
remark2:remark2, remark2: remark2,
remark3:remark3, remark3: remark3,
os:zs_os, os: zs_os,
vedioIndex:vedio_index, vedioIndex: vedio_index,
freeIndex:free_index, freeIndex: free_index,
mid1: mid1,
mid2: mid2,
mid3: mid3,
mid4: mid4,
mid5: mid5,
zsChannel: zs_channel zsChannel: zs_channel
}, },
showLoading: false, showLoading: false,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment