Commit 99a26803d2f256ee065b77095a9316edb3cc88cf

Authored by wangfan
1 parent 403e5e49

腾讯统计

  1 +var mta=require('mta-wechat-analysis')
1 var uri_dc = require('utils/uri.js') 2 var uri_dc = require('utils/uri.js')
2 global.regeneratorRuntime = require('lib/regenerator/runtime-module') 3 global.regeneratorRuntime = require('lib/regenerator/runtime-module')
3 4
@@ -26,6 +27,14 @@ App({ @@ -26,6 +27,14 @@ App({
26 this.getSystemInfo(); 27 this.getSystemInfo();
27 this.openid=await this.getOpenid(); 28 this.openid=await this.getOpenid();
28 console.log('this.openid',this.openid); 29 console.log('this.openid',this.openid);
  30 + mta.App.init({
  31 + "appID":"500667280",
  32 + "eventID":"500667287",
  33 + "statPullDownFresh":true,
  34 + "statShareApp":true,
  35 + "statReachBottom":true,
  36 + "lauchOpts":opt, //渠道分析
  37 + });
29 }, 38 },
30 onShow:async function(){ 39 onShow:async function(){
31 if (wx.canIUse('getUpdateManager')) { 40 if (wx.canIUse('getUpdateManager')) {
  1 +{
  2 + "name": "xcx-book",
  3 + "version": "1.0.0",
  4 + "description": "",
  5 + "main": "app.js",
  6 + "scripts": {
  7 + "test": "echo \"Error: no test specified\" && exit 1"
  8 + },
  9 + "repository": {
  10 + "type": "git",
  11 + "url": "http://123.56.79.57/xt/xcx-book.git"
  12 + },
  13 + "author": "",
  14 + "license": "ISC",
  15 + "dependencies": {
  16 + "mta-wechat-analysis": "^1.3.7"
  17 + }
  18 +}
@@ -28,7 +28,7 @@ export default { @@ -28,7 +28,7 @@ export default {
28 28
29 //列表----我的日程 29 //列表----我的日程
30 'App.Reserve.GetListFromScheAndRes': { 30 'App.Reserve.GetListFromScheAndRes': {
31 - cachetime: 30, 31 + //cachetime: 30,
32 }, 32 },
33 33
34 //订座详情页面----我愿意 34 //订座详情页面----我愿意