Commit 300ce2dc authored by Kulya's avatar Kulya 😊

Begin adding Client to Billz 12

parent 982846a9
...@@ -200,13 +200,12 @@ require_once (__DIR__.'/keys.php'); ...@@ -200,13 +200,12 @@ require_once (__DIR__.'/keys.php');
'params' => $params, 'params' => $params,
]; ];
$sendData = json_encode($arData);
ALVC::eLog($sendData,"------ Billz :: curl req_Orig:");
if($method=="client.create"){ if($method=="client.create"){
$sendData = '{"jsonrpc":"2.0","method":"client.create","params":{"phone":"998931830000","firstName":"Ivan","lastName":"Petrov","gender":1,"birthDate":"1999-01-17"},"id":"1"}'; $sendData = '{"jsonrpc":"2.0","method":"client.create","params":{"phone":"998931830000","firstName":"Ivan","lastName":"Petrov","gender":1,"birthDate":"1999-01-17"},"id":"1"}';
static::setLog( $sendData, 'billzTest' ); ALVC::eLog($sendData,"------ Billz :: curl req_True:");
}
else {
$sendData = json_encode($arData);
static::setLog( $sendData, 'billzTest' );
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment