From 002f03e037fe4f8e1aac6864c4f2b55a18536983 Mon Sep 17 00:00:00 2001 From: wong <106998207@qq.com> Date: Fri, 16 Jan 2026 16:51:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../chukebao/controller/WechatChatroomController.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Server/application/chukebao/controller/WechatChatroomController.php b/Server/application/chukebao/controller/WechatChatroomController.php index 936c837d..9c9e2f99 100644 --- a/Server/application/chukebao/controller/WechatChatroomController.php +++ b/Server/application/chukebao/controller/WechatChatroomController.php @@ -118,12 +118,13 @@ class WechatChatroomController extends BaseController } $detail = Db::table('s2_wechat_chatroom') - ->where(['accountId' => $accountId, 'id' => $id, 'isDeleted' => 0]) + //->where(['accountId' => $accountId, 'id' => $id, 'isDeleted' => 0]) + ->where([ 'id' => $id, 'isDeleted' => 0]) ->find(); - if (!$detail) { - return ResponseHelper::error('聊天室不存在或无权限访问'); - } + // if (!$detail) { + // return ResponseHelper::error('聊天室不存在或无权限访问'); + // } // 处理时间格式 $detail['createTime'] = !empty($detail['createTime']) ? date('Y-m-d H:i:s', $detail['createTime']) : '';