登录就模拟实名

This commit is contained in:
2026-01-13 10:11:48 +08:00
parent 094221ab2b
commit 6c1cd57e6a

View File

@@ -73,10 +73,10 @@ class Login extends Model
//预测版块 上线前注释掉 ======👇======
//虚拟实名
$data_auth['mobile'] = $user_name;
$data_auth['realname'] = '游客'.$user_code;
$data_auth['real_name'] = '游客'.$user_code;
//随机生成后六位
$idcard_last = rand(100000,999999);
$data_auth['idcard'] = '110101199001'.$idcard_last;
$data_auth['card_id'] = '110101199001'.$idcard_last;
$data_auth['is_real'] = 1;
$res = db::name('user_auth')->insert($data_auth);