mirror of
https://github.com/Campofinale/CampofinaleBackup.git
synced 2025-12-15 22:54:36 +00:00
i hope some fix
This commit is contained in:
parent
482197b5fe
commit
62df1581a9
@ -140,7 +140,7 @@ namespace Campofinale.Http
|
||||
if (account != null)
|
||||
{
|
||||
|
||||
resp = "{\"data\": { \"uid\": \"" + account.id + "\", \"code\": \"" + account.grantToken + "\" }, \"msg\": \"OK\", \"status\": 0, \"type\": \"A\"}";
|
||||
resp = "{\"data\": { \"token\": \"" + account.token + "\", \"uid\": \"" + account.id + "\", \"code\": \"" + account.grantToken + "\" }, \"msg\": \"OK\", \"status\": 0, \"type\": \"A\"}";
|
||||
}
|
||||
|
||||
ctx.Response.StatusCode = 200;
|
||||
|
||||
@ -57,7 +57,7 @@ namespace Campofinale.Packets.Cs
|
||||
// rsp.ServerPublicKey = ByteString.CopyFrom(encryptedEncKey);
|
||||
|
||||
CSChaCha20 cipher = new CSChaCha20(encKey, serverEncrypNonce, 1);
|
||||
if (req.ClientVersion == GameConstants.GAME_VERSION)
|
||||
if (req.ClientVersion == GameConstants.GAME_VERSION || req.ClientVersion == GameConstants.GAME_VERSION_ANDROID)
|
||||
{
|
||||
if (account == null)
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user