|
|
@ -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) {
|
|
|
|