From 50ad482974a7e838d11360a84e9e8ff3f7974ab2 Mon Sep 17 00:00:00 2001
From: wxr <wxr@hdlchina.com.cn>
Date: 星期六, 12 十月 2024 09:34:01 +0800
Subject: [PATCH] 金茂问题修复

---
 HDL_ON/Common/HDLCommon.cs |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/HDL_ON/Common/HDLCommon.cs b/HDL_ON/Common/HDLCommon.cs
index 8b23ca2..ce6a03e 100644
--- a/HDL_ON/Common/HDLCommon.cs
+++ b/HDL_ON/Common/HDLCommon.cs
@@ -247,6 +247,10 @@
         {
             try
             {
+                if (OnAppConfig.Instance.LastLoginUserId == "")
+                {
+                    return;
+                }
                 //MainPage.Log($"鎺ユ敹鍒版帹閫侊紝锛岋紝锛�.{Newtonsoft.Json.JsonConvert.SerializeObject(jpushMessageInfo).ToString()}");
                 //Extras涓虹┖涓嶅鐞�
                 if (string.IsNullOrEmpty(jpushMessageInfo.Extras)) return;
@@ -575,7 +579,7 @@
                 Logout();
             }catch (Exception ex)
             {
-                MainPage.Log($"鎸や笅绾垮紓甯�:{ex.Message}");
+                MainPage.Log("Error",$"鎸や笅绾垮紓甯�:{ex.Message}");
             }
         }
 

--
Gitblit v1.8.0