初始化聊天,完结
This commit is contained in:
@@ -18,8 +18,15 @@ class ShoppingChat extends Base
|
||||
// 初始化
|
||||
public static function init(string $client_id, array $message):void
|
||||
{
|
||||
print_r( date('H:i:s') . '--初始化运用户聊天' . $client_id . "\r\n");
|
||||
Gateway::sendToClient($client_id, self::sendGormat($message, Base::init($client_id, $message)));
|
||||
}
|
||||
|
||||
public static function sendMsg(string $client_id, array $message)
|
||||
{
|
||||
Base::sendMsg($client_id, $message);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user