This commit is contained in:
commie
2026-01-08 05:42:44 +08:00
parent 7439a4a794
commit c153975eed
1976 changed files with 776 additions and 133 deletions
Regular → Executable
+3 -3
View File
@@ -74,16 +74,16 @@ class Jwt
'score' => 0,
'avatar' => '',
];
$params = array_merge($data, [
$params = array_merge([
//'nickname' => preg_match("/^1[3-9]{1}\d{9}$/", $username) ? substr_replace($username, '****', 3, 4) : $username,
'nickname' => "wx_".Random::alnum(),
'nickname' => "sl_".strtolower(Random::alnum()),
//'salt' => Random::alnum(),
'join_time' => $time,
'join_ip' => $ip,
'last_time' => $time,
'last_ip' => $ip,
'status' => '1'
]);
],$data);
$region = Request()->post('region');
if($region){
$params['region'] = str_replace('+','',$region);