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']) : '';