23 lines
608 B
Protocol Buffer
23 lines
608 B
Protocol Buffer
syntax = "proto3";
|
|
package relation;
|
|
option go_package = "bsm/full/module/social/relation/pb;relation";
|
|
import "module/social/relation/proto/const.proto";
|
|
|
|
// relation-关系管理:匹配
|
|
service Match{
|
|
// 获取匹配列表
|
|
rpc Fetch(blocks.FetchRequest) returns (blocks.FetchRelationItemReply) {}
|
|
|
|
// 获取匹配详情
|
|
rpc Get(blocks.IdentRequest) returns (blocks.RelationItem) {}
|
|
|
|
// 执行通过,加为好友
|
|
rpc DoJoin(blocks.IdentRequest) returns (blocks.DataStatusReply) {}
|
|
|
|
// 执行忽略
|
|
rpc DoIgnore(blocks.IdentRequest) returns (blocks.DataStatusReply) {}
|
|
}
|
|
|
|
|
|
|