package logic import ( "context" "dcg/app/user_center/internal/svc" "dcg/app/user_center/pb" "github.com/zeromicro/go-zero/core/logx" ) type GetUserDetailsLogic struct { ctx context.Context svcCtx *svc.ServiceContext logx.Logger } func NewGetUserDetailsLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetUserDetailsLogic { return &GetUserDetailsLogic{ ctx: ctx, svcCtx: svcCtx, Logger: logx.WithContext(ctx), } } // getUserDetails 获取用户详细信息 func (l *GetUserDetailsLogic) GetUserDetails(in *pb.UserIdReq) (*pb.UserDetailsResp, error) { // todo: add your logic here and delete this line return &pb.UserDetailsResp{}, nil }