|
@@ -91,7 +91,10 @@ public class AppFileServiceImpl extends ServiceImpl<IAppFileMapper, AppFile> imp
|
|
for (String key : strings) {
|
|
for (String key : strings) {
|
|
String agent = key.replace(FilePath.appOssPath,"");
|
|
String agent = key.replace(FilePath.appOssPath,"");
|
|
String[] split = agent.split("/");
|
|
String[] split = agent.split("/");
|
|
- keys.add(split[0]);
|
|
|
|
|
|
+ String res = split[0];
|
|
|
|
+ if(StringUtils.isNotBlank(res)){
|
|
|
|
+ keys.add(res);
|
|
|
|
+ }
|
|
}
|
|
}
|
|
return keys;
|
|
return keys;
|
|
}
|
|
}
|