Closed browningweb closed 2 years ago
https://github.com/easy-swoole/wechat/blob/cee56dd04f66109171ebf3009ccb52d5c177313d/src/MiniProgram/SubscribeMessage/Client.php#L62
根据微信 添加模板文档,需要在请求头中加入:content-type: application/json,否则会报:200014 missing parameter tid
content-type: application/json
200014 missing parameter tid
https://github.com/easy-swoole/wechat/blob/cee56dd04f66109171ebf3009ccb52d5c177313d/src/MiniProgram/SubscribeMessage/Client.php#L87
删除同样需要加请求头。
好的,感谢反馈,这边稍后就修复。
此问题已修复 #157
https://github.com/easy-swoole/wechat/blob/cee56dd04f66109171ebf3009ccb52d5c177313d/src/MiniProgram/SubscribeMessage/Client.php#L62
根据微信 添加模板文档,需要在请求头中加入:
content-type: application/json
,否则会报:200014 missing parameter tid
https://github.com/easy-swoole/wechat/blob/cee56dd04f66109171ebf3009ccb52d5c177313d/src/MiniProgram/SubscribeMessage/Client.php#L87
删除同样需要加请求头。