wanghousheng 8 months ago
parent c2391a4097
commit 1a17477822
  1. 2
      app/api/service/passport/Login.php

@ -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);
}

Loading…
Cancel
Save