测试
This commit is contained in:
@@ -76,9 +76,6 @@ class GatewayClientService
|
||||
{
|
||||
$message = $this->buildMessage($fromUserId, $fromUserName, $formUserAvatarColor, $msgData, $type);
|
||||
Gateway::sendToUid($toUserId, $message);
|
||||
ds([
|
||||
$toUserId, $message
|
||||
]);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -40,13 +40,13 @@ class ImService extends BaseService
|
||||
$this->userId,
|
||||
$data['avatarColor'],
|
||||
$this->userInfo['nick_name'],
|
||||
$data['content'],
|
||||
'单聊'. $data['content'],
|
||||
);
|
||||
$this->gatewayClient->broadcastMessage(
|
||||
$this->userId,
|
||||
$data['avatarColor'],
|
||||
$this->userInfo['nick_name'],
|
||||
$data['content'],
|
||||
'群发'. $data['content'],
|
||||
);
|
||||
return ['发送成功'];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user