This commit is contained in:
jianghanbo 2024-12-17 19:17:25 +08:00
parent b50a9dee74
commit 46e54bb429
1 changed files with 2 additions and 2 deletions

View File

@ -379,14 +379,14 @@ class SpiderDy extends Command
continue;
}
}
Log::info(sprintf('dy create order%s, admin_id%s', $order->sn, $admin_id));
if (empty($admin_id)) return null;
}
$order->admin_id = $admin_id;
$order->give_time = time();
//判断是否需要发短信
if ($order->order_status == 1) {
if ($order->order_status == 1 && $admin_id) {
$this->sms($admin_id, $order);
}