added environmant path

This commit is contained in:
CHIEFSOFT\ameye
2024-09-18 06:42:53 -04:00
parent 8ab04e55e1
commit 3c436fa40a
5 changed files with 167 additions and 1 deletions
+2 -1
View File
@@ -14,10 +14,11 @@ class Home extends BaseController
// echo $promoOwner;
//http://10.204.5.100:9083/en/promo/api/v1/start
// echo $backend_server = getenv("API_ENDPOINT");
$in["promo"] = $promo;
$in["promo_owner"] = $promoOwner;
$out = $this->APIcall('POST','http://10.204.5.100:9083/en/promo/api/v1/start',[]);
$out = $this->APIcall('POST', $this->wrenchApiServer(). 'start',[]);
//var_dump($out);
return view('welcome_message', $out);
}