fuyu há 5 anos atrás
pai
commit
db94d02d92
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      application/inter/controller/Dcquery.php

+ 1 - 1
application/inter/controller/Dcquery.php

@@ -139,7 +139,7 @@ class Dcquery extends Controller
                 $study_info = DB::table('studies')->where('accession_num', $acc_num)->field('id,studyuid,studyid,patient_id')->find();
             }
             if(!$study_info) {
-                throw HttpResponseException('没有查找到对应检查');
+                throw new HttpResponseException('没有查找到对应检查');
             }
             // if(strlen($study_id) == '16'){
             //     $study_info = DB::table('studies')->where('id',$study_id)->field('id,studyuid,studyid,patient_id')->find();