实名认证9.0

master
chenzhi 5 years ago
parent 7cbec414db
commit 65f71b7a33

@ -1022,7 +1022,7 @@ class UserController extends BaseController
$this->ajaxReturn(array('status' => 0, 'info' => '实名认证暂未开启!', 'url' => U('User/userauth'))); $this->ajaxReturn(array('status' => 0, 'info' => '实名认证暂未开启!', 'url' => U('User/userauth')));
} else { } else {
//PC_REAL_NAME_REGISTER //PC_REAL_NAME_REGISTER
$ages = M("Config")->where("name = 'PC_REAL_NAME_REGISTER'")->field("status")->find()['status']; $ages = M("Config")->where("name = 'PC_REAL_NAME_REGISTER'")->field("value")->find()['value'];
if($ages == 1){ if($ages == 1){
$re =age_verify($_REQUEST['idcard'],$_REQUEST['real_name']); $re =age_verify($_REQUEST['idcard'],$_REQUEST['real_name']);
if ($re == 0) { if ($re == 0) {

Loading…
Cancel
Save