Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
wxh_internal_api
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
杨培培
wxh_internal_api
Commits
24924bf5
Commit
24924bf5
authored
Jan 06, 2020
by
杨培
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加异常注释
parent
5d8c0c06
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
Client.php
src/base/Client.php
+8
-2
No files found.
src/base/Client.php
View file @
24924bf5
...
...
@@ -202,7 +202,13 @@ class Client
return
$client
->
put
(
1024
,
0
,
60
,
json_encode
(
$msg
,
JSON_UNESCAPED_UNICODE
));
}
protected
static
function
invoke
(
$method
,
$params
=
[],
$id
=
null
)
/**
* @param string $method
* @param array $params
* @return mixed
* @throws ClientException|ApiException
*/
protected
static
function
invoke
(
$method
,
$params
=
[])
{
static
$connections
=
[];
...
...
@@ -223,7 +229,7 @@ class Client
$connections
[
$instance
->
rpcServer
]
=
$conn
;
}
return
$connections
[
$instance
->
rpcServer
]
->
invoke
(
$method
,
$params
,
$id
);
return
$connections
[
$instance
->
rpcServer
]
->
invoke
(
$method
,
$params
);
}
/**
...
...
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