1.提交缺失的东西
This commit is contained in:
@ -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(),
|
||||
// 微信新用户
|
||||
|
||||
Reference in New Issue
Block a user