From dd8d2d68781fc1c2562cc37edc302e09ccec7ef1 Mon Sep 17 00:00:00 2001 From: hahwu <31872165+hahwu@users.noreply.github.com> Date: Tue, 27 May 2025 10:45:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=AF=86=E7=A0=81=E5=8D=8F?= =?UTF-8?q?=E8=AE=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- proto/Gameapi.proto | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/proto/Gameapi.proto b/proto/Gameapi.proto index e89c7e36..ed225ab6 100644 --- a/proto/Gameapi.proto +++ b/proto/Gameapi.proto @@ -239,6 +239,17 @@ message ResLogin{ string UserName = 3; string FaceBookId = 4; } + +message ReqChangePassword{ + string UserName = 1; + string OldPwd = 2; // -1表示不校验旧密码 + string NewPwd = 3; +} + +message ResChangePassword{ + int32 ResultCode = 1; +} + ///请求玩家基本信息(玩家登入成功后,第一条请求信息) message ReqPlayerBaseInfo{ int64 dwUin = 1;