12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- syntax = "proto3";
- option go_package ="./pb";
- message MyDataAssetReq {
- string userId = 1;
- int64 newUserId = 2;
- int64 entUserId = 3;
- }
- message MyDataAssetResp {
- int64 error_code = 1;
- string error_msg = 2;
- MyDataAsset data = 3;
- }
- message MyDataAsset {
- int64 collect_info_count = 1;
- int64 follow_project_count = 2;
- int64 collect_doc_count = 3;
- int64 claim_customer_count = 4;
- int64 claim_nzj_count = 5;
- }
- message AddProjectReq {
- string info_id = 1; //信息id
- int64 source = 2; //1-收藏,2-招标搜索,3-关注
- int64 position_id = 3; //职位id
- int64 position_type = 4; //职位类型
- int64 account_id = 5; //账户id
- string company_name = 6;
- string user_name = 7;
- int64 userId = 8;
- int64 entId = 9;
- string entUserName = 10;
- }
- message AddProjectResp {
- int64 error_code = 1;
- string error_msg = 2;
- AddProject data = 3;
- }
- message AddProject {
- int64 status = 1;
- }
- message GetInfoIdResp {
- int64 error_code = 1;
- string error_msg = 2;
- repeated string data = 3;
- }
- message drawClueReq {
- int64 positionId = 1;
- int64 count = 2;
- }
- service BiService {
- rpc myDataAsset (MyDataAssetReq) returns (MyDataAssetResp); //我的数据资产
- rpc addProject (AddProjectReq) returns (AddProjectResp); //添加项目
- rpc getInfoId (AddProjectReq) returns (GetInfoIdResp); //获取添加过项目的信息id
- rpc drawClue (drawClueReq) returns (AddProjectResp); //领取线索
- }
|