2 Star 8 Fork 8

糖水不加糖 / thinkphp-swoole3-demo

api投递消息,监听器不工作

Done
谢城华  Opened this issue

api 接口实例:
$data = [
'api' => true,
'to' => 230,
'sender_uid' => 229,
'content' => ['aaa' => 123],
];

$event = event('swoole.websocket.Point', $data);

事件订阅:
输入图片说明

控制台没有任何输出:
输入图片说明

找了好久都没有找到原因。。。

total 2 participants

Comments (1)

糖水不加糖 2020-12-23 09:43 owner

clone demo完成后直接运行测试结果如下
输入图片说明

无法复现问题

Sign in to comment

Assignees
Labels
cannotreproduce
Projects
Milestones
Branches
Planed to start
Not set
Planed to end
Not set
Top level
Priority
PHP
1
https://gitee.com/tsbjt/thinkphp-swoole3-demo.git
git@gitee.com:tsbjt/thinkphp-swoole3-demo.git
tsbjt
thinkphp-swoole3-demo
thinkphp-swoole3-demo

Search