| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102 | syntax = "proto3";package api.partner;import "google/api/annotations.proto";//import "google/protobuf/struct.proto";import "google/protobuf/empty.proto";import "api/common/common.proto";import "api/statistics/statistics.proto";option go_package = "git.ikuban.com/server/pw-protobuf/api/partner;partner";option java_multiple_files = true;option java_package = "api.partner";service Partner {  // 获取接待员的个人信息  rpc GetPartnerInfo (google.protobuf.Empty) returns (PartnerInfo){    option (google.api.http) = {      post: "/api/partner/info",      body:"*"    };  };  // 获取接待员访问数详情  rpc GetPartnerLookNum (google.protobuf.Empty) returns (statistics.LookMessageReply){    option (google.api.http) = {      post: "/api/partner/look/num",      body:"*"    };  };  // 接待员发送验证码  rpc SendPhoneCode (common.SendPhoneCodeRequest) returns (google.protobuf.Empty){    option (google.api.http) = {      post: "/api/partner/code/send",      body:"*"    };  };  // 接待员验证验证码  rpc CheckPhoneCode (common.CheckPhoneCodeRequest) returns (google.protobuf.Empty){    option (google.api.http) = {      post: "/api/partner/code/check",      body:"*"    };  };  // 获取接待员的确认通过页面信息  rpc GetPartnerCircleInfo (common.PartnerIDParam) returns (common.AddFriendMessageInfo);  // 更新接待员的信息  rpc UpdatePartnerInformation (UpdatePartnerInformationRequest) returns (google.protobuf.Empty){    option (google.api.http) = {      post: "/api/partner/update/information",      body:"*"    };  };  rpc GetRandomPartnerInfo (GetRandomPartnerRequest) returns (RandomPartnerInfo);  // 接待员获取主页信息  rpc PartnerGetHomeInfo (common.PersonParam) returns (common.HomeInfo){    option (google.api.http) = {      post: "/api/partner/home",      body:"*"    };  };  // 查看看过我的列表  rpc FindLookList (common.ListPageRequest) returns (statistics.LookAndLikeListReply){    option (google.api.http) = {      post: "/api/partner/list/look",      body:"*"    };  };  // 通过接待员IDs查看接待员信息列表  rpc FindPartnerDBList (common.PersonIDList) returns (common.PersonDBReply);}message UpdatePartnerInformationRequest {  string Nickname = 1; // 昵称  string avatarUrl = 2;// 头像  int64 sex = 3; // 性别}message PartnerInfo{  string id = 1; // id  string nickname = 2;// 昵称  string avatarUrl =3;// 头像链接  int64 age = 4;// 年龄  int64 sex = 5;// 性别  int64 lookNum = 6;// 看过我  int64 lookUnreadNum = 7;// 看过我的未读数  int64 level = 8;// 等级  int64 balance = 9;// 可提现余额  int64 todayProfit = 10;// 进入收益  int64 todayReceptionNum = 11;// 今日接待人数  string reversionRate = 12;// 五分钟的回复率}message RandomPartnerInfo{  string id = 1; // id  string nickname = 2;// 昵称  string avatarUrl =3;// 头像链接  int64 sex = 4;// 性别}message GetRandomPartnerRequest{  int64 sex = 1;// 性别}
 |