diff --git a/dispatch.proto b/dispatch.proto index b42d633..8ea4860 100644 --- a/dispatch.proto +++ b/dispatch.proto @@ -27,3 +27,22 @@ message DispatchRewardRsp { string success_reward = 1; string dispatch_reward = 2; } + +message DispatchEndReq { + string id = 1; + int32 dispatch_id = 2; +} + +message DispatchEndRsp { + models.Dispatch dispatch = 1; +} + +message DispatchQuickReq { + string id = 1; + int32 dispatch_id = 2; +} + +message DispatchQuickRsp { + string success_reward = 1; + string dispatch_reward = 2; +} diff --git a/protocode.proto b/protocode.proto index 50f0547..23bdef0 100644 --- a/protocode.proto +++ b/protocode.proto @@ -63,6 +63,8 @@ enum ProtoCode DispatchRpc = 801; DispatchRewardRpc = 802; + DispatchEndRpc = 803; + DispatchQuickRpc = 804; DisConnectNty = 1001; -- libgit2 0.21.2