1234567891011121314151617181920212223242526272829303132333435363738394041 |
- // 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
- Bxbuyer interface {
- // 采购单位搜索
- BuyerList(ctx context.Context, in *BuyerListReq, opts ...grpc.CallOption) (*BuyerListResp, 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...)
- }
|