From 1dd4d26e0b2d067227ca40de9756f97378855720 Mon Sep 17 00:00:00 2001 From: zqj <582132116@qq.com> Date: Mon, 27 Mar 2023 16:15:33 +0800 Subject: [PATCH] feat: 增加 终止派遣协议;快速派遣协议; --- dispatch.proto | 19 +++++++++++++++++++ protocode.proto | 2 ++ 2 files changed, 21 insertions(+), 0 deletions(-) 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