lizhen_gitee 10 tháng trước cách đây
mục cha
commit
1f04d0a7ef
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      application/chat/Events.php

+ 1 - 1
application/chat/Events.php

@@ -49,7 +49,7 @@ class Events
          //file_put_contents('1.json',$message.PHP_EOL,FILE_APPEND);
          //$info = Db::name('gateway_test')->insertGetId(['msg'=>'[msg]'.$message,'datetime'=>date('Y-m-d H:i:s')]);
 
-         Gateway::sendToAll($client_id.':'.$message);
+         Gateway::sendToAll($client_id.':'.$message);
 
          return;