刘桂岩 5 anni fa
parent
commit
218ba1a01a
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  1. 3 0
      application/common/library/DicomPaser.php

+ 3 - 0
application/common/library/DicomPaser.php

@@ -13,10 +13,13 @@ namespace app\common\library;
 require dirname(__FILE__).'/nanodicom/Nanodicom.php';
 use Nanodicom;
 use app\common\library\DicomPaserTag;
+use think\Exception;
+
 class DicomPaser {
     public static function paser($filePath = '') { 
 
         if(empty($filePath)) {
+
             throw new Error("The filePath $filePath is empty or null");
         }