Commit f9d7178d by huangfusuper

解决空指针异常

parent a81df075
...@@ -124,7 +124,7 @@ public class ApiFlowOperatingServiceImpl implements ApiFlowOperatingService { ...@@ -124,7 +124,7 @@ public class ApiFlowOperatingServiceImpl implements ApiFlowOperatingService {
String runCommand = node.getRunCommand(); String runCommand = node.getRunCommand();
//将公共参数放到替换参数里面 //将公共参数放到替换参数里面
if(CollectionUtil.isNotEmpty(publicParam) && !runCommand.startsWith("java")){ if(CollectionUtil.isNotEmpty(publicParam) && StringUtils.isNoneBlank(runCommand) && !runCommand.startsWith("java")){
//获取运行参数 //获取运行参数
String runParam = node.getRunParam(); String runParam = node.getRunParam();
//创建包装参数 //创建包装参数
......
...@@ -5,6 +5,10 @@ import org.springframework.boot.SpringApplication; ...@@ -5,6 +5,10 @@ import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.autoconfigure.SpringBootApplication;
/**
* 注册中心启动类
* @author huangfu
*/
@SpringBootApplication @SpringBootApplication
@Slf4j @Slf4j
public class RegistryAdminApplication { public class RegistryAdminApplication {
......
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