This commit is contained in:
parent
b50a9dee74
commit
46e54bb429
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue