From 12c6bbe1607fb515efff0927c8890889765cab12 Mon Sep 17 00:00:00 2001 From: liyi Date: Fri, 29 Nov 2024 14:18:22 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E8=B0=83=E6=95=B4=E6=96=B0=E7=9A=84?= =?UTF-8?q?=E4=B8=AD=E7=BB=A7=E5=8D=8F=E8=AE=AE=E4=B8=AD=E7=9A=84=E4=B8=8A?= =?UTF-8?q?=E6=8A=A5=E7=AD=BE=E5=90=8D=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/network/start_chart_api.dart | 11 +++++++++++ lib/talk/udp/udp_reciverData.dart | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/lib/network/start_chart_api.dart b/lib/network/start_chart_api.dart index 925ce779..e7851c5d 100644 --- a/lib/network/start_chart_api.dart +++ b/lib/network/start_chart_api.dart @@ -68,4 +68,15 @@ class StartChartApi extends BaseProvider { ); return response; } + + // 星图--解析对端信息 + Future analyzeInformationOtherEnd({ + required String peerId, + }) async { + final response = await get( + _startChartHost + analyzeInformationOtherEndURL.toUrl + '?id=$peerId', + isUnShowLoading: true, + isUserBaseUrl: false, + ); + } } diff --git a/lib/talk/udp/udp_reciverData.dart b/lib/talk/udp/udp_reciverData.dart index 5b99d14a..6dc9dd25 100755 --- a/lib/talk/udp/udp_reciverData.dart +++ b/lib/talk/udp/udp_reciverData.dart @@ -20,7 +20,7 @@ class CommandUDPReciverManager { if (dataSize < 4) { return; } - // AppLog.log('appReceiveUDPData:$data'); + AppLog.log('appReceiveUDPData:$data'); final Uint8List data1 = Uint8List.fromList(data); if (data1.length == 1) {