guodong преди 2 години
родител
ревизия
9105f392ee
променени са 2 файла, в които са добавени 2 реда и са изтрити 9 реда
  1. 1 1
      GameClient/Assets/Game/HotUpdate/Platform/QDHYKBManager.cs
  2. 1 8
      GameClient/Assets/Game/HotUpdate/Views/Login/LoginView.cs

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Platform/QDHYKBManager.cs

@@ -91,7 +91,7 @@ namespace GFGGame
 
         public override void OnFailed(int code, string message)
         {
-            Log.Debug("HykbInitListenerProxy OnFailed" + message);
+            Log.Debug("HykbInitListenerProxy OnFailed code: " + code + " - message:" + message);
             EventAgent.DispatchEvent(ConstMessage.ON_PLATFORM_SDK_INITED, false);
         }
     }

+ 1 - 8
GameClient/Assets/Game/HotUpdate/Views/Login/LoginView.cs

@@ -143,14 +143,7 @@ namespace GFGGame
             var account = (string)context.data;
             if(!string.IsNullOrEmpty(account))
             {
-                if(QDManager.IsHYKB)
-                {
-                    Timers.inst.Add(1, 1, (a) => { LoginController.LoginTest(account).Coroutine(); });
-                }
-                else
-                {
-                    LoginController.LoginTest(account).Coroutine();
-                }
+                LoginController.LoginTest(account).Coroutine();
             }
             else
             {