20251124修复App质检不拉取多媒体BUG

This commit is contained in:
wxlong
2025-11-25 17:56:20 +08:00
parent 537fba0e06
commit 73760b7eb8

View File

@@ -137,8 +137,8 @@ public class StoreMediaFileUtil{
ZipFile zipfile = new ZipFile(destFileName);
for (String filePath : filePathList) {
File srcFile = new File(filePath);
File srcFile = new File(filePath.contains(CommonConstant.STATIC_RESOURCE_ROOT) ? filePath : mediaPath + filePath);
//File srcFile = new File(filePath);
if (!srcFile.exists()) {
System.err.println("⚠️ 文件或目录不存在,跳过:" + srcFile.getAbsolutePath());
continue;