Toggle navigation
Toggle navigation
This project
Loading...
Sign in
mobile
/
yh_vendor
·
Commits
Go to a project
GitLab
Go to group
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-06-20 16:37:54 +0800
Commit
b910b73b3d93b1217697016e65533571685a9fa6
1 parent
dcdf244d
接口请求生成签名时不对参数url code review by shixiang
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
js/services/Request.js
js/services/Request.js
View file @
b910b73
...
...
@@ -190,7 +190,7 @@ export default class Request {
allParams
=
trimObject
(
allParams
);
// 去除首尾空格
let
paramsPair
=
queryString
.
stringify
(
allParams
)
let
paramsPair
=
queryString
.
stringify
(
allParams
,
{
encode
:
false
});
let
client_secret
=
md5
(
paramsPair
);
delete
allParams
.
private_key
;
...
...
Please
register
or
login
to post a comment