...
|
...
|
@@ -156,18 +156,18 @@ class RegisterController extends WebAction |
|
|
$data['message'] = '密码不正确';
|
|
|
break;
|
|
|
}
|
|
|
$effective_time = $this->getSession('effective_time');
|
|
|
if($effective_time < time() || empty($effective_time))
|
|
|
{
|
|
|
$data['message'] = '注册超时';
|
|
|
break;
|
|
|
}
|
|
|
/* 验证注册的标识码是否有效 */
|
|
|
$data = RegData::validMobileCode($area, $mobile, $code);
|
|
|
if (!isset($data['code']) || $data['code'] != 200) {
|
|
|
$data['message'] = '验证码错误';
|
|
|
break;
|
|
|
}
|
|
|
$effective_time = $this->getSession('effective_time');
|
|
|
if($effective_time < time() || empty($effective_time))
|
|
|
{
|
|
|
$data['message'] = '注册超时';
|
|
|
break;
|
|
|
}
|
|
|
/*手机注册*/
|
|
|
$data = RegData::regMobile($area, $mobile, $password);
|
|
|
if (!isset($data['code']) || $data['code'] != 200) {
|
...
|
...
|
|