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
2e1d71c80fd5310bba9b37824f88f4e01bd82652
1 parent
3ae6cd14
PC密码校验
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
library/LibModels/Web/Passport/BackData.php
library/LibModels/Web/Passport/BackData.php
View file @
2e1d71c
...
...
@@ -127,11 +127,11 @@ class BackData
public
static
function
checkEmailCode
(
$code
)
{
$param
=
Yohobuy
::
param
();
$param
[
'method'
]
=
'
app.register
.checkCodeValid'
;
$param
[
'method'
]
=
'
web.passport
.checkCodeValid'
;
$param
[
'code'
]
=
$code
;
$param
[
'client_secret'
]
=
Sign
::
getSign
(
$param
);
return
Yohobuy
::
get
(
Yohobuy
::
API_URL
,
$param
,
3600
);
// 缓存1小时
return
Yohobuy
::
get
(
Yohobuy
::
API_URL
,
$param
);
}
/**
...
...
Please
register
or
login
to post a comment