Explorar el Código

check order time

zz hace 5 años
padre
commit
05e73aa632
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app/Console/Commands/CheckOrderStatus.php

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

@@ -51,7 +51,7 @@ class CheckOrderStatus extends Command
         if($uid) {
             $this->checkOne($uid);
         }else{
-            $result = UserMonthSign::where('created_at','>=',date('Y-m-d H:i:s',time()-300))->select('uid')->get();
+            $result = UserMonthSign::where('created_at','>=',date('Y-m-d H:i:s',time()-1800))->select('uid')->get();
             if($result->isNotEmpty()){
                 foreach ($result as $item){
                     $this->checkOne($item->uid);