Commit 7f2848c82c30d9bc9ebf5b0abd14e5b912ec840a
1 parent
3906005d
demo项目微服务启动配置,删除
Showing
3 changed files
with
0 additions
and
66 deletions
jeecg-boot/jeecg-boot-module-demo/pom.xml
... | ... | @@ -18,30 +18,4 @@ |
18 | 18 | </dependency> |
19 | 19 | </dependencies> |
20 | 20 | |
21 | - <profiles> | |
22 | - <profile> | |
23 | - <id>SpringCloud</id> | |
24 | - <!-- 引入springboot独立启动--> | |
25 | - <build> | |
26 | - <plugins> | |
27 | - <plugin> | |
28 | - <groupId>org.springframework.boot</groupId> | |
29 | - <artifactId>spring-boot-maven-plugin</artifactId> | |
30 | - </plugin> | |
31 | - </plugins> | |
32 | - </build> | |
33 | - <!-- 引入微服务Starter依赖 --> | |
34 | - <dependencies> | |
35 | - <dependency> | |
36 | - <groupId>org.jeecgframework.boot</groupId> | |
37 | - <artifactId>jeecg-boot-starter-cloud</artifactId> | |
38 | - </dependency> | |
39 | - <dependency> | |
40 | - <groupId>org.jeecgframework.boot</groupId> | |
41 | - <artifactId>jeecg-boot-starter-job</artifactId> | |
42 | - </dependency> | |
43 | - </dependencies> | |
44 | - </profile> | |
45 | - </profiles> | |
46 | - | |
47 | 21 | </project> |
48 | 22 | \ No newline at end of file |
... | ... |
jeecg-boot/jeecg-boot-module-demo/src/main/java/org/jeecg/JeecgDemoCloudApplication.java deleted
1 | -//package org.jeecg; | |
2 | -// | |
3 | -//import org.jeecg.common.base.BaseMap; | |
4 | -//import org.jeecg.common.constant.GlobalConstants; | |
5 | -//import org.springframework.beans.factory.annotation.Autowired; | |
6 | -//import org.springframework.boot.CommandLineRunner; | |
7 | -//import org.springframework.boot.SpringApplication; | |
8 | -//import org.springframework.boot.autoconfigure.SpringBootApplication; | |
9 | -//import org.springframework.cloud.openfeign.EnableFeignClients; | |
10 | -//import org.springframework.data.redis.core.RedisTemplate; | |
11 | -// | |
12 | -//@SpringBootApplication | |
13 | -//@EnableFeignClients | |
14 | -//public class JeecgDemoCloudApplication implements CommandLineRunner { | |
15 | -// @Autowired | |
16 | -// private RedisTemplate<String, Object> redisTemplate; | |
17 | -// | |
18 | -// public static void main(String[] args) { | |
19 | -// SpringApplication.run(JeecgDemoCloudApplication.class, args); | |
20 | -// } | |
21 | -// | |
22 | -// /** | |
23 | -// * 启动的时候,触发下gateway网关刷新 | |
24 | -// * | |
25 | -// * 解决: 先启动gateway后启动服务,Swagger接口文档访问不通的问题 | |
26 | -// * @param args | |
27 | -// */ | |
28 | -// @Override | |
29 | -// public void run(String... args) { | |
30 | -// BaseMap params = new BaseMap(); | |
31 | -// params.put(GlobalConstants.HANDLER_NAME, GlobalConstants.LODER_ROUDER_HANDLER); | |
32 | -// //刷新网关 | |
33 | -// redisTemplate.convertAndSend(GlobalConstants.REDIS_TOPIC_NAME, params); | |
34 | -// } | |
35 | -//} |