|
|
|
var mta=require('mta-wechat-analysis')
|
|
|
|
var uri_dc = require('utils/uri.js')
|
|
|
|
global.regeneratorRuntime = require('lib/regenerator/runtime-module')
|
|
|
|
|
|
...
|
...
|
@@ -26,6 +27,14 @@ App({ |
|
|
|
this.getSystemInfo();
|
|
|
|
this.openid=await this.getOpenid();
|
|
|
|
console.log('this.openid',this.openid);
|
|
|
|
mta.App.init({
|
|
|
|
"appID":"500667280",
|
|
|
|
"eventID":"500667287",
|
|
|
|
"statPullDownFresh":true,
|
|
|
|
"statShareApp":true,
|
|
|
|
"statReachBottom":true,
|
|
|
|
"lauchOpts":opt, //渠道分析
|
|
|
|
});
|
|
|
|
},
|
|
|
|
onShow:async function(){
|
|
|
|
if (wx.canIUse('getUpdateManager')) {
|
...
|
...
|
|