Procházet zdrojové kódy

修改团订单过期

jun před 2 týdny
rodič
revize
d7d034b01b
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      app/Console/Commands/Regiment.php

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

@@ -107,7 +107,7 @@ class Regiment extends Command
         }
 
         //团过期
-        $regimentList   =   RegimentModel::query()->where([['status','=',1],['end_time','<=',$time]])->get();
+        $regimentList   =   RegimentModel::query()->where([['status','=',0],['end_time','<=',$time]])->get();
         if ($regimentList){
             foreach ($regimentList as $v){
                 $activeList = $Model->query()->where('id','=',$v['active_id'])->first();