收藏
回答

wx.config()失败? config:fail, invalid signature

我的首次访问链接是单页面应用https://zhl-test.xxfz.com.cn/113-service/debug-8080/uniapp-homepage/index.html#/

我使用https://zhl-test.xxfz.com.cn/113-service/debug-8080/uniapp-homepage/index.html作为url向后端获取配置信息

然后调用wx.config(), 报错config:fail,invalid signature

我使用同一域名下的多页面应用https://zhl-test.xxfz.com.cn/113-service/debug-8080/xxxx-web/app/activity/shanban-wuying-parent/login.html是可以正常设置的

有大神帮忙看看吗, 万分感谢!

(后端已经排查过了, 没问题, 生成的凭证也与https://mp.weixin.qq.com/debug/cgi-bin/sandbox?t=jsapisigns是一样的)

回答关注问题邀请回答
收藏

1 个回答

登录 后发表内容
问题标签