parent
224c437e7f
commit
5e1fa05c64
|
@ -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();
|
||||
|
@ -367,9 +364,6 @@ class SpiderDy 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);
|
||||
|
@ -390,10 +384,6 @@ class SpiderDy extends Command
|
|||
}
|
||||
}
|
||||
|
||||
if (!empty($reminder_orders)) {
|
||||
ServerOrders::reminderOrders(...$reminder_orders);
|
||||
}
|
||||
|
||||
$page++;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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++;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue