|
@@ -189,9 +189,9 @@ namespace GFGGame
|
|
|
GameGlobal.zoneScene.GetComponent<AccountInfoComponent>()?.Clear();
|
|
|
if (logout)
|
|
|
{
|
|
|
- Logout();
|
|
|
+ QDManager.Logout();
|
|
|
+ PlayerPrefs.DeleteKey(GameConst.PASSWORD_LAST_LOGIN_KEY);
|
|
|
}
|
|
|
- LoginController.OnLogout();
|
|
|
ViewManager.Hide<GuideView>();
|
|
|
ViewManager.Show<LoginView>(null, null, true);
|
|
|
}
|
|
@@ -206,13 +206,6 @@ namespace GFGGame
|
|
|
PoemGallerySProxy.ReqGalleryTheme().Coroutine();
|
|
|
}
|
|
|
|
|
|
- //注销
|
|
|
- private static void Logout()
|
|
|
- {
|
|
|
- QDManager.Logout();
|
|
|
- PlayerPrefs.DeleteKey(GameConst.PASSWORD_LAST_LOGIN_KEY);
|
|
|
- }
|
|
|
-
|
|
|
public static void GoBackToMainView()
|
|
|
{
|
|
|
MainDataManager.Instance.ViewType = 0;
|