|
|
@ -1016,8 +1016,8 @@ class UserController extends BaseController
|
|
|
|
// $this->ajaxReturn(array('status' => -1, 'info' => '身份证号码已被使用', 'url' => U('User/userauth')));
|
|
|
|
// $this->ajaxReturn(array('status' => -1, 'info' => '身份证号码已被使用', 'url' => U('User/userauth')));
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
$status = M("Tool","tab_")->field("status")->where("name = 'tool_age'")->find()['status'];
|
|
|
|
if (C('tool_age.status') == 0) {
|
|
|
|
if ($status == 0) {
|
|
|
|
$this->ajaxReturn(array('status' => 0, 'info' => '实名认证暂未开启!', 'url' => U('User/userauth')));
|
|
|
|
$this->ajaxReturn(array('status' => 0, 'info' => '实名认证暂未开启!', 'url' => U('User/userauth')));
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
$re = age_verify($_REQUEST['real_name'], $_REQUEST['idcard']);
|
|
|
|
$re = age_verify($_REQUEST['real_name'], $_REQUEST['idcard']);
|
|
|
|