|
|
|
@ -330,7 +330,7 @@ class Login extends BaseService |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
// 推荐人ID |
|
|
|
|
$refereeId = (int)$data['refereeId'] ?? null; |
|
|
|
|
$refereeId = !empty($data['refereeId']) ?? null; |
|
|
|
|
// 用户不存在: 创建一个新用户 |
|
|
|
|
$this->createUser($data['mobile'], $data['isParty'], $data['partyData'], $refereeId); |
|
|
|
|
} |
|
|
|
|