wallet stuffs

This commit is contained in:
CHIEFSOFT\ameye
2024-07-25 10:04:00 -04:00
parent 46c49393a5
commit acbc64c5a5
+3 -2
View File
@@ -230,14 +230,15 @@ class WrenchWallet extends BaseController
$this->doCacheStep($in, $out);
//$this->doCacheStep($in, $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;
$final_out["language"] = "en";
$final_out["ip_loc"] = $ip_loc;
return json_encode( $final_out );
// return json_encode( $final_out );
return $this->respond( $this->summaryReturnData($in,$out), 200);
}
public function getWallet(){
log_message('critical', "0001");