//被扫码回调事件 这串代码是写在banner 的onload里面的。扫码枪扫商品的时候,头部有点击效果,但是代码不触发。
这串代码写在哪里才会chufa
wxfaceapp.onCodePayEvent(function (res) {
console.log("onCodePayEvent retCode = " + res.replyCode)
console.log("onCodePayEvent res = " + JSON.stringify(res))
//被扫码到的具体的码
console.log("onCodePayEvent code scanned = " + res.code)
})