22 lines
457 B
Go
22 lines
457 B
Go
// Code generated by protoc-gen-slc. DO NOT EDIT.
|
|
package server
|
|
|
|
import (
|
|
"context"
|
|
"bsm/full/module/base/ads/internal/logic/fetch"
|
|
pb "bsm/full/module/base/ads/pb"
|
|
)
|
|
|
|
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)
|
|
}
|