fix ads,passport

This commit is contained in:
2026-09-23 00:13:03 +08:00
parent b8ff9acc3d
commit 80b6c140fe
14 changed files with 575 additions and 3755 deletions

View File

@@ -1,8 +1,8 @@
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
// versions:
// - protoc-gen-go-grpc v1.6.2
// - protoc v7.35.1
// source: module/base/ads/proto/ads.proto
// - protoc v7.36.0
// source: ads.proto
package ads
@@ -28,7 +28,7 @@ const (
//
// 广告子系统
type FetchClient interface {
// 通过广告位获取广告信息
//通过广告位获取广告信息
ByPos(ctx context.Context, in *ByPosRequest, opts ...grpc.CallOption) (*ByPosReply, error)
}
@@ -51,16 +51,17 @@ func (c *fetchClient) ByPos(ctx context.Context, in *ByPosRequest, opts ...grpc.
}
// FetchServer is the server API for Fetch service.
// All implementations should embed UnimplementedFetchServer
// All implementations must embed UnimplementedFetchServer
// for forward compatibility.
//
// 广告子系统
type FetchServer interface {
// 通过广告位获取广告信息
//通过广告位获取广告信息
ByPos(context.Context, *ByPosRequest) (*ByPosReply, error)
mustEmbedUnimplementedFetchServer()
}
// UnimplementedFetchServer should be embedded to have
// UnimplementedFetchServer must be embedded to have
// forward compatible implementations.
//
// NOTE: this should be embedded by value instead of pointer to avoid a nil
@@ -70,7 +71,8 @@ type UnimplementedFetchServer struct{}
func (UnimplementedFetchServer) ByPos(context.Context, *ByPosRequest) (*ByPosReply, error) {
return nil, status.Error(codes.Unimplemented, "method ByPos not implemented")
}
func (UnimplementedFetchServer) testEmbeddedByValue() {}
func (UnimplementedFetchServer) mustEmbedUnimplementedFetchServer() {}
func (UnimplementedFetchServer) testEmbeddedByValue() {}
// UnsafeFetchServer may be embedded to opt out of forward compatibility for this service.
// Use of this interface is not recommended, as added methods to FetchServer will
@@ -121,5 +123,5 @@ var Fetch_ServiceDesc = grpc.ServiceDesc{
},
},
Streams: []grpc.StreamDesc{},
Metadata: "module/base/ads/proto/ads.proto",
Metadata: "ads.proto",
}