// Code generated by protoc-gen-slc. DO NOT EDIT.
package server

import (
	"bsm/full/module/base/ads/internal/logic/fetch"
	pb "bsm/full/module/base/ads/pb"
	"context"
)

type FetchServer struct {
	pb.UnimplementedFetchServer
}

func NewFetchServer() *FetchServer {
	return &FetchServer{}
}

// 通过广告位获取广告信息
func (s *FetchServer) ByPos(ctx context.Context, in *pb.ByPosRequest) (*pb.ByPosReply, error) {
	return fetch.ByPos(ctx, in)
}
