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