From af1affc9269ba3d58b922fdbba247422e4783fb1 Mon Sep 17 00:00:00 2001 From: yaooo <272523191@qq.com> Date: Thu, 17 Aug 2023 17:05:13 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=8F=91=E5=B8=83=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E5=88=97=E8=A1=A8=E6=8E=A5=E5=8F=A3?= 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 e00a01b1..e101d90a 100644 --- a/app/controller/api/community/Community.php +++ b/app/controller/api/community/Community.php @@ -499,7 +499,7 @@ class Community extends BaseController $queryBuilder->where('c.status', 1); } $count = $queryBuilder->count(); - $list = $queryBuilder->field('c.community_id, c.title, c.image')->group('c.community_id')->order('c.community_id', 'desc')->page($page, $limit)->fetchSql(true)->select(); + $list = $queryBuilder->field('c.community_id, c.title, c.image')->group('c.community_id')->order('c.community_id', 'desc')->page($page, $limit)->fetchSql(true)->select(); return app('json')->success(compact('count','list')); }