收藏
回答

微信公众号模板消息发送成功,但是微信没有消息提示?

公众号发送模板消息,收到消息没有显示消息内容https://api.weixin.qq.com/cgi-bin/message/template/send
发送消息{"touser":"o6X9l0nwWmhbEWBlrOV7-Sf2AQIE","template_id":"tqNoYcDfGf3ScW78J8lQ6OAP_sUY0Fxu5-xXx02VAhc","url":"","miniprogram":{"appid":"wxfe82cae245e5b46e","path":"pages\/order\/detail\/index?id=R202008281608326944","data":{"first":{"value":"hwz\u60a8\u597d\uff0c\u60a8\u7684\u5546\u54c1\u5df2\u7ecf\u53d6\u6d88\uff0c\u6b22\u8fce\u4e0b\u6b21\u8d2d\u4e70","color":""},"keyword1":{"value":"\u5df2\u53d6\u6d88","color":""},"keyword2":{"value":"\u666e\u901a\u8ba2\u5355","color":""},"keyword3":{"value":"0.01","color":""},"keyword4":{"value":"\u6a31\u65d7\u7535\u996d\u7172\u7b491\u4ef6\u5546\u54c1","color":""},"keyword5":{"value":"R202008281608326944","color":""},"remark":{"value":"\u70b9\u51fb\u67e5\u770b\u8ba2\u5355\u8be6\u60c5","color":""}}}}
返回{"errcode":0,"errmsg":"ok","msgid":1493337873457135621}
时间2020-08-28 16:09:04
回答关注问题邀请回答
收藏

1 个回答

  • Summer✨
    Summer✨
    08-28

    你好,建议检查一下是否使用UTF-8编码,同时要避免使用emoji之类的特殊字符(一些新加入的字符,可能各平台的码表里不一定有,客户端可能不支持)。服务号的模板消息,可以看看是否收到了事件推送,如果是收到成功的事件推送,但是用户没收到,一般是编码问题。若排查后仍然没有问题,请把详细的请求报文打下来给我们排查。

    服务号模板消息事件推送请参考:https://developers.weixin.qq.com/doc/offiaccount/Message_Management/Template_Message_Interface.html

    08-28
    有用 1
    回复
登录 后发表内容
问题标签