diff --git a/app/api/service/passport/Login.php b/app/api/service/passport/Login.php index cd27cadb..1b16ed51 100644 --- a/app/api/service/passport/Login.php +++ b/app/api/service/passport/Login.php @@ -384,10 +384,10 @@ class Login extends BaseService } // 记录用户信息 $this->userInfo = $model; - // 记录推荐人关系 - $this->bindRelation($this->getUserId(), (int)$refereeId); //记录邀请关系 $this->bindInvite($this->getUserId(), (int)$refereeId); + // 记录推荐人关系 + $this->bindRelation($this->getUserId(), (int)$refereeId); } /**