Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

如何获取应用菜单事件? #105

Closed
shuaiyy opened this issue Aug 26, 2022 · 4 comments
Closed

如何获取应用菜单事件? #105

shuaiyy opened this issue Aug 26, 2022 · 4 comments

Comments

@shuaiyy
Copy link

shuaiyy commented Aug 26, 2022

回调后端有收到消息,callback handler OnIncomingMessage没有解析到event message;
EventKey是应用菜单里用户自定义的值

能否提供debug的思路
还有扩展解析workwx.RxMessage新类型的方法

@xen0n
Copy link
Owner

xen0n commented Aug 26, 2022

checkout 本库的一份本地副本,在你项目的 go.modreplace 出来,fmt.Printf 到地老天荒即可

关于添加新的 RxMessage 类型,可参考 #102 里 rx 相关文件的改动

@xen0n
Copy link
Owner

xen0n commented Aug 26, 2022

消息类型的处理在 extractMessageExtras 函数(自己找)

@shuaiyy
Copy link
Author

shuaiyy commented Aug 26, 2022

感谢大佬;

看起来缺失了很多事件类型;
企业自建App里的这些都没有

事件格式

我fork一个改一下试试

消息类型的处理在 extractMessageExtras 函数(自己找)

@xen0n
Copy link
Owner

xen0n commented Aug 26, 2022

感谢大佬;

看起来缺失了很多事件类型; 企业自建App里的这些都没有

事件格式

我fork一个改一下试试

消息类型的处理在 extractMessageExtras 函数(自己找)

Feel free to!

如同已经在很多地方解释过的那样,很长一段时间内七牛都没有推送消息之外的其他需求,我近几年的业余时间也不写业务,所以用起来有缺失的地方自己加上就好了。提交增加上游 API 覆盖的 PR 我会很快看的。十分感谢!

@shuaiyy shuaiyy closed this as completed Jul 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants