diff --git a/Application/Mobile/Controller/UserController.class.php b/Application/Mobile/Controller/UserController.class.php index bf3932442..9287e9160 100644 --- a/Application/Mobile/Controller/UserController.class.php +++ b/Application/Mobile/Controller/UserController.class.php @@ -1023,7 +1023,8 @@ class UserController extends BaseController } else { //PC_REAL_NAME_REGISTER $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']); if ($re == 0) { $this->ajaxReturn(array('status' => 0, 'info' => '审核失败!', 'url' => U('User/userauth')));