HDL_ON/UI/UI2/UserPage.cs
@@ -2,6 +2,7 @@ using HDL_ON.Entity; using Shared; using HDL_ON.UI.CSS; using HDL_ON.DAL.Server; namespace HDL_ON.UI { @@ -128,8 +129,9 @@ ContextView.AddChidren(homePage); homePage.LoadPage(); //刷新功能状态 DB_ResidenceData.residenceData.RefreshResidenceFunctionStatus(); //注册推送ID RegisteredPush(); } catch (Exception ex) { @@ -652,5 +654,13 @@ ContextView.AddChidren(personalCenterPage); personalCenterPage.LoadView(); } /// <summary> /// 注册推送 /// </summary> void RegisteredPush() { new HttpServerRequest().RegisteredPush(); } } }