From f52c6a80462514d8ad58b37668f61cdb611a2c21 Mon Sep 17 00:00:00 2001 From: wjc <1243177876@qq.com> Date: 星期四, 28 八月 2025 12:03:52 +0800 Subject: [PATCH] 2025年08月28日12:03:43 --- app/src/main/java/com/hdl/photovoltaic/uni/HDLUniMPSDKManager.java | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/app/src/main/java/com/hdl/photovoltaic/uni/HDLUniMPSDKManager.java b/app/src/main/java/com/hdl/photovoltaic/uni/HDLUniMPSDKManager.java index 9a111c7..e39f62a 100644 --- a/app/src/main/java/com/hdl/photovoltaic/uni/HDLUniMPSDKManager.java +++ b/app/src/main/java/com/hdl/photovoltaic/uni/HDLUniMPSDKManager.java @@ -16,6 +16,7 @@ import com.hdl.photovoltaic.R; import com.hdl.photovoltaic.config.AppConfigManage; import com.hdl.photovoltaic.config.UserConfigManage; +import com.hdl.photovoltaic.enums.LogoutType; import com.hdl.photovoltaic.enums.LowerTagType; import com.hdl.photovoltaic.other.HdlAccountLogic; import com.hdl.photovoltaic.other.HdlLogLogic; @@ -178,7 +179,7 @@ //鏈夊彲鑳芥槸绯荤粺鍥炴敹鎺塧ctivity瀵艰嚧鍥炶皟涓簄ull锛岃繖鏍锋儏鍐典笅寮哄埗杩斿洖鐧诲綍鐣岄潰锛� //todo 闀挎椂闂存病鍝嶅簲灏嗛��鍑虹櫥褰曠晫闈㈤噸鏂扮櫥褰� // HDLLinkPMUser.getInstance().logout(0); - HdlAccountLogic.getInstance().logout(); + HdlAccountLogic.getInstance().logout(LogoutType.AbnormalLogout); } } } @@ -334,7 +335,7 @@ @Override public void onInitFinished(boolean b) { - HdlLogLogic.print("UniMPSDK 鍒濆鍖栧畬鎴�----" + b,true); + HdlLogLogic.print("UniMPSDK 鍒濆鍖栧畬鎴�----" + b, true); } }); @@ -386,9 +387,9 @@ if (mUniMPCaches.containsKey(uniAppId)) { if (mUniMPCaches.get(uniAppId) != null) { mUniMPCaches.get(uniAppId).sendUniMPEvent(topic, data); -// HdlLogLogic.print("Android---閫氱煡---uni---涓婚:" + topic + "---鍙戦�佹暟鎹�:" + new Gson().toJson(data)); + HdlLogLogic.print("android---閫氱煡---uni---涓婚:" + topic + "---鍙戦�佹暟鎹�:" + new Gson().toJson(data)); } else { -// HdlLogLogic.print("Android---閫氱煡---uni---澶辫触---灏忕▼搴忓璞′负绌�:" + uniAppId); + HdlLogLogic.print("android---閫氱煡---uni---澶辫触---灏忕▼搴忓璞′负绌�:" + uniAppId); } } else { // HdlLogLogic.print("Android---閫氱煡---uni---澶辫触---卢灏忕▼搴忓璞′负绌�:" + uniAppId); -- Gitblit v1.8.0