url: 'https%3A%2F%2Fewlsit.dgcb.com.cn%2Fworkbench%2Fmarketing%2FcustomForm%2FcustomFormMaterial%2Fww2610254284b1db17%3Fcid%3Dww2610254284b1db17%26formId%3D1673977199114182017%26userId%3DDaoChi%26code%3D071CAwFa1DsVyF0FdUGa1JJaV82CAwFV%26state%3Dwx7199ed0b947a6c17%26appid%3Dwx7199ed0b947a6c17'
微信公众号网页授权,改造为代公众号发起网页授权,wx.config后,一直走wx.error回调。
调用参数:
wx.config({
beta: true,
debug: true,
appId: 'wx7199ed0b947a6c17',
timestamp: 1687943620,
nonceStr: "j4airzizslwwmtyk",
signature: 'dadec7342f3af30559c634d9d0f4fdbffd8014c5',
jsApiList: ['wx-open-launch-weapp'],
openTagList: ['wx-open-launch-weapp']
wx.error回调返回结果为:{ errMsg: "config:fail,invalid signature" }。但是我在微信JS接口签名校验工具验证又是对的,地址为:https://mp.weixin.qq.com/debug/cgi-bin/sandbox?t=jsapisign,有大佬知道什么情况吗?
你好,请严格按照此文档步骤开发https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/Before_Develop/Official_Accounts/official_account_website_authorization.html
你好,请参考文档排查一下问题:https://developers.weixin.qq.com/doc/offiaccount/OA_Web_Apps/JS-SDK.html#%E9%99%84%E5%BD%951-JS-SDK%E4%BD%BF%E7%94%A8%E6%9D%83%E9%99%90%E7%AD%BE%E5%90%8D%E7%AE%97%E6%B3%95
麻烦官方同学看一下