Commit b7ac71bb authored by sujie@126.com's avatar sujie@126.com

ddd

parent 1d9c3044
......@@ -12,7 +12,8 @@ import {
import {
cOssAccess,
cMediaOssAccess,
formIdCreate
formIdCreate,
activityLog
} from '../../../service/common.js';
import {
setInfo,
......@@ -35,7 +36,6 @@ import {
audioorigin,
LocalStorage
} from '../../../utilities/index.js';
var app = getApp();
Page({
data: {
......@@ -129,6 +129,7 @@ Page({
},
currentDate: '',
activitySid:constants.activity.sid,
activityTid:constants.activity.tid,
},
onLoad: function(options) { // Do some initialize when page load.
this.innerAudioContext = wx.createInnerAudioContext();
......@@ -599,6 +600,15 @@ Page({
submiting: false
})
})
if(this.data.tid== this.data.activityTid){
const visitor = LocalStorage.getItem('visitor');
activityLog({
type: 17,
open_id: visitor && visitor.openid,
school_id: this.data.activitySid,
remark: ''
})
}
},
joinClass () {
return joinClass({
......
......@@ -13,9 +13,6 @@ import {
newLikeIndex,
newCommentIndex,
} from '../../../service/customer/circleindex.js';
import {
rankrecord
} from '../../../service/common.js';
import {
userShow,
themeDetail,
......@@ -30,7 +27,8 @@ import {
formIdCreate,
generateCustomerQrcode,
posterLog,
activityLog
activityLog,
rankrecord
} from '../../../service/common.js';
import {
getSchoolDetail
......@@ -826,6 +824,7 @@ Page({
},
goClock(e) {
const visitor = LocalStorage.getItem('visitor');
const {
formId
} = e.detail;
......@@ -861,6 +860,14 @@ Page({
}
}
}
if(this.data.tid== this.data.activityTid){
activityLog({
type: 16,
open_id: visitor && visitor.openid,
school_id: this.data.activitySid,
remark: ''
})
}
},
// 强制阅读
readtheme(e) {
......
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