From 65f71b7a3375b8ebd1d6fed82f50bd981d28f18c Mon Sep 17 00:00:00 2001 From: chenzhi Date: Mon, 2 Dec 2019 18:57:06 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=9E=E5=90=8D=E8=AE=A4=E8=AF=819.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Mobile/Controller/UserController.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {