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

发送图片成功后,synccheck与sync API 不停的调用,此刻并没有消息 #263

Open
shiguofu2012 opened this issue Oct 12, 2018 · 1 comment

Comments

@shiguofu2012
Copy link

最近在使用微信接口的时候,碰到如下问题:

调用sendmsgimg发送图片接口,图片发送成功;
synccheck接口返回selector 为2,可能收到消息,之后调用sync接口拉取消息,此刻并没有消息;
之后synccheck一直返回selector 为2, 不停的调用sync接口,直到收到消息后才会停止;
很疑惑, 不知道大家有没有碰到这种问题,或者有没有经验帮忙提示下思路,如何调试这种情况?

感谢大神了!

@ZhangSJJ
Copy link

这个是因为发送图片之后会返回新的synckey 和 synccheckkey 这个时候需要更新,下次synccheck需要用到新的key

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