1.4.0117 YX-T01不显示小程序二维码

This commit is contained in:
2024-01-18 19:40:51 +08:00
parent 913270821c
commit 6d8e4509f0
17 changed files with 275 additions and 175 deletions

View File

@@ -1188,11 +1188,15 @@ public class Utils {
String fileName = getFileNamefromURL(url);
String urlMD5 = "";
if (jsonObject.get("MD5") == null) {
if (jsonObject.get("app_md5") != null)
if (jsonObject.get("app_md5") != null) {
urlMD5 = jsonObject.get("app_md5").getAsString();
}
} else {
if (jsonObject.get("MD5") != null)
urlMD5 = jsonObject.get("MD5").getAsString();
if (jsonObject.get("MD5") != null) {
if (!jsonObject.get("MD5").isJsonNull()) {
urlMD5 = jsonObject.get("MD5").getAsString();
}
}
}
Log.e("ariaDownload", "urlMD5=" + urlMD5);
String p = JGYUtils.getInstance().getDownLoadPath();