From acc8caee31c4be90bd38d1af18136b0e84f6fe94 Mon Sep 17 00:00:00 2001 From: wxr <wxr@hdlchina.com.cn> Date: 星期五, 27 九月 2024 14:01:19 +0800 Subject: [PATCH] Merge branch 'feature/v2.7_迭代' into feature/V2.7_Google --- HDL_ON/Common/OnAppConfig.cs | 32 ++++++++++++++++++++++++++++++-- 1 files changed, 30 insertions(+), 2 deletions(-) diff --git a/HDL_ON/Common/OnAppConfig.cs b/HDL_ON/Common/OnAppConfig.cs index 884c037..6f75baa 100644 --- a/HDL_ON/Common/OnAppConfig.cs +++ b/HDL_ON/Common/OnAppConfig.cs @@ -65,9 +65,23 @@ return false; else { - //return (DateTime.Now - LastTime).TotalDays < 7; return true; } + } + } + + string pushSignStr; + /// <summary> + /// + /// </summary> + public string PushSignStr { + get + { + if (string.IsNullOrEmpty(pushSignStr)) + { + pushSignStr = DateTime.Now.Ticks.ToString(); + } + return pushSignStr; } } @@ -77,10 +91,24 @@ public List<UserAccount> UserList = new List<UserAccount>(); #region 鏈嶅姟鍣ㄦ暟鎹� + public string _RequestHttpsHost = "https://china.hdlcontrol.com"; /// <summary> /// 璐﹀彿娉ㄥ唽鏈嶅姟鍣ㄤ俊鎭� /// </summary> - public string RequestHttpsHost = "https://china.hdlcontrol.com"; + public string RequestHttpsHost { + get + { + return _RequestHttpsHost; + } + set + { +#if __IOS__ + var sdm = new SiriKit.SceneDateManager(); + sdm.GlobalRequestHttpsHost = value; +#endif + _RequestHttpsHost = value; + } + } /// <summary> /// /// </summary> -- Gitblit v1.8.0