SiteBlockMng.proto 733 B

123456789101112131415161718192021222324252627282930313233343536
  1. syntax = "proto3";
  2. package banned_service.v1;
  3. option go_package = "v1";
  4. import "github.com/gogo/protobuf/gogoproto/gogo.proto";
  5. service SiteBlockMng {
  6. /** 是否封禁
  7. * room-ex调用
  8. */
  9. rpc isBlockUser (SiteBlockMngIsBlockUserReq) returns (SiteBlockMngIsBlockUserResp);
  10. }
  11. message SiteBlockMngIsBlockUserReq {
  12. //
  13. int64 tuid = 1 [(gogoproto.jsontag) = "tuid"];
  14. }
  15. message SiteBlockMngIsBlockUserResp {
  16. // code
  17. int64 code = 1 [(gogoproto.jsontag) = "code"];
  18. // msg
  19. string msg = 2 [(gogoproto.jsontag) = "msg"];
  20. //
  21. Data data = 3 [(gogoproto.jsontag) = "data"];
  22. message Data {
  23. //
  24. bool is_block = 1 [(gogoproto.jsontag) = "is_block"];
  25. }
  26. }