Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
AmiBX
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
bitrix
AmiBX
Commits
5b791e0f
Commit
5b791e0f
authored
Feb 09, 2022
by
Kulya
😊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Begin adding Client to Billz 13
parent
300ce2dc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
BillzRest.php
vendor/alovoice/src/BillzRest.php
+3
-2
No files found.
vendor/alovoice/src/BillzRest.php
View file @
5b791e0f
...
...
@@ -198,14 +198,15 @@ require_once (__DIR__.'/keys.php');
'jsonrpc'
=>
'2.0'
,
'method'
=>
$method
,
'params'
=>
$params
,
'id'
=>
"222"
,
];
$sendData
=
json_encode
(
$arData
);
ALVC
::
eLog
(
$sendData
,
"------ Billz :: curl req_Orig:"
);
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"}'
;
ALVC
::
eLog
(
$sendData
,
"------ Billz :: curl req_True:"
);
$
r
sendData
=
'{"jsonrpc":"2.0","method":"client.create","params":{"phone":"998931830000","firstName":"Ivan","lastName":"Petrov","gender":1,"birthDate":"1999-01-17"},"id":"1"}'
;
ALVC
::
eLog
(
$
r
sendData
,
"------ Billz :: curl req_True:"
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment