- config:invalid signature ?
小程序 web-view 调用 jssdk config 提示 {"realAuthUrl": "[https://xx.xx.com/wx/, https://xx.xx.com/wx/]", "errMsg": "config:invalid signature"} request合法域名 和 业务域名 已配置 xx.xx.com 微信 JS 接口签名校验工具测试也是一致的 url 也是 获取正常的export const initJWeiXin = async (jsList = []) => { // if (isWeiXin()) { console.log(window.location.href, 'href'); const result = await getJWeiXinConfig(window.location.href.split('#')[0]); console.log(result, 'result'); if (result.data.appId && result.status !== 200) { return console.log('请求异常'); } window.wx.config({ appId: result.data.appId, debug: true, jsApiList: [ // 'checkJsApi', // 'onMenuShareAppMessage', // 'onMenuShareTimeline', ...jsList, // 所有要调用的 API 都要加到这个列表中 ], noncestr: result.data.nonceStr, signature: result.data.signature, timestamp: result.data.timestamp, }); window.wx.ready(function (res) { console.log('ready success', res); window.wx.checkJsApi({ jsApiList: jsList, success: function () { console.log('checkJsApi success'); }, }); }); window.wx.error(function (res) { console.log('wx.error', res); }); // } };
05-20 - canvas 图片生成后 怎么生成 file ?
canvas 图片生成后 怎么生成 file ?
2023-01-06 - 微信手机授权 什么情况下会显示 使用其他手机号选项按钮?
微信手机授权 什么情况下会显示 使用其他手机号? 目前安装了双卡手机会显示 有些只安装单卡收部分会显示
2022-12-29 - 下载base64图片时 报错 大小超出 ?
"writeFile:fail exceeded the maximum size of the file storage limit 10M
2020-02-04