企业微信有设置好“网页授权及JS-SDK”域名。在企业微信里配置JS-SDK的“扫一扫“总是有错误提示,CorpId参数没错,为啥总是有错误提示?
相关配置如下:
<script src="http://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>
wx.config({appId:'ww790169cc473e461c',
timestamp:1638242694,
nonceStr:'cfe9421713064602',
signature:'7af2372aaed4f9e92ef43302667749c87c6d1344',
jsApiList:['scanQRCode']});
wx.ready(function () {
alert("成功");
});
wx.error(function (res) {
alert(res);
});
不知哪里错了,CorpId参数没为题,谁能指教下?