From a6ac1903581d5beceb56fb1684c634222b647ee9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E5=8D=8E=E6=B8=85?= <18691022700@163.com> Date: Tue, 13 Jan 2026 15:37:30 +0800 Subject: [PATCH] =?UTF-8?q?=E7=B3=BB=E7=BB=9F=E6=B6=88=E6=81=AF=E6=9C=AA?= =?UTF-8?q?=E8=AF=BB=E6=95=B0=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/api/model/UserMessage.php | 1 + 1 file changed, 1 insertion(+) diff --git a/application/api/model/UserMessage.php b/application/api/model/UserMessage.php index 84a493c7..beb473e3 100644 --- a/application/api/model/UserMessage.php +++ b/application/api/model/UserMessage.php @@ -65,6 +65,7 @@ class UserMessage extends Model $system_message1 = db::name('system_message') ->field('id') ->where($map) + ->where(['delete_time' => 0]) ->where('FIND_IN_SET(:user_id, receiving_id)', ['user_id' => $uid]) ->select();