diff --git a/app/Services/GatewayWorker/ImService.php b/app/Services/GatewayWorker/ImService.php index 7b945211..6409209a 100644 --- a/app/Services/GatewayWorker/ImService.php +++ b/app/Services/GatewayWorker/ImService.php @@ -25,7 +25,7 @@ class ImService extends BaseService GatewayClientService::getInstance()->init()->sendToUser( $this->userId, $this->userId === 1? 2: 1, - $this->userInfo['nick_name'], + $this->userInfo->nick_name, json_encode($data), ); return ['发送成功'];