update: fix

This commit is contained in:
tokumeikoi 2021-08-02 03:00:01 +09:00
parent 7a80950ab5
commit d95974019a

View File

@ -50,7 +50,7 @@ class CheckOrder extends Command
switch ($item->status) {
// cancel
case 0:
if (strtotime($item->created_at) <= (time() - 1800)) {
if ($item->created_at <= (time() - 1800)) {
$orderService->cancel();
}
break;