nodeWechat / wechat4u

微信 wechat web 网页版接口的 JavaScript 实现,兼容Node和浏览器,微信机器人
1.77k stars 306 forks source link

上传大于0.5mb的文件会报错 #331

Closed danni-cool closed 10 months ago

danni-cool commented 10 months ago

最近在业务层使用该项目发现上传大文件有报错,对比了下网页微信,发现是没做分块上传,所以补上了该逻辑

以下是一些问题场景,底层是调用了wechat4u:

具体的业务项目是 https://github.com/danni-cool/docker-wechatbot-webhook

项目里我采用了临时bugfix: https://github.com/danni-cool/docker-wechatbot-webhook/blob/main/patches/wechat4u%2B0.7.12.patch

PR: https://github.com/nodeWechat/wechat4u/pull/332

目前测试下来都没啥问题

leochen-g commented 10 months ago

感谢PR,已合并