身份认证代码修正

master
zhengyongxing 5 years ago
parent dfc48a0d1b
commit 0a4a571485

@ -1225,11 +1225,11 @@ function age_verify($cardno, $name, $user_id = '')
M('idcard_log', 'tab_')->data($arr)->add();
return 0;
} elseif(isset($date['error_code']) && $date['error_code'] == 210304){
} elseif(isset($date['error_code']) && $date['error_code'] != 0){
$arr['status'] = 0;
M('idcard_log', 'tab_')->data($arr)->add();
return 3;
return 0;
} else {
$arr['status'] = -1;
M('idcard_log', 'tab_')->data($arr)->add();

Loading…
Cancel
Save