refactor: reorganize modules and add Linux build tooling

This commit is contained in:
2026-08-09 12:41:08 +08:00
parent 86024fa81d
commit 5cc5fd92ed
1461 changed files with 4054 additions and 4724 deletions

View File

@@ -0,0 +1,21 @@
// 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)
}