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

Webman\Push\Server::onApiClientMessage方法有一个bug #11

Open
tqtxk opened this issue Jan 25, 2024 · 0 comments
Open

Webman\Push\Server::onApiClientMessage方法有一个bug #11

tqtxk opened this issue Jan 25, 2024 · 0 comments

Comments

@tqtxk
Copy link

tqtxk commented Jan 25, 2024

在onApiClientMessage方法中的case语句==events的for循环中取$socket_id的代码有bug
$socket_id = isset($package['socket_id']) ? isset($package['socket_id']) : null; //有问题的代码
正确应该是
$socket_id = isset($package['socket_id']) ? $package['socket_id']: null; //有问题的代码

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

1 participant