更新
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user