From d6bbb010e7d314c20d39de24fbbd7fe49b79bc67 Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期三, 22 四月 2026 10:06:55 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.1.20:10010/r/Project_SG_scripts
---
Main/System/Debug/DebugLogin.cs | 19 +++++++++----------
1 files changed, 9 insertions(+), 10 deletions(-)
diff --git a/Main/System/Debug/DebugLogin.cs b/Main/System/Debug/DebugLogin.cs
index 0ffee1b..aec59ca 100644
--- a/Main/System/Debug/DebugLogin.cs
+++ b/Main/System/Debug/DebugLogin.cs
@@ -85,19 +85,18 @@
if (isToken.isOn)
{
- // var loginModel = ModelCenter.Instance.GetModel<LoginModel>();
- // LoginManager.Instance.sdkLoginResult = new SDKUtils.FP_LoginOk()
- // {
- // account = account.text,
- // token = password.text,
- // tokenExpire = "1519750743000",
- // phone = 0,
- // accountID = 1000
- // };
+ LoginManager.Instance.sdkLoginResult = new SDKUtils.FP_LoginOk()
+ {
+ account = account.text,
+ token = password.text,
+ tokenExpire = "1519750743000",
+ phone = 0,
+ accountID = 1000
+ };
LoginManager.Instance.sdkLogined = true;
var ip = ServerListCenter.Instance.currentServer.region_domain;
- var port = ServerListCenter.Instance.currentServer.login_port;
+ var port = ServerListCenter.Instance.currentServer.http_port;
var gamePort = ServerListCenter.Instance.currentServer.game_port;
if (!string.IsNullOrEmpty(serverId.text))
{
--
Gitblit v1.8.0