Browse Source

升级fastjson到最新版2.0.7

master
RuoYi 2 years ago
parent
commit
78c356a9f3
  1. 2
      pom.xml
  2. 2
      ruoyi-common/ruoyi-common-redis/src/main/java/com/ruoyi/common/redis/configure/RedisConfig.java
  3. 2
      ruoyi-gateway/src/main/java/com/ruoyi/gateway/config/SwaggerProvider.java

2
pom.xml

@ -33,7 +33,7 @@ @@ -33,7 +33,7 @@
<commons.io.version>2.11.0</commons.io.version>
<commons.fileupload.version>1.4</commons.fileupload.version>
<velocity.version>2.3</velocity.version>
<fastjson.version>2.0.4</fastjson.version>
<fastjson.version>2.0.7</fastjson.version>
<jjwt.version>0.9.1</jjwt.version>
<minio.version>8.2.2</minio.version>
<poi.version>4.1.2</poi.version>

2
ruoyi-common/ruoyi-common-redis/src/main/java/com/ruoyi/common/redis/configure/RedisConfig.java

@ -1,5 +1,7 @@ @@ -1,5 +1,7 @@
package com.ruoyi.common.redis.configure;
import org.springframework.boot.autoconfigure.AutoConfigureBefore;
import org.springframework.boot.autoconfigure.data.redis.RedisAutoConfiguration;
import org.springframework.cache.annotation.CachingConfigurerSupport;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.Bean;

2
ruoyi-gateway/src/main/java/com/ruoyi/gateway/config/SwaggerProvider.java

@ -6,6 +6,7 @@ import org.springframework.beans.factory.annotation.Autowired; @@ -6,6 +6,7 @@ import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cloud.gateway.config.GatewayProperties;
import org.springframework.cloud.gateway.route.RouteLocator;
import org.springframework.cloud.gateway.support.NameUtils;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Component;
import org.springframework.web.reactive.config.ResourceHandlerRegistry;
import org.springframework.web.reactive.config.WebFluxConfigurer;
@ -24,6 +25,7 @@ public class SwaggerProvider implements SwaggerResourcesProvider, WebFluxConfigu @@ -24,6 +25,7 @@ public class SwaggerProvider implements SwaggerResourcesProvider, WebFluxConfigu
* Swagger2默认的url后缀
*/
public static final String SWAGGER2URL = "/v2/api-docs";
/**
* 网关路由
*/

Loading…
Cancel
Save