更新结束委托申请
This commit is contained in:
parent
0c911f4ad0
commit
e86dc63783
@ -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('委托时间内不能结束委托');
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user