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