server tag

This commit is contained in:
CHIEFSOFT\ameye
2023-11-10 09:19:29 -05:00
parent d59812dfc8
commit 64631fe13f
2 changed files with 6 additions and 3 deletions
+2
View File
@@ -497,6 +497,7 @@ class WrenchApi extends BaseController
$current_env = $this->getSiteConfigurations("system.live");
$primary_image_sever = $this->getSiteConfigurations("system.primary_image_sever");
$server_tag = $this->getSiteConfigurations("system.server_tag");
// echo "EXYTACT INPUT DATA HERE";
$raw_json = file_get_contents('php://input');
@@ -566,6 +567,7 @@ class WrenchApi extends BaseController
$final_out["environment"] = $current_env + 0; // force convert to interger = $this->getSiteConfigurations("system.live");
$final_out["session_image_server"] = $primary_image_sever; // ( $final_out["environment"] > 0 )? 'https://apigate.nebula.g1.wrenchboard.com/en/wrench/api/v1/getmedia/' : "https://apigate.lotus.g1.wrenchboard.com/en/wrench/api/v1/getmedia/";
//$final_out["session_image_server"] = "https://apigate.lotus.g1.wrenchboard.com/en/wrench/api/v1/getmedia/";
$final_out["server_tag"] = $server_tag;
$final_out["language"] = "en";
$final_out["ip_loc"] = $ip_loc;
//return json_encode( ( new \App\Models\ResultFormatter() )->processOutJson($in, $out));