调试逾期提醒
This commit is contained in:
parent
49c9af71ad
commit
e1dfafe583
@ -6,13 +6,15 @@ use app\common\model\store\order\StoreOrderInterest;
|
||||
use crmeb\interfaces\ListenerInterface;
|
||||
use crmeb\jobs\SendSmsJob;
|
||||
use crmeb\services\TimerService;
|
||||
use think\facade\Log;
|
||||
use think\facade\Queue;
|
||||
|
||||
class AutoCheckCreditBuyListen extends TimerService implements ListenerInterface
|
||||
{
|
||||
public function handle($event): void
|
||||
{
|
||||
$tomorrow = strtotime('tomorrow 14:05:00');
|
||||
Log::info(__FUNCTION__ . '监听到信用购订单自动结算');
|
||||
$tomorrow = strtotime('tomorrow 14:08:00');
|
||||
$time = ($tomorrow - time()) * 1000;
|
||||
$this->tick($time, function () {
|
||||
request()->clearCache();
|
||||
|
Loading…
x
Reference in New Issue
Block a user