【修改】 微信扫码签到

This commit is contained in:
fengachen
2021-11-30 18:27:18 +08:00
parent b5f47b652e
commit ae7a2bbc6c
3 changed files with 65 additions and 17 deletions
+2 -1
View File
@@ -65,7 +65,8 @@ Page({
onlyFromCamera: false,
scanType: [],
success: (result) => {
if (result.result.indexOf("scanSign") > -1) { // 证明是签到二维码
console.log(result,'saoma result');
if (result.result.indexOf("scansign") > -1) { // 证明是签到二维码
let meetingId = result.result.split("=")[1] // 会议Id
// let meetingId = result.result // 会议Id
// 成功扫码的回调