|
@@ -181,8 +181,8 @@ public class WorkOfflineListener implements ChannelAwareMessageListener {
|
|
String zipName=workEntity.getId()+"_offline.zip";
|
|
String zipName=workEntity.getId()+"_offline.zip";
|
|
|
|
|
|
String zipCmd = CmdConstant.ZIP_OFFLINE;
|
|
String zipCmd = CmdConstant.ZIP_OFFLINE;
|
|
- zipCmd = zipCmd.replace("@target", param.getPath());
|
|
|
|
- zipCmd = zipCmd.replace("@path", zipName);
|
|
|
|
|
|
+ zipCmd = zipCmd.replace("@path", param.getPath());
|
|
|
|
+ zipCmd = zipCmd.replace("@target", zipName);
|
|
CmdUtils.callLineSh(zipCmd);
|
|
CmdUtils.callLineSh(zipCmd);
|
|
|
|
|
|
log.info("开始将文件上传OSS");
|
|
log.info("开始将文件上传OSS");
|