appid:wx77288d62c630de52
accesstoken:43_y8tyVLMUi-xKnHoENqyX6DdCTBm-xTUKuYuThA2nTNlpAbHvBRxPId_qFyixb1ce5jsvV7ye3RccZDv_S6lRImGuOXVN9YtMLnb4nIUug3TbD-T6FZszYgmoqxc3vqpq0kM_DcptzcFGrPlNBDOjAIANPA
模板id: 2Ol1jOtxtKHXg4J0dKoFRTLSDIaAFPGZTTkYCXKWlX0
请求参数:{“access_token”:“43_y8tyVLMUi-xKnHoENqyX6DdCTBm-xTUKuYuThA2nTNlpAbHvBRxPId_qFyixb1ce5jsvV7ye3RccZDv_S6lRImGuOXVN9YtMLnb4nIUug3TbD-T6FZszYgmoqxc3vqpq0kM_DcptzcFGrPlNBDOjAIANPA”,“touser”:“oCwND0T0Rx2vsx9sqnDnq_fWrexQ”,“template_id”:“2Ol1jOtxtKHXg4J0dKoFRTLSDIaAFPGZTTkYCXKWlX0”,“page”:“https:\/\/www.baidu.com”,“data”:{“first”:{“value”:"\u7528\u6237\u63d0\u4ea4\u4e86\u4e00\u4e2a\u5b9a\u5236\u9700\u6c42,\u8bf7\u67e5\u770b"},“keyword1”:{“value”:"\u6d4b\u8bd5"},“keyword2”:{“value”:"\u6d4b\u8bd5"},“keyword3”:{“value”:“2021-03-27 12:19:34”},“remark”:{“value”:"\u611f\u8c22\u60a8\u7684\u4f7f\u7528"}}}
模板id是在公众号刚拉下来的,已确认accesstoken没问题,因为openid列表是用accesstoken调用用户列表接口获取出来的
返回参数:
2021-03-27 12:19:34----推送结果: array (
‘errcode’ => 40037,
‘errmsg’ => ‘invalid template_id rid: 605eb255-23a268dc-7a1ba4a6’,
)