Commit a2569e0c by 冷斌

测试

短信验证
parent 6067a267
......@@ -525,11 +525,11 @@ class PassportAction extends CommonAction
$nowtime += 60;
$_SESSION['verifytime'] = $nowtime;
// //验证码入库
// $map['phone'] = $phone;
// $map['code'] = $rnum;
// $map['stime'] = time();
// M('ResphoneCode')->add($map);
//验证码入库
$map['phone'] = $phone;
$map['code'] = $rnum;
$map['stime'] = time();
M('ResphoneCode')->add($map);
$this->mzSuccess("发送成功,请注意查收!" . $rnum);
} else {
$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