fuyu 5 년 전
부모
커밋
db94d02d92
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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();