diff --git a/www-api/app/Controllers/WrenchBanners.php b/www-api/app/Controllers/WrenchBanners.php index 1dd87b9a..7f485e85 100644 --- a/www-api/app/Controllers/WrenchBanners.php +++ b/www-api/app/Controllers/WrenchBanners.php @@ -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 );