From a2c9ddd70a74d5875bf6b04b8952b2e58188cb8c Mon Sep 17 00:00:00 2001 From: root Date: Sat, 28 Feb 2026 14:41:09 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8DHttpClient=E6=96=B9?= =?UTF-8?q?=E6=B3=95=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 使用 httpPost() 而不是 post() - 修复自审批文本消息发送功能 --- backend/app/service/FeishuNotificationService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/app/service/FeishuNotificationService.php b/backend/app/service/FeishuNotificationService.php index a7e52e2..f235e04 100644 --- a/backend/app/service/FeishuNotificationService.php +++ b/backend/app/service/FeishuNotificationService.php @@ -643,7 +643,7 @@ class FeishuNotificationService error_log('📤 发送文本消息: feishu_user_id=' . $feishuUserId . ', text=' . substr($text, 0, 100)); - $response = HttpClient::post($apiUrl, $requestData, [ + $response = \app\util\HttpClient::httpPost($apiUrl, $requestData, [ 'Authorization: Bearer ' . $accessToken, ]);