Commit e5a7ad60 by 冷斌

测试

短信验证
parent 9fc6a545
...@@ -543,6 +543,8 @@ class PassportAction extends CommonAction ...@@ -543,6 +543,8 @@ class PassportAction extends CommonAction
$verify = intval($_POST['verify']); $verify = intval($_POST['verify']);
$verphone = $_SESSION['getverphone']; //取得获取验证码的手机 $verphone = $_SESSION['getverphone']; //取得获取验证码的手机
$verifys = $_SESSION['phoneverify']; //取得验证码 $verifys = $_SESSION['phoneverify']; //取得验证码
var_dump($phone, $verphone, $verify, $verifys);
die;
if ($phone != $verphone || $verify != $verifys) { if ($phone != $verphone || $verify != $verifys) {
$this->mzError("验证码错误,请重试!"); $this->mzError("验证码错误,请重试!");
} else { } else {
......
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