54 Commits

Author SHA1 Message Date
聂青
c2641bd6ad
Merge pull request #85 from Zangwill/patch-5
修复 Get "https://webpus.../synccheck?... 退出问题
2021-09-16 17:47:21 +08:00
纵纬
76bf4c232e
修复 Get "https://webpus.../synccheck?... 退出问题
修复 Get "https://webpush.wx2.qq.com/cgi-bin/mmwebwx-bin/synccheck?...": net/http: HTTP/1.x transport connection broken: malformed HTTP status code "0" 退出问题。
代码里面的 synccheck 请求过于频繁,相信这是导致该问题的原因,解决办法是使用官方客户端的消息接受机制:
    1. 发送请求 https://webpush.wx.qq.com/cgi-bin/mmwebwx-bin/synccheck
    2. 如果没有新消息,该请求将延时 25s 后返回 window.synccheck={retcode:"0",selector:"0"}
    3. 如果有消息,将返回 window.synccheck={retcode:"0",selector:"2"}
    4. 接着继续发送第一步的请求
2021-09-16 15:15:28 +08:00
纵纬
7bd4e2d762
更新请求参数中的时间格式
微信网页版的Network里面的请求参数时间格式都是13位的,感觉这样会更好点
2021-09-16 15:00:33 +08:00
纵纬
03a426fa36
修复wxuin的int类型导致编译的32位程序出错 2021-09-16 01:36:07 +08:00
eatmoreapple
ba4857f2d3 添加NetworkErr 2021-08-24 15:58:26 +08:00
eatmoreapple
93564fabb5 修改同步消息时的deviceId 2021-08-23 20:53:39 +08:00
eatmoreapple
9eb84837cb 添加群组重命名功能 2021-08-17 21:27:34 +08:00
eatmoreapple
7b15c3a42c 添加创建群聊支持 2021-08-17 08:22:11 +08:00
eatmoreapple
324d693290 添加发送视频接口 2021-08-16 22:27:16 +08:00
eatmoreapple
57ad498e69 修复群成员头像无法下载的问题 https://github.com/eatmoreapple/openwechat/issues/69 2021-08-16 21:38:51 +08:00
eatMoreApple
0fbf517c3b 修复下载文件时Content-Length为0 2021-08-04 18:17:13 +08:00
eatMoreApple
07b32939c9 增加免扫码登录接口 2021-08-04 15:58:30 +08:00
李寻欢
cc05ef03a3
🎨 下载图片不下载缩略图,直接下载原图 2021-08-02 11:05:40 +08:00
suntong
970d4105e8
Merge branch 'master' into resolved 2021-08-01 21:58:24 -04:00
李寻欢
8e86b1c1e1 开放两个变量支持外部访问 2021-08-02 07:33:28 +08:00
Tong Sun
e486846989 - [#] SendMessage type use MessageType as well 2021-08-01 16:14:43 -04:00
eatmoreapple
775580616f 添加联系人置顶和取消置顶功能 2021-08-01 01:24:16 +08:00
eatmoreapple
825dc51bf9 添加消息已读功能 2021-07-31 23:42:12 +08:00
eatmoreapple
6e683358ef 添加默认的uuid回调 2021-07-31 20:37:02 +08:00
eatMoreApple
1dab95b4ee 优化切片内存分配 2021-07-31 17:51:41 +08:00
eatMoreApple
b919e2cd39 更新domain逻辑 2021-07-12 22:48:58 +08:00
eatMoreApple
7d361fea4b 删除returnResponse依赖 2021-06-16 21:22:27 +08:00
eatMoreApple
7d037f9e03 fix upload file 2021-06-15 20:40:18 +08:00
eatMoreApple
7f942a92ea 修复cookeieMap过大的问题 2021-05-16 16:56:54 +08:00
eatMoreApple
41bf30c8a0 更新热登陆存储接口行为 🔨 2021-05-11 18:47:37 +08:00
eatMoreApple
0c6fa63391 优化内部host切换逻辑 2021-05-11 18:00:54 +08:00
eatMoreApple
5d8dea264c 添加uaHook 2021-05-11 17:00:46 +08:00
eatMoreApple
601b6e4600 添加client请求钩子 2021-05-10 21:42:11 +08:00
eatMoreApple
738d9aca0e 添加target=t参数 2021-05-07 10:11:14 +08:00
eatMoreApple
e63e475dc6 优化大文件上传内存占用 2021-05-06 18:22:38 +08:00
eatMoreApple
24a43987e3 删除冗余的代码 2021-04-30 14:50:39 +08:00
eatMoreApple
2b313fe3d8 修复大文件上传的bug 🐛 2021-04-30 11:19:21 +08:00
eatMoreApple
e751e13afd 添加文件发送接口 2021-04-30 00:04:45 +08:00
eatMoreApple
3c7fec07f3 更改大文件上传逻辑 2021-04-29 21:13:10 +08:00
eatMoreApple
fac0ede488 增加大文件上传支持 2021-04-29 18:44:06 +08:00
eatMoreApple
b967eda0d0 支持消息撤回 2021-04-28 17:26:10 +08:00
eatMoreApple
cd802c3a8d 修复热登陆时cookie无效的问题 🐛 2021-04-28 10:38:52 +08:00
eatMoreApple
a8c646b33d 支持热登陆 2021-04-27 18:36:50 +08:00
eatMoreApple
2d4d7e7d78 添加同意好友请求支持 2021-04-27 15:17:18 +08:00
eatMoreApple
6ec0a4905a 支持从群聊中移除用户“ 2021-04-25 00:33:00 +08:00
eatMoreApple
f089588ad2 添加拉好友加群支持 2021-04-24 22:36:45 +08:00
eatMoreApple
9cfa517518 支持网页版和uos版切换 2021-04-24 17:13:37 +08:00
onism
325ad6d86e 添加uos请求头支持 2021-04-16 16:12:36 +08:00
eatMoreApple
258ac4f236 增加emoji格式化 2021-04-13 18:39:21 +08:00
eatMoreApple
f80cb2ebd2 删除storage接口的依赖 2021-04-12 11:59:52 +08:00
ivy1996-encode
1c885a9182 解决go1.16移除ioutil包的不兼容影响 2021-03-24 22:09:23 +08:00
ivy1996-encode
2abb9cc99a 更新注释 2021-03-16 17:53:11 +08:00
ivy1996-encode
d8291a5df2 优化代码结构 2021-03-16 17:14:13 +08:00
ivy1996-encode
c1c2fd9f72 add user logout support 2021-03-14 15:22:22 +08:00
ivy1996-encode
96d14f39f6 add message file download support 2021-03-14 12:12:33 +08:00