Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
2
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
whb
9 years ago
Commit
335a5365085cc1f09f74d4d411de84f872b74ce8
1 parent
aad2a5c4
PC的authcode
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
library/WebPlugin/AuthCode.php
library/WebPlugin/AuthCode.php
View file @
335a536
...
...
@@ -376,4 +376,14 @@ class AuthCode
}
return
true
;
}
/**
* 对Str进行转码(主要防范+)
*
* @param String $input
* @return String
*/
public
static
function
base64_str_encode
(
$input
)
{
return
strtr
(
$input
,
'+/='
,
'-_.'
);
}
}
\ No newline at end of file
...
...
Please
register
or
login
to post a comment