3 Star 41 Fork 12

糖水不加糖 / thinkphp-swoole3-demo

 / 详情

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

Done
Opened this issue  
2020-12-17 16:06

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

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

事件订阅:
输入图片说明

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

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

Comments (1)

谢城华 created任务
Expand operation logs

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

无法复现问题

糖水不加糖 added
 
cannotreproduce
label
糖水不加糖 changed issue state from 待办的 to 已完成

Sign in to comment

Status
Assignees
Milestones
Pull Requests
Successfully merging a pull request will close this issue.
Branches
Planed to start   -   Planed to end
-
Top level
Priority
参与者(2)
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

53164aa7 5694891 3bd8fe86 5694891