1. 问题描述:
调用微信公众号模板消息推送接口,接口返回结果提示成功,用户反馈没有收到消息推送,同一公众号相同消息有的用户接收到了,有的始终接收不到
2. 推送时使用的模板ID以及推送用户对象:
{"touser":"oMj3C0rvTIihgsblTYDl2CyHXRFE","template_id":"RWt3SnTnkNu7herF74OaznWS0rNFmM2nXcSuItdyNxs","url":"http://wx.52ycm.com/wechat/di/face/attendance/0b3530219e9e4cb3bdf543e7b14ad17a","data":{"keyword3":{"value":"2021-03-29 08:09:18","color":"#999"},"keyword1":{"value":"严暮瑾","color":"#999"},"keyword2":{"value":"进校","color":"#999"},"remark":{"value":"","color":"#999"},"first":{"value":"您的孩子的体温:36.0摄氏度,体温正常,已进校","color":"#999"}}}
3. 推送接口返回结果:
{"errcode":0,"errmsg":"ok","msgid":1801624681393733635}
4.模板消息事件推送的XML
<xml>
<ToUserName><![CDATA[gh_e6c0fa5cdf05]]></ToUserName>
<FromUserName><![CDATA[oMj3C0rvTIihgsblTYDl2CyHXRFE]]></FromUserName>
<CreateTime>1616977470</CreateTime>
<MsgType><![CDATA[event]]></MsgType>
<Event><![CDATA[TEMPLATESENDJOBFINISH]]></Event>
<MsgID>1801624681393733635</MsgID>
<Status><![CDATA[success]]></Status>
<xml>
你好,用户是否有登录其他设备呢。比如pc端或者微信多开的软件