fix: 优化插件存放路径

This commit is contained in:
taojinlong 2022-04-24 16:57:41 +08:00
parent d5f6845a00
commit e07200cb81

View File

@ -249,7 +249,7 @@ public class PluginService {
e.printStackTrace(); e.printStackTrace();
} }
//BeanUtils.copyBean(result, myPlugin); //BeanUtils.copyBean(result, myPlugin);
if(result.getCategory().equalsIgnoreCase("datasource")){ if(result.getCategory().equalsIgnoreCase("datasource") && (StringUtils.isEmpty(result.getStore()) || !result.getStore().equalsIgnoreCase("default"))){
result.setStore("thirdpart"); result.setStore("thirdpart");
} }