123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109 |
- syntax = "proto3";
- package bxbuyer;
- option go_package = "./bxbuyer";
- message BuyerListReq {
- string appId = 1;//剑鱼默认10000
- int64 pageNum = 2;//当前页码
- int64 pageSize = 3;//每页数量
- string buyerName = 4;//采购单位名称
- repeated string province = 5;//省份
- repeated string city = 6;//城市
- int64 sortRule = 7;//排序规则
- bool isCheckFollow = 8;//是否查询关注信息(商机管理用户)
- bool isCheckReceive = 9;//是否查询已领取(商机管理用户)
- repeated string buyerClass = 10;//采购单位类型
- string userId = 11;
- string userType = 12;//用户状态 fType:免费用户 pType:付费用户 vType:超级订阅用户 mType:大会员用户 eType:商机管理用户
- string platform = 13;//请求平台
- string entId = 14;//企业id
- string entUserId = 15;//商机管理用户id
- string pageSource = 16;// 来源 search-搜索 index-首页
- int64 isContact = 17;// 是否有联系人:0-全部; 1-有 ;2-无
- }
- message BuyerListResp {
- int64 err_code = 1;
- string err_msg = 2;
- BuyerData data = 3;
- }
- message BuyerData {
- int64 count = 1;
- repeated BuyerList list = 2;
- }
- message BuyerList {
- string buyer = 1;//采购单位名称
- string province = 2;//省份
- string city = 3;//城市
- bool isFollowed = 4;//是否关注
- bool isReceived = 5;//是否已领取
- string recId = 6;//领取id
- string buyerClass = 7;// 采购单位类型
- int64 biddingCount = 8;// 招标动态数量
- int64 contactCount = 9;// 历史联系人数量
- int64 projectCount = 10;// 采购项目数量
- float bidAmountCount = 11;// 采购规模
- string seo_id =12; //seoid
- }
- message relatesInformationReq {
- int64 biddingCount = 1;
- int64 buyerCount=2;
- string buyer = 3;
- string area = 4;
- string city = 5;
- int64 positionId = 6; // 职位id
- int64 positionType =7;// 职位类型 0个人 1企业
- string phone = 8 ;// 手机号
- }
- //
- message relatesInformationResp{
- int64 err_code = 1;
- string err_msg = 2;
- relatesInformation data = 3;
- }
- message relatesInformation {
- repeated infoList buyerList =1;//采购单位信息
- repeated infoList biddingList = 2;//类似采购单位招标信息
- }
- //
- message infoList {
- string name =1;//采购单位名称||信息标题
- string id = 2;//信息类型id
- string publishTime = 3;
- }
- // 采购单位搜索获取补充信息
- message BuyerSupplyInfoReq{
- string appId = 1;//剑鱼默认10000
- int64 positionId = 2; // 职位id
- int64 positionType =3;// 职位类型 0个人 1企业
- string phone = 4 ;// 手机号
- repeated string buyers = 5;// 采购单位名称
- }
- message BuyerSupplyResp {
- int64 err_code = 1;
- string err_msg = 2;
- repeated SupplyData data = 3;
- }
- message SupplyData {
- int64 biddingCount = 1;// 招标动态数量
- int64 contactCount = 2;// 历史联系人数量
- int64 projectCount = 3;// 采购项目数量
- float bidAmountCount = 4;// 采购规模
- string buyer = 5;//采购单位名词
- }
- service Bxbuyer {
- //采购单位搜索
- rpc BuyerList(BuyerListReq) returns(BuyerListResp);
- // 采购单位搜索补充信息 招标动态数量 、历史联系人数量、项目数量、采购规模
- rpc BuyerSupplyInfo(BuyerSupplyInfoReq) returns(BuyerSupplyResp);
- //采购单位画像 关联信息
- rpc RelatesInfo(relatesInformationReq) returns(relatesInformationResp);
- }
|