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->gatewayClient->sendToUser(
$this->userId === 1? 2: 1, $this->userId === 1? 2: 1,
$this->userId, $this->userId,
$this->userInfo['nick_name'],
$data['avatarColor'], $data['avatarColor'],
$this->userInfo['nick_name'],
$data['content'], $data['content'],
); );
$this->gatewayClient->broadcastMessage( $this->gatewayClient->broadcastMessage(
$this->userId, $this->userId,
$this->userInfo['nick_name'],
$data['avatarColor'], $data['avatarColor'],
$this->userInfo['nick_name'],
$data['content'], $data['content'],
); );
return ['发送成功']; return ['发送成功'];