wugg 5 months ago
parent
commit
56bb4d9dd7
2 changed files with 2 additions and 2 deletions
  1. 1 1
      app/admin/command/CheckInvoice.php
  2. 1 1
      app/admin/command/CheckTicket.php

+ 1 - 1
app/admin/command/CheckInvoice.php

@@ -78,7 +78,7 @@ class CheckInvoice extends Command
                 }elseif (in_array($result['data']['cyjg'],['0002','1014'])){
                     $this->lastUpdate($invoice['id']);
                 }else $this->faild($invoice['id'],$result['data']['cyjgxx']);
-            }else $this->faild($invoice['id']);
+            }else $this->faild($invoice['id'],"验票失败");
         }catch (\Exception $e){
             Db::rollback();
            echo $e->getMessage();

+ 1 - 1
app/admin/command/CheckTicket.php

@@ -79,7 +79,7 @@ class CheckTicket extends Command
             }elseif (in_array($result['data']['cyjg'],['0002','1014'])){
                 $this->lastUpdate($info['invNo']);
             }else $this->faild($invoice['id'],$result['data']['cyjgxx']);
-        }else $this->faild($info['invNo']);
+        }else $this->faild($info['invNo'],'验票失败');
        }catch (\Exception $e){
             Db::rollback();
             echo $e->getMessage()."\r\n";