微信公众号被动发送信息,无响应
https://developers.weixin.qq.com/doc/offiaccount/Message_Management/Passive_user_reply_message.htmlhttps://developers.weixin.qq.com/doc/offiaccount/Message_Management/Receiving_event_pushes.htm [图片] resp_body = f"""<xml>
<ToUserName><![CDATA[{to_user}]]></ToUserName>
<FromUserName><![CDATA[{open_id}]]></FromUserName>
<CreateTime>{time.time()}</CreateTime>
<MsgType><![CDATA[text]]></MsgType>
<Content><![CDATA[{msg}]]></Content>
</xml>"""
_logger.error(resp_body)
return Response(resp_body, content_type="application/xml", status=200) 被动发送公众号信息怎么没有响应