下次发送短信提醒-开始发送短信
This commit is contained in:
parent
4de6ed33f5
commit
1172cac95c
|
@ -63,17 +63,17 @@ class NotUsedOrderSms extends Command
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
// $result = Orders::reminderOrders($order);
|
$result = Orders::reminderOrders($order);
|
||||||
$text = '已发送提醒。';
|
$text = '已发送提醒。';
|
||||||
|
|
||||||
// if (Error::is($result)) {
|
if (Error::is($result)) {
|
||||||
// $text = '发送短信失败,' . $result['message'] ?? '';
|
$text = '发送短信失败,' . $result['message'] ?? '';
|
||||||
// }
|
}
|
||||||
|
|
||||||
$this->output($output, "单号 {$order->sn} : {$text}");
|
$this->output($output, "单号 {$order->sn} : {$text}");
|
||||||
|
|
||||||
// $order->next_remind_time = $order->next_remind_time + 10 * 24 * 60 * 60;
|
$order->next_remind_time = $order->next_remind_time + 10 * 24 * 60 * 60;
|
||||||
// $order->save();
|
$order->save();
|
||||||
}
|
}
|
||||||
|
|
||||||
return self::SUCCESS;
|
return self::SUCCESS;
|
||||||
|
|
Loading…
Reference in New Issue