|
|
@ -89,13 +89,8 @@ public class FocusPointMessageUploader extends AbstractSendDataToCloud { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
private void generatePath() { |
|
|
|
private void generatePath() { |
|
|
|
//文件夹名称的格式是: "FocusPoint" + 大版本号 + 小版本号 + randomUuid,均以下划线分隔
|
|
|
|
//文件夹名称是uuid.zip,版本信息已经在edition中体现了
|
|
|
|
StringBuilder sb = new StringBuilder(); |
|
|
|
String folderName = StableUtils.pathJoin(ProductConstants.getEnvHome(), String.valueOf(UUID.randomUUID())); |
|
|
|
sb.append(FOCUS_POINT).append(SEPARATOR). |
|
|
|
|
|
|
|
append(ProductConstants.MAIN_VERSION).append(SEPARATOR). |
|
|
|
|
|
|
|
append(ProductConstants.MINOR_VERSION).append(SEPARATOR). |
|
|
|
|
|
|
|
append(UUID.randomUUID()); |
|
|
|
|
|
|
|
String folderName = StableUtils.pathJoin(ProductConstants.getEnvHome(), sb.toString()); |
|
|
|
|
|
|
|
setFileEntityBuilder(new FileEntityBuilder(folderName)); |
|
|
|
setFileEntityBuilder(new FileEntityBuilder(folderName)); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|