diff --git a/app/Console/Commands/BalanceDue.php b/app/Console/Commands/BalanceDue.php index e888806..ea03d66 100644 --- a/app/Console/Commands/BalanceDue.php +++ b/app/Console/Commands/BalanceDue.php @@ -44,28 +44,28 @@ class BalanceDue extends Command public function handle() { Log::info(111); - if (env('SMS_SWITCH' , '') == true) { - $orders = Order::query() - ->where('status', OrderStatus::PAY_EARNEST) - ->get(); - $sms = new SmsService(); - foreach ($orders as $order) { - if (!empty($order->mobile)) { - $sms->send( - 'pay', - [ - $order->order_no, - '定金/订金', - $order->timeout, - '定金/订金', - '小程序' - ], - [ - $order->mobile - ], - ); - } - } - } + //if (env('SMS_SWITCH' , '') == true) { + // $orders = Order::query() + // ->where('status', OrderStatus::PAY_EARNEST) + // ->get(); + // $sms = new SmsService(); + // foreach ($orders as $order) { + // if (!empty($order->mobile)) { + // $sms->send( + // 'pay', + // [ + // $order->order_no, + // '定金/订金', + // $order->timeout, + // '定金/订金', + // '小程序' + // ], + // [ + // $order->mobile + // ], + // ); + // } + // } + //} } }