- 为什么小程序主体变更后,再去认证,还是显示为原来的主体?
小程序已经于近期从个人主体调整为公司主体,但是迁移完成后,小程序的认证板块,还是显示为原来的个人主题,且无法进行微信认证。
2023-12-08 - 如何解决参数正确但第三方平台获取票据 component_verify_ticket 验证失败?
第三方平台APPID:wx753dec49c48fab55 代码如下 public String msgCallBack(String appId, HttpServletRequest request, String msg_signature, String timestamp, String nonce, String signature) throws Exception { System.out.println(appId); System.out.println("参数数组" + JsonUtil.obj2String(request.getParameterMap())); String postData = HttpUtil.httpRequest2String(request); System.out.println("post" + postData); WXBizMsgCrypt pc = new WXBizMsgCrypt(token, encodingAesKey, appId); // 第三方收到公众号平台发送的消息 try { System.out.println("msg_signture" + msg_signature + "\ntimestamp" + timestamp + "\nnonce" + nonce + "\npostdata" + postData); String result2 = pc.decryptMsg(msg_signature, timestamp, nonce, postData); System.out.println("解密后明文: " + result2); } catch (Exception e) { System.out.println(e.toString()); } return "success"; } 参数都已经按照要求进行传参,消息解密就不对 本地验证的签名5e51248410a6f9510782f3f14d60d3409afcdc33 网络实际签名9e0a81c26a9a6b62cb077e24bb5486884df0a413
2021-04-19 - 第三方平台 消息解密一直卡在签名校验错误 token 和 解密key 是正确的
public String msgCallBack(String appId, HttpServletRequest request, String msg_signature, String timestamp, String nonce, String signature) throws Exception { System.out.println(appId); System.out.println("参数数组" + JsonUtil.obj2String(request.getParameterMap())); String postData = HttpUtil.httpRequest2String(request); System.out.println("post" + postData); WXBizMsgCrypt pc = new WXBizMsgCrypt(token, encodingAesKey, appId); // 第三方收到公众号平台发送的消息 try { String result2 = pc.decryptMsg(msg_signature, timestamp, nonce, postData); System.out.println("解密后明文: " + result2); } catch (Exception e) { System.out.println(e.toString()); } return "success"; } APPID:wx753dec49c48fab55 Token 和解密 key 都没有填错 为啥一直卡在 验证失败
2021-04-19 - component_verify_ticket 返回票据接口没有返回正确字段?
<xml> <AppId><![CDATA[wx753dec49c48fab55]]></AppId> <Encrypt><![CDATA[TOLw95MKy/ywu/QYrtL4XjU3fA6JJr58lworaIR5JUQWB2q1JJRREri5zycOBYbZYhWSxb R45XKYfR9TVz2eosNxnVESQYfnr3jndHfA/gktxDgCGdOJNT6axVYUqRakelYiKJnuY13rVnExinrSUVT4cbriDQhJ00Q/WHWPLyc7EEamfyZjsa1H/ZcPHGH0Zf2M6aokMYAb3IxZ3kdAbZ311yMqY0450ZFBOAqGq1Pnqtdor3w64ejEBIUyiP613900PmYSXIWPTUseMXnS46vaGCiMajz7rZwMHQGQmAvFyf5EbQrk6CgWdXoDmtwe7Km3WXHZvJ1H4jBcVl0vRuT7nCYjc wCeKCl08niBIneTxAIxjatFAjjGVjU2e/arWwzkgJup4YSuIir/BhWiiv1Hpe8WWguiujONVd5cMoshirKgG0JLnt22BI30n0G5exrhDBFF UlRGUfv82ug==]]></Encrypt></xml> 第三方平台 APPID : wx753dec49c48fab55 签名串,对应URL参数的msg_signature 时间戳,对应URL参数的timestamp 随机串,对应URL参数的nonce 这三个参数都没有返给我 授权回调地址 :http://jyoom.cn.utools.club/wxauth/auth_callback.do
2021-04-16