Commit 99152717 authored by 刘可心's avatar 刘可心

修改帮助文档存储位置

parent cfe549f7
...@@ -38,7 +38,7 @@ public class HelperService { ...@@ -38,7 +38,7 @@ public class HelperService {
String formerName = template.getName(); String formerName = template.getName();
int i = template.getName().lastIndexOf("."); int i = template.getName().lastIndexOf(".");
String ext = formerName.substring(i); String ext = formerName.substring(i);
String fileName = File.separator + "helper" + File.separator + UUID.randomUUID() + "." + ext; String fileName = File.separator + "upload/temp" + File.separator + UUID.randomUUID() + "." + ext;
/**LiuKexin 20210315 文件夹不存在创建 start */ /**LiuKexin 20210315 文件夹不存在创建 start */
File newFile = new File(PathKit.getWebRootPath() + fileName); File newFile = new File(PathKit.getWebRootPath() + fileName);
if (!newFile.getParentFile().exists()) { if (!newFile.getParentFile().exists()) {
......
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