---------------- request ----------------
User-Agent: python-requests/2.28.1
Accept-Encoding: gzip, deflate
Accept: */*
Connection: keep-alive
Content-Length: 277
Content-Type: application/json
b'{"touser": "ocAnm5vab6QGOnf2dqpuUZGJ0xyw", "template_id": "wczl-hB_bs8CpxwO8_KZuogSTPFXqhBxf8C5HjKl2M4", "url": "http://weixin.qq.com/download", "client_msg_id": "MSG_000001", "data": {"first": {"value": "\\u606d\\u559c\\u4f60\\u8d2d\\u4e70\\u6210\\u529f\\uff01", "color": "#173177"}}}'
---------------- response ----------------
Connection: keep-alive
Content-Type: application/json; encoding=utf-8
Date: Tue, 26 Jul 2022 06:08:53 GMT
Content-Length: 55
{"errcode":0,"errmsg":"ok","msgid":2503554263521067008}
你好,建议检查一下是否使用UTF-8编码,同时要避免使用emoji之类的特殊字符(一些新加入的字符,可能各平台的码表里不一定有,客户端可能不支持)。服务号的模板消息,可以看看是否收到了事件推送,如果是收到成功的事件推送,但是用户没收到,一般是编码问题。若排查后仍然没有问题,请把详细的HTTP请求报文打下来给我们排查。
服务号模板消息事件推送请参考:https://developers.weixin.qq.com/doc/offiaccount/Message_Management/Template_Message_Interface.htm