From df000b1d41f053ee50a219ae5a6d9c7260c42fd2 Mon Sep 17 00:00:00 2001 From: yaooo <272523191@qq.com> Date: Sat, 9 Sep 2023 09:40:44 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E8=8E=B7=E5=8F=96=E5=A7=94?= =?UTF-8?q?=E6=89=98=E8=AF=A6=E6=83=85?= 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 c3b44158..1a1692a9 100644 --- a/app/controller/api/community/Community.php +++ b/app/controller/api/community/Community.php @@ -800,7 +800,7 @@ class Community extends BaseController */ public function entrustDetail($id) { - $communityInfo = Db::name('community')->where('community_id', $id)->where('is_del', 0)->find(); + $communityInfo = Db::name('community')->where('community_id', $id)->where('is_del', 0)->field(['community_id', 'title', 'image', 'content','mer_status', 'entrust_mer_id', 'entrust_start_date'])->find(); if (!$communityInfo) { return app('json')->fail('委托商品不存在'); }