From 2e5582facc8d161780dec8e58a74fb36d094ca37 Mon Sep 17 00:00:00 2001
From: “djh” <“3298565835@qq.com”>
Date: Fri, 16 Jan 2026 09:01:39 +0800
Subject: [PATCH] 修改设备预警信息

---
 src/main/resources/config/application-dev.yaml |   25 ++++++++++++++-----------
 1 files changed, 14 insertions(+), 11 deletions(-)

diff --git a/src/main/resources/config/application-dev.yaml b/src/main/resources/config/application-dev.yaml
index 1ae602b..d69c74e 100644
--- a/src/main/resources/config/application-dev.yaml
+++ b/src/main/resources/config/application-dev.yaml
@@ -1,28 +1,27 @@
 server:
-  port: 9091
+  port: 17080
 
 spring:
-  #    enable-logging: false
+#  enable-logging: true
   datasource:
     type: com.alibaba.druid.pool.DruidDataSource
     driver-class-name: com.mysql.cj.jdbc.Driver
-    url: jdbc:mysql://192.168.0.52:3306/fourier_specialgas_monitor.dev?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai&useAffectedRows=true
-    username: gkhy_dev_team
-    password: Sjscn783fsDsa21
+    url: jdbc:mysql://192.168.2.90:7006/fourier_specialgas_monitor.uat?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai&useAffectedRows=true
+    username: root
+    password: 2farwL3yPXfbH2AP
     master:
       driver-class-name: com.mysql.cj.jdbc.Driver
-      url: jdbc:mysql://192.168.0.52:3306/fourier_specialgas_monitor.dev?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai&useAffectedRows=true
-      username: gkhy_dev_team
-      password: Sjscn783fsDsa21
+      url: jdbc:mysql://192.168.2.90:7006/fourier_specialgas_monitor.uat?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai&useAffectedRows=true
+      username: root
+      password: 2farwL3yPXfbH2AP
       type: com.alibaba.druid.pool.DruidDataSource
   jpa:
     hibernate:
       ddl-auto: none
 #      ddl-auto: update #自动更新
-    show-sql: false  #日志中显示sql语句
+    show-sql: true  #日志中显示sql语句
 
   redis:
-#    host: 192.168.0.52
 #    port: 6371
 #    password: SEF98uvs98dUAUEF90Udssa      # Redis 服务器密码,默认为空。生产中,一定要设置 Redis 密码!
 #    database: 0           # Redis 数据库号,默认为 0
@@ -116,4 +115,8 @@
     enabled: false
 
 
-
+logging:
+  config: classpath:config/log4j2-spring.xml  # 指向新创建的Log4j2配置文件
+  level:
+    root: INFO
+    org.com.gkhy: DEBUG  # 保持原日志级别配置

--
Gitblit v1.9.2