提交 6c211dcf 编写于 作者: zhouweidong's avatar zhouweidong

xxl-job

上级 0699655b
...@@ -20,7 +20,7 @@ import org.springframework.util.StringUtils; ...@@ -20,7 +20,7 @@ import org.springframework.util.StringUtils;
public class XxlJobConfig { public class XxlJobConfig {
private Logger logger = LoggerFactory.getLogger(XxlJobConfig.class); private Logger logger = LoggerFactory.getLogger(XxlJobConfig.class);
@Value("${r'${xxl.job.admin.addresses:http://127.0.0.1:8080/xxl-job-admin}'}") @Value("${r'${xxl.job.admin.addresses:}'}")
private String adminAddresses; private String adminAddresses;
@Value("${r'${xxl.job.accessToken:}'}") @Value("${r'${xxl.job.accessToken:}'}")
...@@ -80,6 +80,4 @@ public class XxlJobConfig { ...@@ -80,6 +80,4 @@ public class XxlJobConfig {
* 3、获取IP * 3、获取IP
* String ip_ = inetUtils.findFirstNonLoopbackHostInfo().getIpAddress(); * String ip_ = inetUtils.findFirstNonLoopbackHostInfo().getIpAddress();
*/ */
} }
...@@ -218,7 +218,7 @@ xxl: ...@@ -218,7 +218,7 @@ xxl:
job: job:
accessToken: accessToken:
admin: admin:
addresses: 127.0.0.1 addresses: #127.0.0.1
executor: executor:
appname: ${sys.getName()} appname: ${sys.getName()}
ip: ip:
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册