Commit 437bf624 by huangfusuper

资源拉取压缩

parent 8f3e39d4
...@@ -53,7 +53,7 @@ public class CommandAndScriptProcessingMachine implements ProcessingMachine { ...@@ -53,7 +53,7 @@ public class CommandAndScriptProcessingMachine implements ProcessingMachine {
paramAndPlaceholderDto = JSON.parseObject(param, ScriptParamAndPlaceholderDto.class); paramAndPlaceholderDto = JSON.parseObject(param, ScriptParamAndPlaceholderDto.class);
} }
//判断是否需要拉取文件服务器的文件,包含biz_file的条件下会对这个字段进行替换 //判断是否需要拉取文件服务器的文件,包含biz_file的条件下会对这个字段进行替换
if (command.contains(PlaceholderEnum.BIZ_SCRIPT_FILE.getName())) { if (StringUtils.isNoneBlank(scriptDto.getRemotePath())) {
//这里需要解压压缩包 然后将 //这里需要解压压缩包 然后将
String scriptDirPath = byteArrayToSource(scriptDto.getRemotePath()); String scriptDirPath = byteArrayToSource(scriptDto.getRemotePath());
log.debug("-----远程地址的文件被拉取到:[{}]------------",scriptDirPath); log.debug("-----远程地址的文件被拉取到:[{}]------------",scriptDirPath);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment