收藏
回答

代公众号发起网页授权,config:fail,invalid signature?

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,有大佬知道什么情况吗?

最后一次编辑于  2023-06-28
回答关注问题邀请回答
收藏

3 个回答

登录 后发表内容