261 Commits

Author SHA1 Message Date
纵纬
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
聂青
bd05b1f36d
Merge pull request #83 from Zangwill/patch-3
修复wxuin的int类型导致编译的32位程序出错
2021-09-16 09:55:15 +08:00
聂青
c773adcce1
Merge pull request #82 from Zangwill/patch-2
wxuin的int类型导致编译的32位程序出错
2021-09-16 09:55:01 +08:00
聂青
fd272d7339
Merge pull request #81 from Zangwill/patch-1
修复wxuin的int类型导致编译的32位程序出错
2021-09-16 09:54:50 +08:00
纵纬
03a426fa36
修复wxuin的int类型导致编译的32位程序出错 2021-09-16 01:36:07 +08:00
纵纬
0d9df910f8
wxuin的int类型导致编译的32位程序出错 2021-09-16 01:34:52 +08:00
纵纬
d8c0a2eb24
修复wxuin的int类型导致编译的32位程序出错 2021-09-16 01:33:53 +08:00
eatmoreapple
910067fe47 🚀 添加对网络请求错误的处理 2021-09-14 22:05:55 +08:00
eatmoreapple
6bf6b5b4d2 🚀 添加对网络请求错误的处理 2021-09-14 22:02:21 +08:00
eatmoreapple
2c48ced107 🔥 修复当前用户的昵称没有格式化的问题 2021-09-14 21:56:07 +08:00
nieqing
01448e1fdf 修复群员空指针问题 2021-08-30 18:36:49 +08:00
nieqing
54f8d69b50 更新消息处理逻辑 2021-08-30 09:35:57 +08:00
eatmoreapple
ba4857f2d3 添加NetworkErr 2021-08-24 15:58:26 +08:00
eatmoreapple
76eeb065e4 添加公众号发消息功能 2021-08-24 15:48:53 +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
ef31047cc5 添加对群系统消息的处理 2021-08-05 11:33:23 +08:00
eatMoreApple
0fbf517c3b 修复下载文件时Content-Length为0 2021-08-04 18:17:13 +08:00
eatMoreApple
ce024a7a3a update readme.md 2021-08-04 16:56:11 +08:00
eatMoreApple
07b32939c9 增加免扫码登录接口 2021-08-04 15:58:30 +08:00
eatMoreApple
3e14a0d5ed 添加获取热存储对象的方法 2021-08-04 15:39:03 +08:00
eatmoreapple
0d72f37d31 添加app消息的正文处理 2021-08-03 23:13:51 +08:00
eatmoreapple
8b584b537a 修复HasFile 🐛 2021-08-03 17:54:59 +08:00
eatMoreApple
95a4a4d188 修复Reply返回的SentMessage撤回消息引发的空指针问题 2021-08-03 11:28:00 +08:00
eatmoreapple
d36e8dde66 🐛 修复原始消息内容中有html代码会被过滤的现象 2021-08-02 22:28:08 +08:00
Ivy
017faf2594
Merge pull request #61 from li-xunhuan/master
🎨 优化文本消息内容处理
2021-08-02 16:48:26 +08:00
李寻欢
90df12b2a5
Merge branch 'eatmoreapple:master' into master 2021-08-02 16:10:39 +08:00
李寻欢
8abce93b6e
🎨 优化文本消息内容处理 2021-08-02 16:10:14 +08:00
Ivy
9897fbf0f4
Merge pull request #60 from li-xunhuan/master
🎨 优化处理消息中的emoji和换行符
2021-08-02 15:52:19 +08:00
李寻欢
153c1b079a
🎨 优化处理消息中的emoji和换行符 2021-08-02 13:46:56 +08:00
Ivy
15aecd33dd
Merge pull request #59 from suntong/master
Standardize error messages
2021-08-02 11:46:44 +08:00
Tong Sun
42206c10a3 - [#] Standardize error messages 2021-08-01 23:34:10 -04:00
Ivy
0f48567034
Merge pull request #58 from li-xunhuan/master
🎨 下载图片不下载缩略图,直接下载原图
2021-08-02 11:16:57 +08:00
李寻欢
cc05ef03a3
🎨 下载图片不下载缩略图,直接下载原图 2021-08-02 11:05:40 +08:00
Ivy
54f4ad1497
Merge pull request #55 from suntong/resolved
Update message.go
2021-08-02 10:05:49 +08:00
suntong
970d4105e8
Merge branch 'master' into resolved 2021-08-01 21:58:24 -04:00
Ivy
a8ba29e155
Merge pull request #57 from li-xunhuan/master
 开放两个变量支持外部访问
2021-08-02 09:55:41 +08: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
suntong
914bde7591
Merge branch 'eatmoreapple:master' into master 2021-08-01 16:01:26 -04:00
eatmoreapple
e81d986b38 修改HotReloadStorage定义 2021-08-01 22:52:26 +08:00
suntong
e91403d74f
Update message.go
cosmetic
2021-08-01 10:19:53 -04:00
eatmoreapple
0a96046305 解决冲突 2021-08-01 14:42:27 +08:00
eatmoreapple
21c58b700e 修改HotReloadStorage接口定义 2021-08-01 13:54:21 +08:00
eatmoreapple
a440e80d72 修改HotReloadStorage接口定义 2021-08-01 13:46:55 +08:00
Ivy
cd0bd5f693
Merge pull request #53 from suntong/master
Add AppMsgTypes
2021-08-01 12:39:08 +08:00