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