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
982846a9
Commit
982846a9
authored
Feb 09, 2022
by
Kulya
😊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Begin adding Client to Billz 12
parent
909d8faa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
2 deletions
+11
-2
BillzRest.php
vendor/alovoice/src/BillzRest.php
+11
-2
No files found.
vendor/alovoice/src/BillzRest.php
View file @
982846a9
...
...
@@ -199,8 +199,17 @@ require_once (__DIR__.'/keys.php');
'method'
=>
$method
,
'params'
=>
$params
,
];
$sendData
=
json_encode
(
$arData
);
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"}'
;
static
::
setLog
(
$sendData
,
'billzTest'
);
}
else
{
$sendData
=
json_encode
(
$arData
);
static
::
setLog
(
$sendData
,
'billzTest'
);
}
$result
[
"params"
]
=
$sendData
;
$result
[
"url"
]
=
$url
;
// ob_start();
...
...
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