Browse Source

智能群发发送脚本调整

houxiaohua 2 years ago
parent
commit
e844c37f62
1 changed files with 1 additions and 0 deletions
  1. 1 0
      app/Console/Commands/CircleMassMsgToRds.php

+ 1 - 0
app/Console/Commands/CircleMassMsgToRds.php

@@ -39,6 +39,7 @@ class CircleMassMsgToRds extends Command
39 39
             $datetime = date('Y-m-d H:i:s');
40 40
             DB::beginTransaction();
41 41
             $ruleInfo = CircleMassMsg::where('enable', 1)
42
+                ->where('status', 1)
42 43
                 ->where('next_send_time', '<=', $datetime)
43 44
                 ->orderBy('next_send_time')
44 45
                 ->first();