mirror of
https://github.com/jeecgboot/JeecgBoot.git
synced 2026-01-02 19:15:26 +08:00
JeecgBoot 2.4.2 积木报表版本发布,基于SpringBoot的低代码平台
This commit is contained in:
@ -86,9 +86,6 @@ public class DynamicRouteLoader implements ApplicationEventPublisherAware {
|
||||
String dataType = GatewayRoutersConfiguration.DATA_TYPE;
|
||||
if (!RouterDataType.yml.toString().endsWith(dataType)) {
|
||||
this.init();
|
||||
// 触发默认路由刷新事件,刷新缓存路由
|
||||
this.publisher.publishEvent(new RefreshRoutesEvent(this));
|
||||
log.info("路由已刷新..............");
|
||||
}
|
||||
return Mono.empty();
|
||||
}
|
||||
@ -135,7 +132,7 @@ public class DynamicRouteLoader implements ApplicationEventPublisherAware {
|
||||
if (configService == null) {
|
||||
log.warn("initConfigService fail");
|
||||
}
|
||||
String configInfo = redisClient.get("geteway_routes");
|
||||
String configInfo = redisClient.get("gateway_routes");
|
||||
if (StringUtils.isNotBlank(configInfo)) {
|
||||
log.info("获取网关当前配置:\r\n{}", configInfo);
|
||||
JSONArray array = JSON.parseArray(configInfo);
|
||||
|
||||
Reference in New Issue
Block a user