Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuywap-node
·
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
王水玲
2018-12-26 17:17:00 +0800
Commit
a27304e46c5f28a76a4eb3c4f48fd50ebf769b60
1 parent
7b203b6d
phoneReg.expire 读不到设置默认值为0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
apps/passport/controllers/reg.js
apps/passport/controllers/reg.js
View file @
a27304e
...
...
@@ -230,7 +230,7 @@ class Reg {
sendCodeBusyBoy
(
req
,
res
,
next
)
{
let
count
=
_
.
get
(
req
.
session
,
'phoneReg.count'
);
let
expire
=
_
.
get
(
req
.
session
,
'phoneReg.expire'
);
let
expire
=
_
.
get
(
req
.
session
,
'phoneReg.expire'
)
||
0
;
if
(
count
)
{
return
next
();
...
...
Please
register
or
login
to post a comment