实名认证测试7.0

master
chenzhi 5 years ago
parent 21536d2ff3
commit 94a7c4104c

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

Loading…
Cancel
Save