调整机器人支付检查

main
yanzai 3 weeks ago
parent 90f96a5fed
commit 91e4bfb90f

@ -29,7 +29,7 @@ function PayCheckFunc()
$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', [
'paycheck_time' => date('Y-m-d H:i:s'),
], 'where id = ?', [

Loading…
Cancel
Save