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

ddd

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