- {result: "https://mp.weixin.qq.com/a/~~3fby9-VeREc~PSvrFD76F8LN3L_CFAyXQw~~", charSet: "UTF-8", errMsg: "scanCode:ok", scanType: "QR_CODE", rawData: "aHR0cHM6Ly9tcC53ZWl4aW4ucXEuY29tL2Evfn4zZmJ5OS1WZVJFY35QU3ZyRkQ3NkY4TE4zTF9DRkF5WFF3fn4="}
- charSet: "UTF-8"
- errMsg: "scanCode:ok"
- rawData: "aHR0cHM6Ly9tcC53ZWl4aW4ucXEuY29tL2Evfn4zZmJ5OS1WZVJFY35QU3ZyRkQ3NkY4TE4zTF9DRkF5WFF3fn4="
- result: "https://mp.weixin.qq.com/a/~~3fby9-VeREc~PSvrFD76F8LN3L_CFAyXQw~~"
- scanType: "QR_CODE"
- __proto__: Object
之前一直使用, 均正常, 这几日反馈说 Android正常, 苹果下没有path路径, 导致我们业务失败
wx.scanCode({
onlyFromCamera: true,
success: (qr) => {
console.debug(qr);
if (qr.scanType == "QR_CODE") {
var ps = qr.path.split("?");
if(ps.length==2){
ps = ps[1].split('=');
if (ps[0] == 'desknum') {
}
}
}
wx.showModal({
title: '错误',
content: '扫描的二维码不正确',
showCancel: false
})
return;
}
})
你好,反馈的问题已处理,可重试看看呢
使用的二维码
3-30日 快晚上10点, 微信提交了两次日志
微信id: tsr106