|
@@ -25,6 +25,7 @@ Page({
|
|
notUseNum: 0,
|
|
notUseNum: 0,
|
|
signInId: '',
|
|
signInId: '',
|
|
department: '',
|
|
department: '',
|
|
|
|
+ appletCode: 0,
|
|
},
|
|
},
|
|
|
|
|
|
/**
|
|
/**
|
|
@@ -36,6 +37,7 @@ Page({
|
|
this.setData({
|
|
this.setData({
|
|
signInId: options.signId,
|
|
signInId: options.signId,
|
|
department: options.department,
|
|
department: options.department,
|
|
|
|
+ appletCode: 1,
|
|
})
|
|
})
|
|
console.log(options.signId) //abcd
|
|
console.log(options.signId) //abcd
|
|
}
|
|
}
|
|
@@ -196,7 +198,7 @@ Page({
|
|
}
|
|
}
|
|
this.isLocked = true
|
|
this.isLocked = true
|
|
|
|
|
|
- SignIn.triggerSignIn(this.data.activity.id, getMobileCache()).then(res => {
|
|
|
|
|
|
+ SignIn.triggerSignIn(this.data.activity.id, getMobileCache(), this.data.appletCode).then(res => {
|
|
console.log(res)
|
|
console.log(res)
|
|
if (res.code == 200) {
|
|
if (res.code == 200) {
|
|
this.dealSignResult(res.data)
|
|
this.dealSignResult(res.data)
|