WrenchWallet::requestVirtualCard
This commit is contained in:
@@ -61,13 +61,15 @@ class WrenchWallet extends BaseController
|
|||||||
}
|
}
|
||||||
|
|
||||||
public function requestVirtualCard(){
|
public function requestVirtualCard(){
|
||||||
|
log_message('critical', "WrenchWallet::requestVirtualCard Path GATE ***");
|
||||||
$raw_json = file_get_contents('php://input');
|
$raw_json = file_get_contents('php://input');
|
||||||
$in = json_decode($raw_json, true);
|
$in = json_decode($raw_json, true);
|
||||||
$out=[];
|
$out=[];
|
||||||
|
|
||||||
$local_url = "http://".$this->micro_service_net1.":3038/create";
|
$local_url = "http://".$this->micro_service_net1.":3038/create";
|
||||||
$outX = $this->APIcall('POST', $local_url, ["message"=>$out]);
|
$out = $this->APIcall('POST', $local_url, $in);
|
||||||
|
|
||||||
|
log_message('critical', "WrenchWallet::requestVirtualCard ********* ALL ".serialize($out) );
|
||||||
|
|
||||||
return $this->respond( $this->summaryReturnData($in,$out), 200);
|
return $this->respond( $this->summaryReturnData($in,$out), 200);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user