|
|
@ -1021,7 +1021,9 @@ class UserController extends BaseController
|
|
|
|
if ($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']);
|
|
|
|
|
|
|
|
$re =age($_REQUEST['real_name'], $_REQUEST['idcard']);
|
|
|
|
|
|
|
|
dump($re);die();
|
|
|
|
if ($re == 0) {
|
|
|
|
if ($re == 0) {
|
|
|
|
$this->ajaxReturn(array('status' => 0, 'info' => '审核失败!', 'url' => U('User/userauth')));
|
|
|
|
$this->ajaxReturn(array('status' => 0, 'info' => '审核失败!', 'url' => U('User/userauth')));
|
|
|
|
}
|
|
|
|
}
|
|
|
|