|
@@ -27,7 +27,7 @@ class CheckInvoice extends Command
|
|
|
protected function execute(Input $input, Output $output)
|
|
|
{
|
|
|
$this->datetime = date("Y-m-d");
|
|
|
- if(Cache::get('checkInvoiceP')==1 && date('H')>=12)return;
|
|
|
+ if(Cache::get('checkInvoiceP')==1 || date('H')<12)return;
|
|
|
$list = $this->getInvoice();
|
|
|
$invoice =Config::get('invoiceType');
|
|
|
$this->InvoiceNum = $invoice['KingInvoice'];
|