20251124修复App质检不拉取多媒体BUG
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user