问题解决了,那个显示:返回Api文本消息 失败。不用管它,直接点确定就行了,就算它提示失败,点确定还是会提示:全网发布成功。 之前自己太实在,一看提示失败就点了取消,后面多次检测都提示失败,后来无意中点了一下确定,没想到弹出来提示:全网发布成功。真是不可思议。 之前遇到了一个问题,拿到微信测试小程序发来的加密授权码信息后,获取这个测试小程序的授权令牌,一直提示: { "errcode": 61003, "errmsg": "component is not authorized by this account rid: 670c7d96-2e681218-0aad80fc" } 然后我觉得是不是解密出来的授权码是不是传错了,试了各种处理方式都不行,折腾了两天都是这个错误提示,最后在没有改任何代码的情况下莫名其妙的就好了,真是气死人,害我那天折腾到晚上十一点也没有解决问题,还被老板嫌弃是不是技术太菜,一个问题处理这么久。微信你们长点心吧,坑苦了我们开发了。
第三方平台全网发布返回Api文本消息失败是什么原因?看着接口文档进行了消息的处理,整个流程信息如下: [2024-10-14 15:35:47] [notice] array ( 'appid' => '\\wxd101a85aa106f53e', 'signature' => '8f2e59eca866dc0e6dae5733cccc47e16ca435b1', 'timestamp' => '1728891347', 'nonce' => '851906549', 'openid' => 'oV6P70DM0-NBLoiQKb2JISwLhR80', 'encrypt_type' => 'aes', 'msg_signature' => '3d47d9f05170467312f7870c7c36b192fdcb3859', ) [2024-10-14 15:35:47] [notice] <xml> <ToUserName><![CDATA[gh_8dad206e9538]]></ToUserName> <Encrypt><![CDATA[v3uG5eHBAN62C5tXLxKcZG26lDxYSVQB43Dw3k7s2eMHz4jMBlo1i6n3MWqzcjw9exg1ubRcmN5O6/YBeXVdHL5XRD9kysGdnFnyAsk+kpb+LKVh92YZNv+41QHaZHHJHXMSbudneV9FSlwSLIJ+sWIdjxxHr7MdKuH9FMJOHN+Rp+FsTnCwrC/eZzURQ+ryS5WybjSdt4RT5dVA+RYZLR8FswoZtF1m4Gx1UmQ8+pkD324oD+ZEE9v8tOHsgkTVJPr9OxK66APsYzgOZVRh+ZNAdqo+At8pMpBiM0IX0wPEjpR32l1MXYiR6t1nMF3MMnoZi5PEIInDWqfTCDdC2QrM5rKwFsnSDlkzbk9MU10qHNZNgTIzJ280F4vaJCCBzEN0uSbccnOtJ2iehIoTsrHgUjMGdH1JcUYmZWrp5cdyXjdPZk1o7UEkRVFa6gjbfvlPCgvyU8fEQdUb5YClZwDmOOScVwgXPiRBg2NlX95hH1dLvgBn7TxaeXg4h1gR5Uzkmii7F2QdYGd+L5HF19O673YVu5FTRhoXGL7C3zD+G3xbgNJFwgG6bjNQEqLa+nIteg+L/iuplKsJTg21yg==]]></Encrypt> </xml> [2024-10-14 15:35:47] [notice] 拿到的appid:wxd101a85aa106f53e [2024-10-14 15:35:47] [notice] 拿到的授权码:queryauthcode@@@uaqfdk4dX5SjCMNoZjzUpJuA6kyhJQR4UJ-KSQv_ymfvDV_7lqH2vq6noy-WGUDZ7vO7DK7NMunrvSfUdoUSzg [2024-10-14 15:35:48] [notice] 微信测试小程序授权信息结果:{"authorization_info":{"authorizer_appid":"wxd101a85aa106f53e","authorizer_access_token":"85_C28jJSlrzstPplsynjG3PTXHzdVeL0pBC_N9FZn1RWR_r6ZSlL9bpNQ9kM_vP0ge_562EopqJibRbDrqd27KZlZqOidM-RtEXekVvJPFIiviuuskYw3uu6OiP-A_qftCMBZIuu539hSjy6mUEQTaAFDJVY","expires_in":7200,"authorizer_refresh_token":"refreshtoken@@@Cx_nh2MjHol1U5I8xvZxStbFnconZQVWeGq5rHYaLE8","func_info":[{"funcscope_category":{"id":17}},{"funcscope_category":{"id":18},"confirm_info":{"need_confirm":0,"already_confirm":0,"can_confirm":0}},{"funcscope_category":{"id":19}},{"funcscope_category":{"id":25},"confirm_info":{"need_confirm":0,"already_confirm":0,"can_confirm":0}},{"funcscope_category":{"id":30},"confirm_info":{"need_confirm":0,"already_confirm":0,"can_confirm":0}},{"funcscope_category":{"id":31},"confirm_info":{"need_confirm":0,"already_confirm":0,"can_confirm":0}}]}} [2024-10-14 15:35:48] [notice] 要发送的内容:{"touser":"oV6P70DM0-NBLoiQKb2JISwLhR80","msgtype":"text","text":{"content":"queryauthcode@@@uaqfdk4dX5SjCMNoZjzUpJuA6kyhJQR4UJ-KSQv_ymfvDV_7lqH2vq6noy-WGUDZ7vO7DK7NMunrvSfUdoUSzg_from_api"}} [2024-10-14 15:35:48] [notice] 向微信测试小程序发送客服信息结果:{"errcode":0,"errmsg":"ok"} 从这里可以看到,发送信息的结果是ok,但是全网发布的检测结果是:返回Api文本消息 失败。 请问是哪个地方出错了,需要怎么解决。
10-14