diff --git a/app/Services/GatewayWorker/GatewayClientService.php b/app/Services/GatewayWorker/GatewayClientService.php index edb402bc..e1a60180 100644 --- a/app/Services/GatewayWorker/GatewayClientService.php +++ b/app/Services/GatewayWorker/GatewayClientService.php @@ -59,9 +59,9 @@ class GatewayClientService { $message = [ 'userId' => $userId, - 'name' => $name, - 'text' => $text, - 'timestamp' => date('Y-m-d\TH:i:sP'), // ISO 8601格式时间 + 'userName' => $name, + 'content' => $text, + 'timestamp' => time(), // ISO 8601格式时间 'type' => $type ];