wugg пре 6 месеци
родитељ
комит
fec20251fd
1 измењених фајлова са 3 додато и 3 уклоњено
  1. 3 3
      app/cxinv/command/CheckInvoice.php

+ 3 - 3
app/cxinv/command/CheckInvoice.php

@@ -39,15 +39,15 @@ class CheckInvoice extends Command
                     'fully_digitalized_normal_electronic'=>'022',
                 ];
         $this->output=$output;
-       // if(Cache::get('checkInvoiceP')==1)return;
+        if(Cache::get('checkInvoicePlus')==1)return;
         while ($list->valid()){
-            Cache::set('checkInvoiceP',1,1800);
+            Cache::set('checkInvoicePlus',1,1800);
             $invoice = $list->current();
             $this->taxCheck($invoice);
             $this->output->writeln('['.date(DATE_W3C).']'.$invoice['hpNo'].'验票');
             $list->next();
         }
-        Cache::set('checkInvoiceP',0);
+        Cache::set('checkInvoicePlus',0);
 
     }