QQ scan interface function does not work

API document
http://open.mobile.qq.com/api.

Page reference

< script src= "/ / open.mobile.qq.com/sdk/qqapi.js" > < / script >

get Mobile QQ"s version
mqq.QQVersion can alert out normally

call a scan to scan the QR code
mqq.ui.scanQRcode ({}, function (result) {

)
console.log(retCode, decodeURIComponent(result));

})

Mar.22,2021
Menu