Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuy-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
1
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
yyq
2016-06-16 23:11:31 +0800
Commit
c7a0892ce1de69ec2c65dd89fa777b7285bc8c78
1 parent
262348dd
makeToken
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
library/sign.js
library/sign.js
View file @
c7a0892
...
...
@@ -94,3 +94,7 @@ exports.webSign = (params) => {
return
params
.
key
===
md5
(
md5
(
webPrivateKey
)
+
params
.
uid
);
};
exports
.
makeToken
=
(
string
)
=>
{
return
md5
(
md5
(
string
+
'#@!@#'
));
};
...
...
Please
register
or
login
to post a comment