Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
Y
ybf
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
xulili
ybf
Commits
a2d642ca
Commit
a2d642ca
authored
Jan 19, 2020
by
Z
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Z: Hot: clean comment.
parent
0a9198ce
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
10 deletions
+1
-10
bRequestEa.js
ybf_wx/src/utils/bRequestEa.js
+1
-10
No files found.
ybf_wx/src/utils/bRequestEa.js
View file @
a2d642ca
...
...
@@ -19,29 +19,20 @@ const createSign = (inPostData, inAppSecret) => {
// URL 编码
for
(
let
key
in
args
)
{
// res += encodeURIComponent(key) + "%3d" + encodeURIComponent(args[key]).toLowerCase() + "%26";
res
+=
encodeURIComponent
(
key
)
+
"%3D"
+
encodeURIComponent
(
args
[
key
])
+
"%26"
;
}
res
=
res
.
slice
(
0
,
-
3
);
zlog
(
'--->URL转义:'
,
res
)
zlog
(
'--->ts'
,
ts
)
zlog
(
'--->appSecret'
,
appSecret
)
// URL 拼接
res
+=
`&appUser=
${
appUser
}
&appCode=
${
appCode
}
&
${
ts
}${
appSecret
}
`
zlog
(
'--->追加内容:'
,
res
)
return
res
;
};
// Basic Info
let
basicInfo
=
{
appUser
:
"YBF001"
,
// ver: "v2.17",
ver
:
"v1.0"
,
// appSecret: "JeC0mmE2ZjZmOfdmTGImYzU5Yjg1AYU2M3F="
ver
:
"v2.17"
,
appSecret
:
"t04yYm6gjsuHeehxOxojtmiwlYfXY8Zkdowf"
}
...
...
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