From 82688e37ee7ec5f88bd94c2c7e5a79c35117dcc0 Mon Sep 17 00:00:00 2001 From: yaooo <272523191@qq.com> Date: Sat, 19 Aug 2023 09:27:13 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E7=BC=96=E8=BE=91=E8=BD=AC?= =?UTF-8?q?=E5=94=AE=E5=95=86=E5=93=81?= 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 cb88f434..6da04f7d 100644 --- a/app/controller/api/community/Community.php +++ b/app/controller/api/community/Community.php @@ -612,7 +612,7 @@ class Community extends BaseController */ public function editResale($id) { - $communityInfo = Db::name('community')->where('uid', $this->request->uid())->where('community_id', $id)->whereIn('status', '0,-1')->where('is_del', 0)->fetchSql()->find(); + $communityInfo = Db::name('community')->where('uid', $this->request->uid())->where('community_id', $id)->whereIn('status', '0,-1')->where('is_del', 0)->find(); if (!$communityInfo) { return app('json')->fail('转售商品不存在'); }