Commit a2569e0c by 冷斌

测试

短信验证
parent 6067a267
...@@ -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('发送失败');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment