diff --git a/cmd/internal/controller/artistInfo_user.go b/cmd/internal/controller/artistInfo_user.go index cb98d17..91dd69d 100644 --- a/cmd/internal/controller/artistInfo_user.go +++ b/cmd/internal/controller/artistInfo_user.go @@ -23,6 +23,7 @@ type ArtistInfoUserProvider struct { func (a *ArtistInfoUserProvider) GetInviteStaticList(ctx context.Context, request *artistInfoUser.GetInviteStaticListRequest) (*artistInfoUser.GetInviteStaticListResponse, error) { return a.artistInfoLogic.GetInviteStaticList(request) } + func (a *ArtistInfoUserProvider) GetInviterUserList(ctx context.Context, request *artistInfoUser.GetInviterUserListRequest) (*artistInfoUser.GetInvitedUserListResponse, error) { return a.artistInfoLogic.GetInviterUserList(request) } diff --git a/cmd/internal/dao/artistInfo_user.go b/cmd/internal/dao/artistInfo_user.go index c718506..5dd05d8 100644 --- a/cmd/internal/dao/artistInfo_user.go +++ b/cmd/internal/dao/artistInfo_user.go @@ -435,6 +435,7 @@ func GetUserMsg(req *artistInfoUser.GetUserMsgRequest) (rep *artistInfoUser.GetU } func FindUser(req *artistInfoUser.FindUserRequest) (rep *artistInfoUser.UserInfo, err error) { + fmt.Println("FindUser 11111111111") rep = &artistInfoUser.UserInfo{} var data = model.User{} var tx = db.DB.Model(model.User{}).Preload("RealNameInfo") //.Preload("InvitedBy.UserInfo.RealNameInfo")