service config

This commit is contained in:
CHIEFSOFT\ameye
2024-02-27 07:39:28 -05:00
parent 0548bcdce0
commit a7ccb493b3
3 changed files with 84 additions and 5 deletions
+2 -2
View File
@@ -68,6 +68,7 @@ class WrenchBanners extends BaseController
$current_env = $this->getSiteConfigurations("system.live");
$primary_image_sever = $this->getSiteConfigurations("system.primary_image_sever");
$server_tag = $this->getSiteConfigurations("system.server_tag");
$micro_service_net1 = $this->getSiteConfigurations("system.micro_service_net1"); //"10.10.10.120";
// echo "EXYTACT INPUT DATA HERE";
$raw_json = file_get_contents('php://input');
@@ -96,9 +97,8 @@ class WrenchBanners extends BaseController
break;
}
if ( $call_backend == true && $in["action"] !='' ){
$local_url = "http://10.10.10.120:3032/familybanners";
$local_url = "http://".$micro_service_net1.":3032/familybanners";
$out = $this->APIcall('GET', $local_url, $in);
}
else