mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-11-02 07:50:37 +00:00
修复未支付10分钟后发送短信调用错误
This commit is contained in:
parent
028f846317
commit
a845849be1
@ -76,7 +76,7 @@ class OrderCreateAfter implements ListenerInterface
|
||||
}
|
||||
$switch = sys_config('unpaid_order_switch') ? true : false;
|
||||
//未支付10分钟后发送短信
|
||||
$switch && UnpaidOrderCancelJob::dispatchSece(600, [$orderId]);
|
||||
$switch && UnpaidOrderSend::dispatchSece(600, [$orderId]);
|
||||
//未支付根据系统设置事件取消订单
|
||||
UnpaidOrderCancelJob::dispatchSece((int)($secs * 3600), [$orderId]);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user