1.提交缺失的东西

This commit is contained in:
2025-08-08 16:02:44 +08:00
parent c64939c7af
commit be368ad106
3 changed files with 18 additions and 9 deletions

View File

@ -53,7 +53,7 @@ class UserServer
$unionid = $response['unionid'] ?? '';
$avatar_url = $response['headimgurl'] ?? '';
$nickname = $response['nickname'] ?? '';
$mobile = $response['mobile'] ?? '';
Db::startTrans();
// 获取存储引擎
@ -84,6 +84,8 @@ class UserServer
'sn' => create_user_sn(),
'avatar' => $avatar,
'create_time' => $time,
'mobile' => $mobile,
'account' => $mobile,
'distribution_code' => generate_invite_code(),//分销邀请码
'is_distribution' => DistributionLogic::isDistributionMember(),
// 微信新用户