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