transform.proto 317 B

123456789101112131415161718192021
  1. syntax = "proto3";
  2. package transform;
  3. message UserRequest {
  4. string id = 1;
  5. string phone = 2;
  6. }
  7. message UserResponse {
  8. string id = 1;
  9. string phone = 2;
  10. string roles = 3;
  11. int64 status = 4;
  12. bool isJzMem = 5;
  13. bool isJzMk = 6;
  14. }
  15. service Transform {
  16. rpc GetUser(UserRequest) returns(UserResponse);
  17. }