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]);