safe.proto 624 B

12345678910111213141516171819202122232425262728
  1. syntax = "proto3";
  2. package proto;
  3. // The greeting service definition.
  4. service Safe {
  5. // Sends a greeting
  6. rpc getSafeList (SafeGetRequest) returns (SafeReply) {}
  7. rpc postSafe (SafePostRequest) returns (SafeReply) {}
  8. }
  9. // The request message containing the user's name.
  10. message SafeGetRequest {
  11. int32 id = 1;
  12. }
  13. message SafePostRequest {
  14. int32 bidsection_id = 1;
  15. string code = 2;
  16. string position = 3;
  17. string create_time = 4;
  18. string inspection = 5;
  19. }
  20. // The response message containing the greetings
  21. message SafeReply {
  22. int32 code = 1;
  23. string data = 2;
  24. string msg = 3;
  25. }