From e86dc63783633380d9b2200e611ab9ba92e47b89 Mon Sep 17 00:00:00 2001 From: yaooo <272523191@qq.com> Date: Sat, 9 Sep 2023 16:49:41 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E7=BB=93=E6=9D=9F=E5=A7=94?= =?UTF-8?q?=E6=89=98=E7=94=B3=E8=AF=B7?= 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 11827b63..b83d2b43 100644 --- a/app/controller/api/community/Community.php +++ b/app/controller/api/community/Community.php @@ -909,7 +909,7 @@ class Community extends BaseController // 同意 if ($status == 1) { $entrustInfo = Db::name('entrust')->where('community_id', $id)->where('is_del', 0)->find(); - $limitTime = strtotime($entrustInfo['entrust_start_date']) + ($entrustInfo['entrust_day'] ?? 0) * 86400; + $limitTime = strtotime($communityInfo['entrust_start_date']) + ($entrustInfo['entrust_day'] ?? 0) * 86400; if (time() < $limitTime) { return app('json')->fail('委托时间内不能结束委托'); }