Files
p_ysk/extend/chat/model/OnbocChat.php
2025-11-19 19:31:47 +08:00

25 lines
461 B
PHP

<?php
namespace extend\chat\model;
use ba\Exception;
use ba\Random;
use support\Redis;
use support\think\Db;
use GatewayWorker\Lib\Gateway;
use support\Log;
use think\Model;
/**
* 管理端小程序
*/
class OnbocChat extends Base
{
// 初始化
public static function init(string $client_id, array $message):void
{
Base::init($client_id, $message);
Gateway::sendToClient($client_id, json_encode(['msg' => 'success']));
}
}