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

升级测试3.0.0升级到3.0.9不能绑定uid,返回null #10

Closed
wenrouzei opened this issue May 24, 2018 · 6 comments
Closed

升级测试3.0.0升级到3.0.9不能绑定uid,返回null #10

wenrouzei opened this issue May 24, 2018 · 6 comments

Comments

@wenrouzei
Copy link

升级测试3.0.0升级到3.0.9使用Gateway::bindUid()不能绑定uid,返回null

@walkor
Copy link
Owner

walkor commented May 24, 2018

gatewayWorker 版本是?

@wenrouzei
Copy link
Author

gateway-worker:3.0.7、3.0.9都测试过返回null

@walkor
Copy link
Owner

walkor commented May 24, 2018

根据手册,这个返回就是null

@wenrouzei
Copy link
Author

wenrouzei commented May 24, 2018

我再测试了下3.0.0版本是返回true,而3.0.9版本是返回null(但是有绑定成功了),只是之前的判断逻辑要改下,看源码是取消了return,这个没绑定成功会抛出错误么,怎么判断绑定状态呢

@walkor
Copy link
Owner

walkor commented May 24, 2018

异步的接口,没办法判断是否成功

@walkor walkor closed this as completed May 24, 2018
@li914
Copy link

li914 commented Aug 10, 2018

绑定后,使用Gateway:isUidOnline(uid) 来判断,如果绑定成功了会返回1.

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

3 participants