Toggle navigation
Toggle navigation
This project
Loading...
Sign in
wangshusheng
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to dashboard
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
于良
2016-03-29 10:57:12 +0800
Commit
d29e4da3f5dc8dedee4d0a9f3c14f1dc0e229ba7
1 parent
7c74dcd3
接口请求签名时,过滤掉参数数组里值为null的key
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
library/Api/Sign.php
library/Api/Sign.php
View file @
d29e4da
...
...
@@ -49,6 +49,7 @@ class Sign
*/
public
static
function
getSign
(
array
$package
)
{
$package
=
array_filter
(
$package
,
function
(
$val
){
return
!
is_null
(
$val
);});
$package
=
self
::
packageSort
(
$package
);
return
self
::
makeSign
(
$package
);
}
...
...
Please
register
or
login
to post a comment