12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- // Code generated by goctl. DO NOT EDIT!
- // Source: bxbuyer.proto
- package bxbuyer
- import (
- "context"
- "jyBXBuyer/rpc/type/bxbuyer"
- "github.com/zeromicro/go-zero/zrpc"
- "google.golang.org/grpc"
- )
- type (
- BuyerData = bxbuyer.BuyerData
- BuyerList = bxbuyer.BuyerList
- BuyerListReq = bxbuyer.BuyerListReq
- BuyerListResp = bxbuyer.BuyerListResp
- BuyerSupplyInfoReq = bxbuyer.BuyerSupplyInfoReq
- BuyerSupplyResp = bxbuyer.BuyerSupplyResp
- InfoList = bxbuyer.InfoList
- RelatesInformation = bxbuyer.RelatesInformation
- RelatesInformationReq = bxbuyer.RelatesInformationReq
- RelatesInformationResp = bxbuyer.RelatesInformationResp
- SupplyData = bxbuyer.SupplyData
- Bxbuyer interface {
- // 采购单位搜索
- BuyerList(ctx context.Context, in *BuyerListReq, opts ...grpc.CallOption) (*BuyerListResp, error)
- // 采购单位搜索补充信息 招标动态数量 、历史联系人数量、项目数量、采购规模
- BuyerSupplyInfo(ctx context.Context, in *BuyerSupplyInfoReq, opts ...grpc.CallOption) (*BuyerSupplyResp, error)
- // 采购单位画像 关联信息
- RelatesInfo(ctx context.Context, in *RelatesInformationReq, opts ...grpc.CallOption) (*RelatesInformationResp, error)
- }
- defaultBxbuyer struct {
- cli zrpc.Client
- }
- )
- func NewBxbuyer(cli zrpc.Client) Bxbuyer {
- return &defaultBxbuyer{
- cli: cli,
- }
- }
- // 采购单位搜索
- func (m *defaultBxbuyer) BuyerList(ctx context.Context, in *BuyerListReq, opts ...grpc.CallOption) (*BuyerListResp, error) {
- client := bxbuyer.NewBxbuyerClient(m.cli.Conn())
- return client.BuyerList(ctx, in, opts...)
- }
- // 采购单位搜索补充信息 招标动态数量 、历史联系人数量、项目数量、采购规模
- func (m *defaultBxbuyer) BuyerSupplyInfo(ctx context.Context, in *BuyerSupplyInfoReq, opts ...grpc.CallOption) (*BuyerSupplyResp, error) {
- client := bxbuyer.NewBxbuyerClient(m.cli.Conn())
- return client.BuyerSupplyInfo(ctx, in, opts...)
- }
- // 采购单位画像 关联信息
- func (m *defaultBxbuyer) RelatesInfo(ctx context.Context, in *RelatesInformationReq, opts ...grpc.CallOption) (*RelatesInformationResp, error) {
- client := bxbuyer.NewBxbuyerClient(m.cli.Conn())
- return client.RelatesInfo(ctx, in, opts...)
- }
|