|
@@ -1,6 +1,7 @@
|
|
|
// pages/welfareMall/activityInfo/activityInfo.js
|
|
|
import WelfareMall from '../../../api/welfareMall';
|
|
|
import Activity from '../../../api/activity';
|
|
|
+import Statistics from '../../../components/statistics/index'
|
|
|
const util = require('../../../utils/util.js');
|
|
|
const app = getApp();
|
|
|
Page({
|
|
@@ -33,6 +34,13 @@ Page({
|
|
|
if(options.activityId){
|
|
|
this.getActivityDetail(options.activityId)
|
|
|
}
|
|
|
+
|
|
|
+ Statistics.done({
|
|
|
+ module: 'activity:detail',
|
|
|
+ action: 'visit',
|
|
|
+ businessId: options.activityId,
|
|
|
+ })
|
|
|
+
|
|
|
},
|
|
|
|
|
|
/**
|