From 1cc5f25c289e077a6438b5b706ceb64e3548fc06 Mon Sep 17 00:00:00 2001 From: lq Date: Thu, 26 Jun 2025 10:09:37 +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 --- resources/views/chat.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/chat.blade.php b/resources/views/chat.blade.php index b2722599..99e66a7e 100644 --- a/resources/views/chat.blade.php +++ b/resources/views/chat.blade.php @@ -667,7 +667,7 @@ data: message }, { headers: { - 'Authorization': `Bearer ${token}`, // 假设使用 Bearer token + 'token': `${token}`, // 假设使用 Bearer token 'Content-Type': 'application/json' // 通常也需要指定内容类型 } })