微信js-sdk报 errMsg:config:invalid signature
根据微信官方排错步骤:https://developers.weixin.qq.com/doc/offiaccount/OA_Web_Apps/JS-SDK.html
2.1中微信接口校验链接:https://mp.weixin.qq.com/debug/cgi-bin/sandbox?t=jsapisign
最终发现是因为timestamp数值类型错误造成的,链接:https://developers.weixin.qq.com/doc/offiaccount/OA_Web_Apps/JS-SDK.html#62
应该是Long类型,此处后台给前端是String的