Banners
This commit is contained in:
@@ -33,8 +33,9 @@ class WrenchBanners extends BaseController
|
|||||||
// 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";
|
||||||
$out = $this->APIcall('GET', $local_url, $in);
|
$out = $this->APIcall('GET', $local_url, $in);
|
||||||
log_message('critical', "familyBanners ********* ".serialize($out) );
|
log_message('critical', "familyBanners ********* ALL ".serialize($out["result_list"]) );
|
||||||
|
log_message('critical', "familyBanners ********* COUNT ".serialize(count($out["result_list"])) );
|
||||||
|
|
||||||
$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 );
|
||||||
|
|||||||
Reference in New Issue
Block a user