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

用户关注不能自动消息回复 #25

Closed
landy8530 opened this issue Jun 21, 2020 · 3 comments
Closed

用户关注不能自动消息回复 #25

landy8530 opened this issue Jun 21, 2020 · 3 comments

Comments

@landy8530
Copy link
Contributor

目前用户关注或者取消关注,事件推送均不能正常推送。经查,原因是根据https://developers.weixin.qq.com/doc/offiaccount/Message_Management/Receiving_event_pushes.html 所示,toUser是指开发者微信号,而非代码中的【开发者APPID】。
image

image

开发者微信号经过debug得知,他的值取自【公众号设置】-->【注册信息】中的原始id。如下图所示:
image

@landy8530
Copy link
Contributor Author

由于我刚接触这个平台几天,不敢擅自修改。还请大佬自己修改一下哈。我的建议是在公众号表中加一个字段即可

@landy8530
Copy link
Contributor Author

在wx_account表加一个raw_id,然后在wx_msg_reply_rule也加一个raw_id即可修复上述问题。

@niefy
Copy link
Owner

niefy commented Jun 24, 2020

fixed in #29

@niefy niefy closed this as completed Jun 24, 2020
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