package logic import ( "context" "dcg/app/user_center/internal/svc" "dcg/app/user_center/pb" "github.com/zeromicro/go-zero/core/logx" ) type RankPvpLogic struct { ctx context.Context svcCtx *svc.ServiceContext logx.Logger } func NewRankPvpLogic(ctx context.Context, svcCtx *svc.ServiceContext) *RankPvpLogic { return &RankPvpLogic{ ctx: ctx, svcCtx: svcCtx, Logger: logx.WithContext(ctx), } } // rankPvp pvp排行 func (l *RankPvpLogic) RankPvp(in *pb.RankPvpReq) (*pb.RankPvpResp, error) { // todo: add your logic here and delete this line return &pb.RankPvpResp{}, nil }