升级Spring Boot到2.5.x,升级Spring Cloud到2020.x

This commit is contained in:
zlt2000
2021-08-08 22:13:11 +08:00
parent a652428079
commit e73511b72c
68 changed files with 350 additions and 1538 deletions
@@ -1,11 +1,10 @@
package com.central;
import com.central.common.ribbon.annotation.EnableFeignInterceptor;
import com.central.common.lb.annotation.EnableFeignInterceptor;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession;
/**
* @author zlt
@@ -13,10 +12,12 @@ import org.springframework.session.data.redis.config.annotation.web.http.EnableR
@EnableFeignClients
@EnableFeignInterceptor
@EnableDiscoveryClient
@EnableRedisHttpSession
//@EnableRedisHttpSession
@SpringBootApplication
public class UaaServerApp {
public static void main(String[] args) {
SpringApplication.run(UaaServerApp.class, args);
SpringApplication application = new SpringApplication(UaaServerApp.class);
application.setEnvironmentPrefix("zlt-uaa");
application.run(args);
}
}