Commit 1dd4d26e0b2d067227ca40de9756f97378855720

Authored by zhangqijia
1 parent b98b5a9e

feat: 增加 终止派遣协议;快速派遣协议;

Showing 2 changed files with 21 additions and 0 deletions   Show diff stats
dispatch.proto
... ... @@ -27,3 +27,22 @@ message DispatchRewardRsp {
27 27 string success_reward = 1;
28 28 string dispatch_reward = 2;
29 29 }
  30 +
  31 +message DispatchEndReq {
  32 + string id = 1;
  33 + int32 dispatch_id = 2;
  34 +}
  35 +
  36 +message DispatchEndRsp {
  37 + models.Dispatch dispatch = 1;
  38 +}
  39 +
  40 +message DispatchQuickReq {
  41 + string id = 1;
  42 + int32 dispatch_id = 2;
  43 +}
  44 +
  45 +message DispatchQuickRsp {
  46 + string success_reward = 1;
  47 + string dispatch_reward = 2;
  48 +}
... ...
protocode.proto
... ... @@ -63,6 +63,8 @@ enum ProtoCode
63 63  
64 64 DispatchRpc = 801;
65 65 DispatchRewardRpc = 802;
  66 + DispatchEndRpc = 803;
  67 + DispatchQuickRpc = 804;
66 68  
67 69  
68 70 DisConnectNty = 1001;
... ...