return result
This commit is contained in:
@@ -110,7 +110,7 @@ class WrenchJobs extends BaseController
|
||||
|
||||
$this->doCacheStep($in, $out);
|
||||
//$final_out = ( new \App\Models\ResultFormatter() )->processOutJson($in, $out);
|
||||
$final_out = $out; // start from all out
|
||||
$final_out = $out; // start from all out
|
||||
$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["server_tag"] = $server_tag;
|
||||
@@ -150,7 +150,11 @@ class WrenchJobs extends BaseController
|
||||
echo("Connection failure!");
|
||||
}
|
||||
curl_close($curl);
|
||||
return $result;
|
||||
$response = json_decode($result, true);
|
||||
return $response;
|
||||
// return $response["internal_return"];
|
||||
|
||||
// return $result;
|
||||
}
|
||||
|
||||
public function wrenchboard_api($in, &$out = array(),$pathWay='') {
|
||||
|
||||
Reference in New Issue
Block a user