This commit is contained in:
2025-06-26 10:51:48 +08:00
parent cfc77d29af
commit d9f4ec5ce3

View File

@@ -38,14 +38,14 @@ class ImService extends BaseService
$this->gatewayClient->sendToUser(
$this->userId === 1? 2: 1,
$this->userId,
$this->userInfo['nick_name'],
$data['avatarColor'],
$this->userInfo['nick_name'],
$data['content'],
);
$this->gatewayClient->broadcastMessage(
$this->userId,
$this->userInfo['nick_name'],
$data['avatarColor'],
$this->userInfo['nick_name'],
$data['content'],
);
return ['发送成功'];