添加向后兼容协议
This commit is contained in:
parent
135150d0ab
commit
f9499dd070
@ -78,7 +78,11 @@ message MFFriendApply
|
|||||||
}
|
}
|
||||||
|
|
||||||
//登录好友服
|
//登录好友服
|
||||||
message CMLogin
|
message CMLoginCommonHead
|
||||||
|
{
|
||||||
|
optional int32 server_id = 1; //保留
|
||||||
|
}
|
||||||
|
message CMLoginOld
|
||||||
{
|
{
|
||||||
optional string account_id = 3; //账号id
|
optional string account_id = 3; //账号id
|
||||||
optional string session_id = 20; //sessionid
|
optional string session_id = 20; //sessionid
|
||||||
@ -86,6 +90,17 @@ message CMLogin
|
|||||||
optional string avatar_url = 5; //头像
|
optional string avatar_url = 5; //头像
|
||||||
optional int32 sex = 6; //性别
|
optional int32 sex = 6; //性别
|
||||||
}
|
}
|
||||||
|
message CMLogin
|
||||||
|
{
|
||||||
|
optional int32 server_id = 1; //保留(定死传1)
|
||||||
|
optional string reserved2 = 2; //保留
|
||||||
|
optional string account_id = 3; //账号id
|
||||||
|
optional string session_id = 20; //sessionid
|
||||||
|
optional string nickname = 4; //昵称
|
||||||
|
optional int32 proto_version = 5; //协议版本号Constant_e.ProtoVersion
|
||||||
|
optional int32 sex = 6; //性别
|
||||||
|
optional string avatar_url = 7; //头像
|
||||||
|
}
|
||||||
//登录回复
|
//登录回复
|
||||||
message SMLogin
|
message SMLogin
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user