diff --git a/service/app/command/SpiderDy.php b/service/app/command/SpiderDy.php index 8ee59b9d..396b55f3 100644 --- a/service/app/command/SpiderDy.php +++ b/service/app/command/SpiderDy.php @@ -339,9 +339,6 @@ class SpiderDy extends Command break; } - // 待使用订单提醒 - $reminder_orders = []; - foreach ($list as $order) { $item = Orders::where('os', $order->os)->where('sn', $order->sn)->find(); @@ -366,10 +363,7 @@ class SpiderDy extends Command if (($order->os == 1 && array_key_exists($order->order_status, [1 => 1, 3 => 3])) || ($order->os == 2 && array_key_exists($order->order_status, [2 => 2, 3 => 3, 4 => 4])) || ($order->os == 3 && $order->order_status == 1)) { -// $this->sms($admin_id, $order); - - // 待使用订单提醒 - $reminder_orders[] = $order; + // $this->sms($admin_id, $order); } //新获得一个用户的,提示管理员有新的订单 Redis::incrBy('CRM:USER:ONLINE:NEW:' . $admin_id, 1); @@ -390,10 +384,6 @@ class SpiderDy extends Command } } - if (!empty($reminder_orders)) { - ServerOrders::reminderOrders(...$reminder_orders); - } - $page++; } } diff --git a/service/app/command/SpiderMt.php b/service/app/command/SpiderMt.php index 854ca965..3921687e 100644 --- a/service/app/command/SpiderMt.php +++ b/service/app/command/SpiderMt.php @@ -374,9 +374,6 @@ class SpiderMt extends Command break; } - // 待使用订单提醒 - $reminder_orders = []; - foreach ($list as $order) { $item = Orders::where('os', $order->os)->where('sn', $order->sn)->find(); @@ -401,9 +398,6 @@ class SpiderMt extends Command ($order->os == 2 && array_key_exists($order->order_status, [2 => 2, 3 => 3, 4 => 4])) || ($order->os == 3 && $order->order_status == 1)) { $this->sms($admin_id, $order); - - // 待使用订单提醒 - $reminder_orders[] = $order; } //新获得一个用户的,提示管理员有新的订单 Redis::incrBy('CRM:USER:ONLINE:NEW:' . $admin_id, 1); @@ -424,10 +418,6 @@ class SpiderMt extends Command } } - if (!empty($reminder_orders)) { - ServerOrders::reminderOrders(...$reminder_orders); - } - $page++; } }