소스 검색

update: fix

tokumeikoi 3 년 전
부모
커밋
d95974019a
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/Console/Commands/CheckOrder.php

+ 1 - 1
app/Console/Commands/CheckOrder.php

@@ -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;