Explorar o código

check order time

zz %!s(int64=6) %!d(string=hai) anos
pai
achega
05e73aa632
Modificáronse 1 ficheiros con 1 adicións e 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);