|
|
|
@ -43,8 +43,8 @@ function pay_check($user_id) {
|
|
|
|
|
);
|
|
|
|
|
$idcard = M("user", "tab_")->where(array('id' => $user_id))->getField("idcard");
|
|
|
|
|
if (!$idcard) {
|
|
|
|
|
$ret['code'] = 1;
|
|
|
|
|
$ret['msg'] = '身份证不存在';
|
|
|
|
|
$ret['code'] = 0;
|
|
|
|
|
$ret['msg'] = '<div style="text-align:center;">未实名认证不可充值!</div><br/>请到“悬浮球->我的”进行实名认证';
|
|
|
|
|
return $ret;
|
|
|
|
|
}
|
|
|
|
|
if (is_adult($idcard, 18)) {
|
|
|
|
|