TitleStuff.proto 740 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. syntax = "proto3";
  2. package rc.v1;
  3. option go_package = "v1";
  4. import "github.com/gogo/protobuf/gogoproto/gogo.proto";
  5. service TitleStuff {
  6. /** 添加头衔经验原石
  7. *
  8. */
  9. rpc add (TitleStuffAddReq) returns (TitleStuffAddResp);
  10. }
  11. message TitleStuffAddReq {
  12. // UID
  13. int64 uid = 1 [(gogoproto.jsontag) = "uid"];
  14. // 原石id
  15. int64 sid = 2 [(gogoproto.jsontag) = "sid"];
  16. // 原石数量
  17. int64 num = 3 [(gogoproto.jsontag) = "num"];
  18. }
  19. message TitleStuffAddResp {
  20. // code
  21. int64 code = 1 [(gogoproto.jsontag) = "code"];
  22. // msg
  23. string msg = 2 [(gogoproto.jsontag) = "msg"];
  24. //
  25. Data data = 3 [(gogoproto.jsontag) = "data"];
  26. message Data {
  27. }
  28. }