diff --git a/backend/app/service/FeishuNotificationService.php b/backend/app/service/FeishuNotificationService.php index f235e04..81f3c8a 100644 --- a/backend/app/service/FeishuNotificationService.php +++ b/backend/app/service/FeishuNotificationService.php @@ -643,11 +643,10 @@ class FeishuNotificationService error_log('📤 发送文本消息: feishu_user_id=' . $feishuUserId . ', text=' . substr($text, 0, 100)); - $response = \app\util\HttpClient::httpPost($apiUrl, $requestData, [ + $responseData = \app\util\HttpClient::httpPost($apiUrl, $requestData, [ 'Authorization: Bearer ' . $accessToken, ]); - $responseData = json_decode($response, true); $code = $responseData['code'] ?? -1; if ($code !== 0) {