发送房间发送不了

swords

Gateway::sendToAll(json_encode($send)); 可以发送

Gateway::sendToGroup($room,json_encode($send)); 发送指定房间就接受不到信息了
[attach]1310[/attach]
 

1969 1 0
1个回答

喵了个咪

joninGroup($client_id, $room);
看起来是$client_id传错了,或者$client_id已经下线了

  • 暂无评论
年代过于久远,无法发表回答
🔝