bxbuyerserver.go 617 B

1234567891011121314151617181920212223242526272829
  1. // Code generated by goctl. DO NOT EDIT!
  2. // Source: bxbuyer.proto
  3. package server
  4. import (
  5. "context"
  6. "jyBXBuyer/rpc/internal/logic"
  7. "jyBXBuyer/rpc/internal/svc"
  8. "jyBXBuyer/rpc/type/bxbuyer"
  9. )
  10. type BxbuyerServer struct {
  11. svcCtx *svc.ServiceContext
  12. bxbuyer.UnimplementedBxbuyerServer
  13. }
  14. func NewBxbuyerServer(svcCtx *svc.ServiceContext) *BxbuyerServer {
  15. return &BxbuyerServer{
  16. svcCtx: svcCtx,
  17. }
  18. }
  19. // 采购单位搜索
  20. func (s *BxbuyerServer) BuyerList(ctx context.Context, in *bxbuyer.BuyerListReq) (*bxbuyer.BuyerListResp, error) {
  21. l := logic.NewBuyerListLogic(ctx, s.svcCtx)
  22. return l.BuyerList(in)
  23. }