实名认证7.0

master
chenzhi 5 years ago
parent 94a7c4104c
commit 356af04937

@ -1021,9 +1021,7 @@ class UserController extends BaseController
if ($status == 0) {
$this->ajaxReturn(array('status' => 0, 'info' => '实名认证暂未开启!', 'url' => U('User/userauth')));
} else {
// $re = age_verify($_REQUEST['real_name'], $_REQUEST['idcard']);
$re =age($_REQUEST['real_name'], $_REQUEST['idcard']);
dump($re);die();
$re =age_verify($_REQUEST['idcard'],$_REQUEST['real_name']);
if ($re == 0) {
$this->ajaxReturn(array('status' => 0, 'info' => '审核失败!', 'url' => U('User/userauth')));
}

Loading…
Cancel
Save