mirror of
https://github.com/jeecgboot/JeecgBoot.git
synced 2026-01-03 20:35:29 +08:00
微服务重大升级说明(暂时只升级后台3.4.0)
-升级Spring Cloud Alibaba 2021.0.1.0,使用 spring.config.import 方式引入nacos配置 -拆分jeecg-boot-starter出来,使用独立项目维护
This commit is contained in:
@ -1,35 +0,0 @@
|
||||
//package org.jeecg;
|
||||
//
|
||||
//import org.jeecg.common.base.BaseMap;
|
||||
//import org.jeecg.common.constant.GlobalConstants;
|
||||
//import org.springframework.beans.factory.annotation.Autowired;
|
||||
//import org.springframework.boot.CommandLineRunner;
|
||||
//import org.springframework.boot.SpringApplication;
|
||||
//import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
//import org.springframework.cloud.openfeign.EnableFeignClients;
|
||||
//import org.springframework.data.redis.core.RedisTemplate;
|
||||
//
|
||||
//@SpringBootApplication
|
||||
//@EnableFeignClients
|
||||
//public class JeecgDemoCloudApplication implements CommandLineRunner {
|
||||
// @Autowired
|
||||
// private RedisTemplate<String, Object> redisTemplate;
|
||||
//
|
||||
// public static void main(String[] args) {
|
||||
// SpringApplication.run(JeecgDemoCloudApplication.class, args);
|
||||
// }
|
||||
//
|
||||
// /**
|
||||
// * 启动的时候,触发下gateway网关刷新
|
||||
// *
|
||||
// * 解决: 先启动gateway后启动服务,Swagger接口文档访问不通的问题
|
||||
// * @param args
|
||||
// */
|
||||
// @Override
|
||||
// public void run(String... args) {
|
||||
// BaseMap params = new BaseMap();
|
||||
// params.put(GlobalConstants.HANDLER_NAME, GlobalConstants.LODER_ROUDER_HANDLER);
|
||||
// //刷新网关
|
||||
// redisTemplate.convertAndSend(GlobalConstants.REDIS_TOPIC_NAME, params);
|
||||
// }
|
||||
//}
|
||||
@ -1,5 +0,0 @@
|
||||
server:
|
||||
port: 7002
|
||||
spring:
|
||||
application:
|
||||
name: jeecg-demo
|
||||
Reference in New Issue
Block a user