12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- syntax = "proto3";
- // package声明符,用来防止不同的消息类型有命名冲突
- package v1;
- // 用于生成指定语言go的包名称
- option go_package = "adm-task/pb/v1";
- // The request message containing the user's name.
- message GetTaskBySourceCodeRequest {
- string source_code = 1;
- }
- // The response message containing the greetings
- message GetTaskBySourceCodeReply {
- repeated int32 task_list = 1;
- }
- message UpdateOfflineTaskRequest{
- int32 task_id = 1;
- int32 total = 2;
- int32 is_finish = 3;
- int32 finish_count = 4;
- }
- message UpdateOfflineTaskReply{
- }
- message CheckFormatRequest{
- string vin = 1;
- string plate_no=2;
- string plate_type=3;
- string idcert = 4;
- }
- message CheckFormatReply{
- string vin = 1;
- string plate_no=2;
- string plate_type=3;
- string idcert = 4;
- }
- message FieldCheckRequest{
- string content = 1;
- }
- message FieldCheckReply{
- }
|