Javen205 / TNWX

TNWX: TypeScript + Node.js + WeiXin 微信系开发脚手架,支持微信公众号、微信支付、微信小游戏、微信小程序、企业微信/企业号。最最最重要的是能快速的集成至任何 Node.js 框架(Express、Nest、Egg、Koa 等)
Apache License 2.0
642 stars 97 forks source link

服务号的订阅通知 #42

Closed icemanpro closed 3 years ago

icemanpro commented 3 years ago

版本信息

报错信息 (注意格式化)

这里粘贴代码或者、日志

问题描述(包括回显步骤、截图 )

原模板消息4月30日关闭,现在TNWX支持订阅消息吗?代码中没看到订阅消息的请求地址。

Javen205 commented 3 years ago

在 MiniSubscribeMsgApi 中

icemanpro commented 3 years ago

服务号中的发送订阅通知的地址是https://api.weixin.qq.com/cgi-bin/message/subscribe/bizsend?access_token=ACCESS_TOKEN 与小程序中的不一样。

Javen205 commented 3 years ago

服务号中的发送订阅通知的地址是https://api.weixin.qq.com/cgi-bin/message/subscribe/bizsend?access_token=ACCESS_TOKEN 与小程序中的不一样。

2.5.5 版本中已实现 ComSubscribeMsgApi