From b5f348ec1381a8b05d00e585a3e156381f751d72 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期三, 09 十二月 2020 15:40:11 +0800
Subject: [PATCH] Merge branch 'WJC'

---
 HDL_ON/Common/HDLCommon.cs |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/HDL_ON/Common/HDLCommon.cs b/HDL_ON/Common/HDLCommon.cs
index 344e963..9eec670 100644
--- a/HDL_ON/Common/HDLCommon.cs
+++ b/HDL_ON/Common/HDLCommon.cs
@@ -245,10 +245,12 @@
         /// <param name="jpushMessageInfo"></param>
         public void AdjustPushMessage(JPushMessageInfo jpushMessageInfo)
         {
+#if DEBUG
+            return;
+#endif
             try
             {
-
-                if (jpushMessageInfo.Extras != null && jpushMessageInfo.Extras.Contains("Offline"))
+                if (jpushMessageInfo.Extras != null && jpushMessageInfo.Extras.Contains("OffLine"))
                 {
                     Shared.Application.RunOnMainThread(() =>
                     {
@@ -284,6 +286,9 @@
             return;
             try
             {
+                //鏈櫥褰曚笉鐢ㄥ鐞�
+                if (!UserInfo.Current.IsLogin) return;
+
                 Shared.Application.RunOnMainThread(() =>
                 {
                     #region 淇濆瓨鏈湴鏁版嵁鑷虫枃浠跺す

--
Gitblit v1.8.0