diff --git a/route/invite_r/party_invite.go b/route/invite_r/party_invite.go index 24757892b72533492ef79524aa99fc7d8ed5324c..d3a8612efbbc1567a04fab79eeda91c45ffee665 100644 --- a/route/invite_r/party_invite.go +++ b/route/invite_r/party_invite.go @@ -96,7 +96,7 @@ func InviteApply(c *gin.Context) (*mycontext.MyContext, error) { return myCtx, bizerr.InviteApplyAlreadyInvited } // 被邀请人是否符合条件 - isInvite, err := promotion_m.IsPromotionInvitee(model, user.ID) + isInvite, err := promotion_m.IsPromotionInvitee(model, newUser.ID) if err != nil { model.Log.Errorf("InviteApply param:%v", param) return myCtx, err