重新查看了一下文档接口描述,发现消息模板发送参数的结构有变化导致 [图片]
微信公众号模板消息发送,出现40036错误?发送地址:https://api.weixin.qq.com/cgi-bin/message/template/send?access_token=token body: { "touser": "oAR2jwqmwPqukqdLW4yMRXtYL6_4", "mp_template_msg": { "data": { "keyword1": { "value": "OA管理平台消息" }, "keyword2": { "value": "task1" }, "remark": { "value": "请点击查看!" }, "first": { "value": "您有新的待办事项" } }, "appid": "wx7875c3b9fa3f09b4", "template_id": "qlh5gfq1kOLcNZa4LG4BiYEfhNHuarNXAurHl2XdbS8", "miniprogram": { "pagepath": "/pages/tab/news/news", "appid": "wx8512297e9286e958" } } } [图片] 也从接口也能查看到模板id: [图片]
2023-09-22