提交 1f5554b4 编写于 作者: tangyaolong's avatar tangyaolong

修改路径

上级 f6332d07
...@@ -60,7 +60,7 @@ public class MetaDynamicModelExService extends MetaDynamicModelServiceImpl { ...@@ -60,7 +60,7 @@ public class MetaDynamicModelExService extends MetaDynamicModelServiceImpl {
@Lazy @Lazy
private IBZWFFeignClient wfClient; private IBZWFFeignClient wfClient;
@Value("${ibiz.dynamic.disk.publishpath:/app/file/dynamicModel/publicpath/net-disk}") @Value("${ibiz.dynamic.publishpath:/app/file/dynamicModel/publicpath}")
private String publishPath; private String publishPath;
@Autowired @Autowired
...@@ -262,7 +262,7 @@ public class MetaDynamicModelExService extends MetaDynamicModelServiceImpl { ...@@ -262,7 +262,7 @@ public class MetaDynamicModelExService extends MetaDynamicModelServiceImpl {
if (!StringUtils.isEmpty(publishPath)) { if (!StringUtils.isEmpty(publishPath)) {
publishPath = publishPath.replace("\\\\", File.separator).replace("\\", File.separator).replace("/", File.separator); publishPath = publishPath.replace("\\\\", File.separator).replace("\\", File.separator).replace("/", File.separator);
if (!publishPath.endsWith(File.separator)) { if (!publishPath.endsWith(File.separator)) {
publishPath = publishPath + File.separator; publishPath = publishPath + File.separator + "net-disk" + File.separator;
} }
} }
return publishPath; return publishPath;
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册