Browse Source

修改团订单过期

jun 2 weeks ago
parent
commit
d7d034b01b
1 changed files with 1 additions and 1 deletions
  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();