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
+3 -1
View File
@@ -68,6 +68,8 @@ class WrenchJobs 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');
@@ -98,7 +100,7 @@ class WrenchJobs extends BaseController
if ( $call_backend == true && $in["action"] !='' ){
$local_url = "http://10.10.10.120:3033/marketjobs";
$local_url = "http://".$micro_service_net1.":3033/marketjobs";
$out = $this->APIcall('GET', $local_url, $in);
}
else