service config
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user