From 0c6cfd42f0ed687b8e6b13d0f8a58e20d72e15db Mon Sep 17 00:00:00 2001 From: yaooo <272523191@qq.com> Date: Wed, 23 Aug 2023 09:58:34 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=9F=A5=E8=AF=A2=E8=BD=AC?= =?UTF-8?q?=E5=94=AE=E5=95=86=E5=93=81=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controller/api/community/Community.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controller/api/community/Community.php b/app/controller/api/community/Community.php index 721089d3..7521361e 100644 --- a/app/controller/api/community/Community.php +++ b/app/controller/api/community/Community.php @@ -470,7 +470,7 @@ class Community extends BaseController { [$page, $limit] = $this->getPage(); $status = $this->request->param('status'); - $queryBuilder = Db::name('community')->alias('c')->leftJoin('resale r','c.community_id = r.community_id')->where('c.is_del', 0)->where('c.uid', $this->request->uid()); + $queryBuilder = Db::name('community')->alias('c')->leftJoin('resale r','c.community_id = r.community_id')->where('c.is_type', 3)->where('c.is_del', 0)->where('c.uid', $this->request->uid()); // 在售商品 if ($status == 1) { $queryBuilder->where('c.status', 1)->where('c.is_show', 1)->where(function ($query) {