刘桂岩 před 2 roky
rodič
revize
0911fa7fb0
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      app/controller/Index.php

+ 1 - 1
app/controller/Index.php

@@ -144,7 +144,7 @@ class Index extends BaseController
         // 使用中文文件名需要转码
         file_put_contents('/data/gitcode/newpacs/public'.$file_path.$rename.'.'.$ext,$rawdata);
         // 返回路径
-        $path = '/public'.$file_path.$rename.".".$ext;
+        $path = 'http://kunlun.pacsonline.cn/public'.$file_path.$rename.".".$ext;
         $ins = ['type'=>$ext,'url'=>$path,'barcode'=>$barCode];
         Db::table('annex')->insert($ins);
         $patientId = Db::table('dianapiinfo')->where('Barcode',$barCode)->value('patientId');