Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eduline
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
冷斌
eduline
Commits
a2569e0c
Commit
a2569e0c
authored
May 13, 2020
by
冷斌
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试
短信验证
parent
6067a267
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
apps/basic/Lib/Action/PassportAction.class.php
+5
-5
No files found.
apps/basic/Lib/Action/PassportAction.class.php
View file @
a2569e0c
...
@@ -525,11 +525,11 @@ class PassportAction extends CommonAction
...
@@ -525,11 +525,11 @@ class PassportAction extends CommonAction
$nowtime
+=
60
;
$nowtime
+=
60
;
$_SESSION
[
'verifytime'
]
=
$nowtime
;
$_SESSION
[
'verifytime'
]
=
$nowtime
;
//
//验证码入库
//验证码入库
//
$map['phone'] = $phone;
$map
[
'phone'
]
=
$phone
;
//
$map['code'] = $rnum;
$map
[
'code'
]
=
$rnum
;
//
$map['stime'] = time();
$map
[
'stime'
]
=
time
();
//
M('ResphoneCode')->add($map);
M
(
'ResphoneCode'
)
->
add
(
$map
);
$this
->
mzSuccess
(
"发送成功,请注意查收!"
.
$rnum
);
$this
->
mzSuccess
(
"发送成功,请注意查收!"
.
$rnum
);
}
else
{
}
else
{
$this
->
mzError
(
'发送失败'
);
$this
->
mzError
(
'发送失败'
);
...
...
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