|
|
|
@ -29,7 +29,7 @@ function PayCheckFunc()
|
|
|
|
$wait_time=60*20;//循环查询20分钟
|
|
|
|
$wait_time=60*20;//循环查询20分钟
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (!!$pay_check and strtotime($pay_check['paycheck_time'])<strtotime($pay_check['created_at']) + $wait_time) {
|
|
|
|
if (!!$pay_check and strtotime($pay_check['paycheck_time'])<strtotime($pay_check['start_pay_time']) + $wait_time) {
|
|
|
|
Db2::u($db, 'orders', [
|
|
|
|
Db2::u($db, 'orders', [
|
|
|
|
'paycheck_time' => date('Y-m-d H:i:s'),
|
|
|
|
'paycheck_time' => date('Y-m-d H:i:s'),
|
|
|
|
], 'where id = ?', [
|
|
|
|
], 'where id = ?', [
|
|
|
|
|