| | |
| | | //绑定第三方
|
| | | await BindAuthUser(Config.Instance.Guid, OpenID);
|
| | | }
|
| | | var homes = await House.GetHomeLists();
|
| | | var homes = await HdlResidenceLogic.Current.GetHomeListsFromDb();
|
| | |
|
| | | //刷新个人中心的内存及线程
|
| | | await UserCenterLogic.InitUserCenterMenmoryAndThread();
|
| | |
| | | this.RemoveFromParent();
|
| | | CommonPage.Instance.RemoveViewByTag("Register");
|
| | | CommonPage.Instance.RemoveViewByTag("Login");
|
| | | UserPage.Instance.Fresh();
|
| | | UserPage.Instance.ReFreshControl();
|
| | | });
|
| | | }
|
| | | else
|
| | |
| | | //未登录成功弹出登录界面 同时需要标记为未登录状态
|
| | | Config.Instance.LoginDateTime = new DateTime(1970, 1, 1);
|
| | | Config.Instance.Save();
|
| | | var login = new AccountLogin();
|
| | | var login = new AccountLoginForm();
|
| | | CommonPage.Instance.AddChidren(login);
|
| | | login.ShowForm(account);
|
| | | });
|