Commit f65f0e84 by 冷斌

测试

短信验证
parent e5a7ad60
...@@ -543,8 +543,6 @@ class PassportAction extends CommonAction ...@@ -543,8 +543,6 @@ 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 {
...@@ -567,6 +565,10 @@ class PassportAction extends CommonAction ...@@ -567,6 +565,10 @@ class PassportAction extends CommonAction
$profession = t($_POST['profession']); $profession = t($_POST['profession']);
$intro = t($_POST['intro']); $intro = t($_POST['intro']);
$interest = intval($_POST['interest']); $interest = intval($_POST['interest']);
var_dump($_POST['verify'], $_SESSION['phoneverify']);
die;
if ($this->open_school) { if ($this->open_school) {
//获取默认机构 //获取默认机构
$default_school = D('School', 'school')->getDefaultSchol('id'); $default_school = D('School', 'school')->getDefaultSchol('id');
......
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