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 | 11 +++++++---- 1 files changed, 7 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 9d28b39..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,7 +16,9 @@ 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; import com.hdl.photovoltaic.other.HdlThreadLogic; import com.hdl.sdk.link.core.bean.eventbus.BaseEventBus; @@ -176,7 +178,8 @@ HdlLogLogic.print("鏀跺埌灏忕▼搴忛�氱煡,鍥炶皟浜嬩欢涓簄ull,鏃犳硶鍥炶皟浜嬩欢骞舵墽琛屼笟鍔¢�昏緫---event=" + event + "\r\n" + "data=" + data, true); //鏈夊彲鑳芥槸绯荤粺鍥炴敹鎺塧ctivity瀵艰嚧鍥炶皟涓簄ull锛岃繖鏍锋儏鍐典笅寮哄埗杩斿洖鐧诲綍鐣岄潰锛� //todo 闀挎椂闂存病鍝嶅簲灏嗛��鍑虹櫥褰曠晫闈㈤噸鏂扮櫥褰� - HDLLinkPMUser.getInstance().logout(0); +// HDLLinkPMUser.getInstance().logout(0); + HdlAccountLogic.getInstance().logout(LogoutType.AbnormalLogout); } } } @@ -332,7 +335,7 @@ @Override public void onInitFinished(boolean b) { - HdlLogLogic.print("UniMPSDK 鍒濆鍖栧畬鎴�----" + b,true); + HdlLogLogic.print("UniMPSDK 鍒濆鍖栧畬鎴�----" + b, true); } }); @@ -384,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