From bdd6cdcb9a604afe5ee8d068e286876493f6b7e5 Mon Sep 17 00:00:00 2001 From: ASUS <515617283@qq.com> Date: Fri, 5 Dec 2025 16:46:04 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A8=E6=83=85=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/chat/model/ChatGroup.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/chat/model/ChatGroup.php b/app/chat/model/ChatGroup.php index b6aa68a..449b5f7 100644 --- a/app/chat/model/ChatGroup.php +++ b/app/chat/model/ChatGroup.php @@ -28,6 +28,7 @@ class ChatGroup extends BaseModel $shop = Db::name('tb_shop_info')->where(['id' => $shop_id])->find(); if(empty($shop)) { Log::info('店铺不存在'); + return false; } // 查找群数量 $count = Db::name('chat_group')->where(['shop_id' => $shop_id])->count();