Merge branch 'xjjdev'
This commit is contained in:
commit
abad805a5e
@ -966,7 +966,7 @@ func GetInvitedUserList(in *artistInfoUser.GetInvitedUserListRequest) (res *arti
|
||||
Page: &artistInfoUser.UserCommonPageInfo{},
|
||||
}
|
||||
var inviteRelationIds []int64
|
||||
db.DB.Model(model.UserInvited{}).Where("BINARY invite_code = ?", in.InviterCode).Pluck("invited_user_id", &inviteRelationIds)
|
||||
db.DB.Model(model.Invite{}).Where("BINARY invite_code = ?", in.InviterCode).Pluck("user_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").
|
||||
|
Loading…
Reference in New Issue
Block a user