This commit is contained in:
wyf
2025-05-23 14:51:09 +08:00
parent 8a418c9c98
commit c650bad8b1
36 changed files with 1297 additions and 892 deletions

View File

@@ -220,7 +220,7 @@ getDeviceWifiStatus(THapp tHapp, int times) async {
}
}
Future<String> getDeviceNetVersion(THapp tHapp, int times) async {
Future<String> getDeviceNetVersion(THapp tHapp, int times) async {
edm.EasyDartModule.logger.info("发送请求设备的网络信息");
DailyLogUtils.writeLog("发送请求设备的网络信息");
print("ls /root/mnt");
@@ -237,6 +237,8 @@ getDeviceWifiStatus(THapp tHapp, int times) async {
netType = "wifi";
} else if (log.contains("a76xx.json")) {
netType = "4g";
} else {
netType = "unknown";
}
ss.over = true;
ss.result = netType;