From 2446ad8c0f4b9d6a3d3dc4e7cf23ed9287765cf7 Mon Sep 17 00:00:00 2001 From: lq Date: Thu, 26 Jun 2025 10:10:02 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Services/GatewayWorker/ImService.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/Services/GatewayWorker/ImService.php b/app/Services/GatewayWorker/ImService.php index 7541ab8d..7b945211 100644 --- a/app/Services/GatewayWorker/ImService.php +++ b/app/Services/GatewayWorker/ImService.php @@ -22,11 +22,10 @@ class ImService extends BaseService public function sendMessage($data, $type = MessageTypeEnum::Text->value) { $data['message_type'] = MessageTypeEnum::from($type)->description(); - ds($this->userInfo); GatewayClientService::getInstance()->init()->sendToUser( $this->userId, $this->userId === 1? 2: 1, - $this->userInfo->nick_name, + $this->userInfo['nick_name'], json_encode($data), ); return ['发送成功'];