ShuanghongS hace 2 semanas
padre
commit
cbc8bfa51a
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      service/ocean_order.class.php

+ 2 - 1
service/ocean_order.class.php

@@ -1630,7 +1630,8 @@ class ocean_order {
                         $docTypes[] = $_type;
                         $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){
                 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'],
                     $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'],
                             "file_name" => $f['fileName'],