12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- syntax = "proto3";
- package bxcore;
- option go_package="./bxcore";
- message SearchReq {
- string appId = 1;//剑鱼默认10000
- int64 pageNum = 2;//当前页码
- int64 pageSize = 3;//每页数量
- string keyWords = 4;//关键词
- string province = 5;//省份
- string city = 6;//城市
- string subtype = 7;//信息类型
- string publishTime = 8;//发布时间
- string selectType = 9;//搜索范围:标题;正文等
- string price = 10;//价格
- string industry = 11;//行业
- string buyerClass = 12;//采购单位类型
- string buyerTel = 13;//采购单位联系方式
- string winnerTel = 14;//中标单位联系方式
- string exclusionWords = 15;//排除词
- string fileExists = 16;//是否有附件
- string userId = 17;
- string entId = 18;
- string userType = 19;//用户状态 fType:免费用户 pType:付费用户 vType:超级订阅用户 mType:大会员用户 eType:商机管理用户
- }
- message SearchResp {
- int64 err_code = 1;
- string err_msg = 2;
- SearchData data = 3;
- }
- message SearchData {
- int64 count = 1;
- string keyWords = 2;
- int64 status = 3;
- repeated string historyKeys = 4;
- repeated SearchList list = 5;
- }
- message SearchList {
- string id = 1;
- string area = 2;
- string areaUrl = 3;
- string buyerClass = 4;
- string city = 5;
- string detail = 6;
- string industry = 7;
- string industryUrl = 8;
- int64 publishTime = 9;
- string subtype = 10;
- string subtypeUrl = 11;
- bool fileExists = 12;
- string title = 13;
- bool isCollected = 14;
- }
- service BxCore {
- //标讯搜索结果列表数据
- rpc GetSearchList(SearchReq) returns(SearchResp);
- }
|