1234567891011121314151617181920212223242526272829 |
- // Code generated by goctl. DO NOT EDIT!
- // Source: bxbuyer.proto
- package server
- import (
- "context"
- "jyBXBuyer/rpc/internal/logic"
- "jyBXBuyer/rpc/internal/svc"
- "jyBXBuyer/rpc/type/bxbuyer"
- )
- type BxbuyerServer struct {
- svcCtx *svc.ServiceContext
- bxbuyer.UnimplementedBxbuyerServer
- }
- func NewBxbuyerServer(svcCtx *svc.ServiceContext) *BxbuyerServer {
- return &BxbuyerServer{
- svcCtx: svcCtx,
- }
- }
- // 采购单位搜索
- func (s *BxbuyerServer) BuyerList(ctx context.Context, in *bxbuyer.BuyerListReq) (*bxbuyer.BuyerListResp, error) {
- l := logic.NewBuyerListLogic(ctx, s.svcCtx)
- return l.BuyerList(in)
- }
|