weizong song 5 years ago
parent 9e8f5290d9
commit 45af18145d

@ -53,7 +53,6 @@ class SyncWeixinRechargeState extends Command
->whereRaw("UNIX_TIMESTAMP(`created_at`) between " . (time() + $offset_seconds) . " and " . (time() + $due_minutes * 60 + $offset_seconds))
->limit($threshold)
->get();
dd($recharges);
if (!$recharges->count()) {
cache(['last_sync_weixin_recharge_id' => null], now()->addSeconds(90));
echo "nothing";

Loading…
Cancel
Save