|
@@ -16,7 +16,9 @@ namespace ET
|
|
a2CLoginAccount = (A2C_LoginAccount)await accountSession.Call(new C2A_LoginTest()
|
|
a2CLoginAccount = (A2C_LoginAccount)await accountSession.Call(new C2A_LoginTest()
|
|
{
|
|
{
|
|
Account = account,
|
|
Account = account,
|
|
- Version = GameConst.SERVER_VERSION
|
|
|
|
|
|
+ Version = GameConst.SERVER_VERSION,
|
|
|
|
+ PlatformId = LauncherConfig.platformId,
|
|
|
|
+ ChannelId = LauncherConfig.ChannelId
|
|
});
|
|
});
|
|
}
|
|
}
|
|
catch (Exception e)
|
|
catch (Exception e)
|
|
@@ -98,7 +100,15 @@ namespace ET
|
|
//ÃÜÂë½ûÖ¹Ã÷ÎÄ´«Êä
|
|
//ÃÜÂë½ûÖ¹Ã÷ÎÄ´«Êä
|
|
var passwordMD5 = MD5Helper.stringMD5(password);
|
|
var passwordMD5 = MD5Helper.stringMD5(password);
|
|
r2C_Register = (A2C_Register)await session.Call(new C2A_Register()
|
|
r2C_Register = (A2C_Register)await session.Call(new C2A_Register()
|
|
- { Account = account, Password = passwordMD5, Name = name, IdentityNum = identityNum, Code = code });
|
|
|
|
|
|
+ {
|
|
|
|
+ Account = account,
|
|
|
|
+ Password = passwordMD5,
|
|
|
|
+ Name = name,
|
|
|
|
+ IdentityNum = identityNum,
|
|
|
|
+ Code = code,
|
|
|
|
+ PlatformId = LauncherConfig.platformId,
|
|
|
|
+ ChannelId = LauncherConfig.ChannelId
|
|
|
|
+ });
|
|
if (r2C_Register.Error != ErrorCode.ERR_Success)
|
|
if (r2C_Register.Error != ErrorCode.ERR_Success)
|
|
{
|
|
{
|
|
return r2C_Register.Error;
|
|
return r2C_Register.Error;
|