ShuanghongS 2 недель назад
Родитель
Сommit
cbc8bfa51a
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      service/ocean_order.class.php

+ 2 - 1
service/ocean_order.class.php

@@ -1630,7 +1630,8 @@ class ocean_order {
                         $docTypes[] = $_type;
                     }
                 }
-                $file_arr = dms_edoc::getEdocFile($air['_h_bol'],$docTypes,'air');
+                $jsonResponse = dms_edoc::getEdocFile($air['_h_bol'],$docTypes,'air');
+                $file_arr = json_decode($jsonResponse, true);
                 foreach($file_arr as $f){
                     $temp_f = array("url"=>"main_new_version.php?action=ocean_order&operate=download&url=".common::deCode("dms", 'E')."&filename = ".common::deCode($f['fileName'], 'E')."&outId=".$f['outId'],
                             "file_name" => $f['fileName'],