短信发送

This commit is contained in:
jianghanbo 2024-10-29 09:39:59 +08:00
parent 3a8ca51ef0
commit 731d514ee5
1 changed files with 3 additions and 1 deletions

View File

@ -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);