From 5f13ac9a05214ed6d5c5fad5ba1176a7822d3e37 Mon Sep 17 00:00:00 2001 From: dorlolo <428192774@qq.com> Date: Thu, 16 Mar 2023 11:13:25 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E8=B0=83=E8=AF=95=E4=BF=A1?= =?UTF-8?q?=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cmd/internal/controller/artistInfo_user.go | 1 + cmd/internal/dao/artistInfo_user.go | 1 + 2 files changed, 2 insertions(+) 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")