From 3f0de6b3d5cf4162de8a235c2e9b711346022b9d Mon Sep 17 00:00:00 2001 From: yaooo <272523191@qq.com> Date: Mon, 11 Sep 2023 09:40:56 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E9=AA=8C=E8=AF=81=E7=BB=93?= =?UTF-8?q?=E6=9D=9F=E5=A7=94=E6=89=98=E7=94=B3=E8=AF=B7=E5=88=A4=E5=AE=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controller/api/community/Community.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controller/api/community/Community.php b/app/controller/api/community/Community.php index 20902695..de5fdcdc 100644 --- a/app/controller/api/community/Community.php +++ b/app/controller/api/community/Community.php @@ -884,7 +884,7 @@ class Community extends BaseController //委托周期截止5天内可申请结束委托 $limitTime = strtotime($communityInfo['entrust_start_date']) + ($entrustInfo['entrust_day'] ?? 0) * 86400 - 5 * 86400; if (time() < $limitTime) { - return app('json')->fail('委托周期截止5天内可申请结束委托'); + //return app('json')->fail('委托周期截止5天内可申请结束委托'); } $res = Db::name('community')->where('community_id', $id)->where('is_del', 0)->update(['entrust_finish' => 3]); if (!$res) { @@ -916,7 +916,7 @@ class Community extends BaseController //委托周期截止5天内可申请结束委托 $limitTime = strtotime($communityInfo['entrust_start_date']) + ($entrustInfo['entrust_day'] ?? 0) * 86400 - 5 * 86400; if (time() < $limitTime) { - return app('json')->fail('委托周期截止5天内可申请结束委托'); + //return app('json')->fail('委托周期截止5天内可申请结束委托'); } // 分润 $res = Db::name('community')->where('community_id', $id)->where('is_del', 0)->update(['entrust_finish' => 1]);