From 76bd87638127a1e29b97c8092cba0406027e6596 Mon Sep 17 00:00:00 2001 From: jjxu <428192774@qq.com> Date: Thu, 30 Mar 2023 11:22:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=82=80=E8=AF=B7=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E6=9F=A5=E8=AF=A2=E7=9A=84=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cmd/internal/dao/artistInfo_user.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/internal/dao/artistInfo_user.go b/cmd/internal/dao/artistInfo_user.go index 5f305ce..a8d2a71 100644 --- a/cmd/internal/dao/artistInfo_user.go +++ b/cmd/internal/dao/artistInfo_user.go @@ -966,7 +966,7 @@ func GetInvitedUserList(in *artistInfoUser.GetInvitedUserListRequest) (res *arti Page: &artistInfoUser.UserCommonPageInfo{}, } var inviteRelationIds []int64 - db.DB.Model(model.Invite{}).Where("BINARY invite_code = ?", in.InviterCode).Pluck("user_id", &inviteRelationIds) + db.DB.Model(model.Invite{}).Where("BINARY invite_code = ?", in.InviterCode).Pluck("invited_id", &inviteRelationIds) var invitedList []model.User orm := db.DB.Model(model.User{}).Preload("RealNameInfo"). Joins("LEFT JOIN real_name rn ON rn.id = sys_user.real_name_id").