刘桂岩 5 年之前
父節點
當前提交
218ba1a01a
共有 1 個文件被更改,包括 3 次插入0 次删除
  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");
         }