Commit c6d65033 authored by Administrator's avatar Administrator

Merge branch 'hotfix/swoole'

parents f89d385c 6b452fc7
Pipeline #182 failed with stage
...@@ -86,6 +86,7 @@ class swooleMeTcp extends Command ...@@ -86,6 +86,7 @@ class swooleMeTcp extends Command
}); });
//监听数据接收事件 //监听数据接收事件
$this->tcp->on('Receive', function ($serv, $fd, $from_id, $data) { $this->tcp->on('Receive', function ($serv, $fd, $from_id, $data) {
Log::channel('slack')->info($data);
//验证数据格式 //验证数据格式
if($this->formatData($data)){ if($this->formatData($data)){
$swooletcp = new SwooleCommandMeTcpController(); $swooletcp = new SwooleCommandMeTcpController();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment