例如用户昨天能收到推送消息,但是今天却没收到推送消息,推送结果是成功的,排除编码问题,以下为返回结果(24小时内):
{"touser":"oPUtv5qp6tV4fkh5HdQxdLcFMKpg","template_id":"istdH3IajnwIl3hGvJ0yAgZSqS1dUbLHk1bdMDUlLOE","url":"","topcolor":"#FF683F","data":{"first":{"value":"您好,亲爱的黄语萱家长,您的孩子已到达学校;","color":"#ff9900"},"childName":{"value":"黄语萱","color":"#173177"},"time":{"value":"2021-09-03 09:31:33","color":"#173177"},"status":{"value":"进校","color":"#173177"},"remark":{"value":"","color":"#ff9900"},"content":{"value":""}}} [RESPONSE] {"code":"200","status":"OK","responseline":"HTTP/1.0 200 OK","headers":{"Connection":"close","Content-Type":"application/json; encoding=utf-8","Date":"Fri, 03 Sep 2021 01:31:52 GMT","Content-Length":"55"},"content":"{\"errcode\":0,\"errmsg\":\"ok\",\"msgid\":2030721629013540865}","meta":"HTTP/1.0 200 OK\r\nConnection: close\r\nContent-Type: application/json; encoding=utf-8\r\nDate: Fri, 03 Sep 2021 01:31:52 GMT\r\nContent-Length: 55\r\n\r\n{\"errcode\":0,\"errmsg\":\"ok\",\"msgid\":2030721629013540865}"}
你好,是否推送成功需要查看事件推送,https://developers.weixin.qq.com/doc/offiaccount/Message_Management/Template_Message_Interface.html#6
如果用户设置不再接收此类消息,也将会影响推送结果