diff --git a/Application/Mobile/Controller/UserController.class.php b/Application/Mobile/Controller/UserController.class.php index 98dfee58b..bf3932442 100644 --- a/Application/Mobile/Controller/UserController.class.php +++ b/Application/Mobile/Controller/UserController.class.php @@ -1022,7 +1022,7 @@ class UserController extends BaseController $this->ajaxReturn(array('status' => 0, 'info' => '实名认证暂未开启!', 'url' => U('User/userauth'))); } else { //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){ $re =age_verify($_REQUEST['idcard'],$_REQUEST['real_name']); if ($re == 0) {