2026-08-09 10:43:45 +08:00
|
|
|
syntax = "proto3";
|
|
|
|
|
package relation;
|
2026-08-09 15:10:19 +08:00
|
|
|
option go_package = "bsm/full/module/social/relation/pb;relation";
|
2026-08-09 20:14:57 +08:00
|
|
|
import "module/social/relation/proto/const.proto";
|
2026-08-09 10:43:45 +08:00
|
|
|
|
|
|
|
|
// relation-关系管理:匹配
|
|
|
|
|
service Match{
|
|
|
|
|
// 获取匹配列表
|
2026-08-09 15:10:19 +08:00
|
|
|
rpc Fetch(blocks.FetchRequest) returns (blocks.FetchRelationItemReply) {}
|
2026-08-09 10:43:45 +08:00
|
|
|
|
|
|
|
|
// 获取匹配详情
|
2026-08-09 15:10:19 +08:00
|
|
|
rpc Get(blocks.IdentRequest) returns (blocks.RelationItem) {}
|
2026-08-09 10:43:45 +08:00
|
|
|
|
|
|
|
|
// 执行通过,加为好友
|
2026-08-09 15:10:19 +08:00
|
|
|
rpc DoJoin(blocks.IdentRequest) returns (blocks.DataStatusReply) {}
|
2026-08-09 10:43:45 +08:00
|
|
|
|
|
|
|
|
// 执行忽略
|
2026-08-09 15:10:19 +08:00
|
|
|
rpc DoIgnore(blocks.IdentRequest) returns (blocks.DataStatusReply) {}
|
2026-08-09 10:43:45 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|