fix array

This commit is contained in:
CHIEFSOFT\ameye
2024-07-19 20:05:42 -04:00
parent 1d599ce8a9
commit 2344b4cabb
+2 -1
View File
@@ -32,7 +32,8 @@ class WrenchBanners extends BaseController
$out = $this->getCache($endpoint); // try find in cache
// if ( count($out) == 0 ){
$local_url = "http://".$this->micro_service_net1.":3032/familybanners";
$out = $this->APIcall('GET', $local_url, $in);
$outBanner = $this->APIcall('GET', $local_url, $in);
$out = $outBanner["result_list"];
$this->saveCache($endpoint,$out,1500);
// }
return $this->summaryReturnData($in,$out); //json_encode( $final_out );