bxbuyerserver.go 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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. }
  24. // 采购单位搜索补充信息 招标动态数量 、历史联系人数量、项目数量、采购规模
  25. func (s *BxbuyerServer) BuyerSupplyInfo(ctx context.Context, in *bxbuyer.BuyerSupplyInfoReq) (*bxbuyer.BuyerSupplyResp, error) {
  26. l := logic.NewBuyerSupplyInfoLogic(ctx, s.svcCtx)
  27. return l.BuyerSupplyInfo(in)
  28. }
  29. // 采购单位画像 关联信息
  30. func (s *BxbuyerServer) RelatesInfo(ctx context.Context, in *bxbuyer.RelatesInformationReq) (*bxbuyer.RelatesInformationResp, error) {
  31. l := logic.NewRelatesInfoLogic(ctx, s.svcCtx)
  32. return l.RelatesInfo(in)
  33. }