From 51eaec0871da731e0566db6117deeb5c0b8522a0 Mon Sep 17 00:00:00 2001 From: lq Date: Thu, 26 Jun 2025 10:11:43 +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 99e66a7e..558ff989 100644 --- a/resources/views/chat.blade.php +++ b/resources/views/chat.blade.php @@ -674,7 +674,7 @@ .then(response => { console.log('请求成功:', response.data); let res = response.data; - if (res.code === 200) { + if (res.code === 0) { // 添加消息到UI(自己的消息) addMessage({ userId: currentUser.id,