Commit 99a26803d2f256ee065b77095a9316edb3cc88cf

Authored by wangfan
1 parent 403e5e49

腾讯统计

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')) {
... ...
{
"name": "xcx-book",
"version": "1.0.0",
"description": "",
"main": "app.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "http://123.56.79.57/xt/xcx-book.git"
},
"author": "",
"license": "ISC",
"dependencies": {
"mta-wechat-analysis": "^1.3.7"
}
}
... ...
... ... @@ -28,7 +28,7 @@ export default {
//列表----我的日程
'App.Reserve.GetListFromScheAndRes': {
cachetime: 30,
//cachetime: 30,
},
//订座详情页面----我愿意
... ...