package logic import ( "context" "dcg/app/user_center/internal/svc" "dcg/app/user_center/pb" "github.com/zeromicro/go-zero/core/logx" ) type UserRankPvpLogic struct { ctx context.Context svcCtx *svc.ServiceContext logx.Logger } func NewUserRankPvpLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UserRankPvpLogic { return &UserRankPvpLogic{ ctx: ctx, svcCtx: svcCtx, Logger: logx.WithContext(ctx), } } func (l *UserRankPvpLogic) UserRankPvp(in *pb.UserRankReq) (*pb.UserRankResp, error) { // todo: add your logic here and delete this line return &pb.UserRankResp{}, nil }