commit
b622675522
|
@ -15,6 +15,7 @@ import org.springframework.data.redis.serializer.StringRedisSerializer;
|
||||||
*/
|
*/
|
||||||
@Configuration
|
@Configuration
|
||||||
@EnableCaching
|
@EnableCaching
|
||||||
|
@AutoConfigureBefore(RedisAutoConfiguration.class)
|
||||||
public class RedisConfig extends CachingConfigurerSupport
|
public class RedisConfig extends CachingConfigurerSupport
|
||||||
{
|
{
|
||||||
@Bean
|
@Bean
|
||||||
|
|
|
@ -27,6 +27,7 @@ public class SwaggerProvider implements SwaggerResourcesProvider, WebFluxConfigu
|
||||||
/**
|
/**
|
||||||
* 网关路由
|
* 网关路由
|
||||||
*/
|
*/
|
||||||
|
@Lazy
|
||||||
@Autowired
|
@Autowired
|
||||||
private RouteLocator routeLocator;
|
private RouteLocator routeLocator;
|
||||||
|
|
||||||
|
|
|
@ -10,9 +10,6 @@ spring:
|
||||||
profiles:
|
profiles:
|
||||||
# 环境配置
|
# 环境配置
|
||||||
active: dev
|
active: dev
|
||||||
main:
|
|
||||||
allow-circular-references: true
|
|
||||||
allow-bean-definition-overriding: true
|
|
||||||
cloud:
|
cloud:
|
||||||
nacos:
|
nacos:
|
||||||
discovery:
|
discovery:
|
||||||
|
|
Loading…
Reference in New Issue