12345678910111213141516171819202122232425262728 |
- syntax = "proto3";
- package proto;
- // The greeting service definition.
- service Safe {
- // Sends a greeting
- rpc getSafeList (SafeGetRequest) returns (SafeReply) {}
- rpc postSafe (SafePostRequest) returns (SafeReply) {}
- }
- // The request message containing the user's name.
- message SafeGetRequest {
- int32 id = 1;
- }
- message SafePostRequest {
- int32 bidsection_id = 1;
- string code = 2;
- string position = 3;
- string create_time = 4;
- string inspection = 5;
- }
- // The response message containing the greetings
- message SafeReply {
- int32 code = 1;
- string data = 2;
- string msg = 3;
- }
|