实名认证10.0

master
chenzhi 5 years ago
parent e20aae90d0
commit 473953daff

@ -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')));

Loading…
Cancel
Save