提交 c00f1cd4 authored 作者: 杨凯's avatar 杨凯

feat:新增告警接收接口

上级 af21916a
...@@ -58,24 +58,24 @@ ...@@ -58,24 +58,24 @@
<artifactId>spring-cloud-starter-netflix-eureka-client</artifactId> <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
</dependency> </dependency>
<dependency> <!-- <dependency>-->
<groupId>org.springframework.cloud</groupId> <!-- <groupId>org.springframework.cloud</groupId>-->
<artifactId>spring-cloud-starter-netflix-hystrix-dashboard</artifactId> <!-- <artifactId>spring-cloud-starter-netflix-hystrix-dashboard</artifactId>-->
</dependency> <!-- </dependency>-->
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId> <artifactId>spring-boot-starter-actuator</artifactId>
</dependency> </dependency>
<dependency> <!-- <dependency>-->
<groupId>org.springframework.cloud</groupId> <!-- <groupId>org.springframework.cloud</groupId>-->
<artifactId>spring-cloud-starter-netflix-hystrix</artifactId> <!-- <artifactId>spring-cloud-starter-netflix-hystrix</artifactId>-->
</dependency> <!-- </dependency>-->
<dependency> <!-- <dependency>-->
<groupId>org.springframework.cloud</groupId> <!-- <groupId>org.springframework.cloud</groupId>-->
<artifactId>spring-cloud-starter-openfeign</artifactId> <!-- <artifactId>spring-cloud-starter-openfeign</artifactId>-->
</dependency> <!-- </dependency>-->
<!--swagger接口文档--> <!--swagger接口文档-->
<dependency> <dependency>
...@@ -142,10 +142,10 @@ ...@@ -142,10 +142,10 @@
<version>1.9.40</version> <version>1.9.40</version>
</dependency> </dependency>
<dependency> <!-- <dependency>-->
<groupId>org.springframework.cloud</groupId> <!-- <groupId>org.springframework.cloud</groupId>-->
<artifactId>spring-cloud-starter-config</artifactId> <!-- <artifactId>spring-cloud-starter-config</artifactId>-->
</dependency> <!-- </dependency>-->
<!-- <dependency>--> <!-- <dependency>-->
<!-- <groupId>com.ihospital</groupId>--> <!-- <groupId>com.ihospital</groupId>-->
......
...@@ -2,7 +2,6 @@ package com.ebaiyihui; ...@@ -2,7 +2,6 @@ package com.ebaiyihui;
import org.springframework.boot.SpringApplication; import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
/** /**
* @description: * @description:
...@@ -10,7 +9,6 @@ import org.springframework.cloud.client.discovery.EnableDiscoveryClient; ...@@ -10,7 +9,6 @@ import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
* @create: 2023/08/09 09:15 * @create: 2023/08/09 09:15
**/ **/
@SpringBootApplication @SpringBootApplication
//@EnableDiscoveryClient
public class AlarmServerApplication { public class AlarmServerApplication {
public static void main(String[] args) { public static void main(String[] args) {
......
...@@ -13,7 +13,7 @@ spring: ...@@ -13,7 +13,7 @@ spring:
# discovery: # discovery:
# enabled: true #是从配置中心读取文件 # enabled: true #是从配置中心读取文件
# service-id: byh-service-config # service-id: byh-service-config
#eureka: eureka:
# client: client:
# serviceUrl: serviceUrl:
# defaultZone: http://127.0.0.1:1111/eureka/ defaultZone: http://discover:1111/eureka/
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论