短信发送
This commit is contained in:
parent
3a8ca51ef0
commit
731d514ee5
|
@ -393,7 +393,9 @@ class SpiderMt extends Command
|
|||
//判断是否需要发短信
|
||||
if ((in_array($order->os, [1, 7]) && array_key_exists($order->order_status, [1 => 1, 3 => 3]))) {
|
||||
if ($admin_id > 0) {
|
||||
$this->sms($admin_id, $order);
|
||||
// 发送短信
|
||||
\app\server\Orders::sendOrderSms($admin_id, $item);
|
||||
// $this->sms($admin_id, $order);
|
||||
}
|
||||
}
|
||||
$work = \app\server\Orders::getLiveRoomWork($order->create_at, $order->product_id);
|
||||
|
|
Loading…
Reference in New Issue