Browse Source

修改报警后台接口

shilin 2 years ago
parent
commit
8bb9bbff3b

+ 16 - 0
web/alarm-hb/src/main/resources/application-hf.properties

@@ -0,0 +1,16 @@
+
+
+#\u670D\u52A1\u540D\u79F0
+spring.application.name=alarm-hb-provider
+spring.cloud.nacos.discovery.server-addr=10.0.118.73:8848
+
+
+#nacos\u7684\u7528\u6237\u540D\u548C\u5BC6\u7801
+spring.cloud.nacos.username=nacos
+spring.cloud.nacos.password=nacos
+
+#spring boot actuator \u76D1\u63A7\u548C\u5065\u5EB7\u68C0\u67E5\u529F\u80FD
+management.endpoints.jmx.exposure.include=*
+management.endpoints.web.exposure.include=*
+management.endpoint.health.show-details=always
+

+ 10 - 10
web/alarm-hb/src/main/resources/application-hf.yml

@@ -5,16 +5,16 @@ spring:
   profiles:
     active: dev
   application:
-    name: alarm-hb-provider
-    cloud:
-      nacos:
-        discovery:
-          server-addr: 10.0.118.76:8848
-          #指定yaml格式的配置
-          file-extension: yaml
-          cluster-name: master
-        username: nacos
-        password: nacos
+#    name: alarm-hb-provider
+#    cloud:
+#      nacos:
+#        discovery:
+#          server-addr: 10.0.118.73:8848
+#          #指定yaml格式的配置
+#          file-extension: yaml
+#          cluster-name: master
+#        username: nacos
+#        password: nacos
     #引入其他配置文件,例如ftpHX 未配置文件application-ftpHX.yml
     #include: ftpHX,ftpCloud
   datasource: