登录就模拟实名
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user