From 62d77d3bb8e7215d9da9ecf6f5aeda0b69f805f8 Mon Sep 17 00:00:00 2001
From: wei <kaede@kaededeMacBook-Air.local>
Date: 星期二, 08 十二月 2020 18:57:15 +0800
Subject: [PATCH] 20201208

---
 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 3bacd32..7b335c1 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(() =>
                     {
@@ -282,6 +284,9 @@
         {
             try
             {
+                //鏈櫥褰曚笉鐢ㄥ鐞�
+                if (!UserInfo.Current.IsLogin) return;
+
                 Shared.Application.RunOnMainThread(() =>
                 {
                     #region 淇濆瓨鏈湴鏁版嵁鑷虫枃浠跺す

--
Gitblit v1.8.0