From 6f1a421696df24fcfcdcbd45e0cb8b15c79b47f6 Mon Sep 17 00:00:00 2001
From: whycxzp <glperry@163.com>
Date: 星期一, 13 一月 2025 17:10:59 +0800
Subject: [PATCH] 平台增加日志记录框架

---
 src/main/resources/config/application-dev.yml |   59 +++++++++++++++++++++++++++++++++++++++++------------------
 1 files changed, 41 insertions(+), 18 deletions(-)

diff --git a/src/main/resources/config/application-dev.yml b/src/main/resources/config/application-dev.yml
index 9f70c49..65c9954 100644
--- a/src/main/resources/config/application-dev.yml
+++ b/src/main/resources/config/application-dev.yml
@@ -3,7 +3,7 @@
   type: 1
 #鏈嶅姟绔彛鍙�
 server:
-  port: 8088
+  port: 8087
   serverHeader:
   servlet:
     context-path: /br
@@ -18,22 +18,16 @@
 #鏁版嵁搴�
 spring:
   datasource:
-    dynamic:
-      primary: master # 榛樿浣跨敤mater搴�
-      strict: false   # 涓嶄娇鐢ㄤ弗鏍兼ā寮�
-      datasource:
-        master:
-          type: com.alibaba.druid.pool.DruidDataSource
-          driver-class-name: com.highgo.jdbc.Driver
-      #    url: jdbc:dm://localhost:5236/SYSDBA?rewriteBatchedStatements=true&zeroDateTimeBehavior=convertToNull&useUnicode=true&characterEncoding=utf-8
-          url: jdbc:highgo://192.168.10.183:5866/highgo?rewriteBatchedStatements=true&zeroDateTimeBehavior=convertToNull&useUnicode=true&characterEncoding=utf-8
-          username: sysdba
-          password: Lmx&8688139
-        db2:
-          type: com.alibaba.druid.pool.DruidDataSource
-          driver-class-name: org.sqlite.JDBC
-          url: jdbc:sqlite:E:\2杞欢涓嬭浇鍖匼easydarwin\EasyDarwin-windows-8.2.2-24031216\data\db\EasyDarwin.db?date_string_format=yyyy-MM-dd HH:mm:ss
-    #      url: jdbc:sqlite:\2杞欢涓嬭浇鍖匼easydarwin\EasyDarwin-windows-8.2.2-24031216\data\db\EasyDarwin.db?date_string_format=yyyy-MM-dd HH:mm:ss
+    type: com.alibaba.druid.pool.DruidDataSource
+    driver-class-name: com.highgo.jdbc.Driver
+    url: jdbc:highgo://192.168.10.183:5866/highgo?rewriteBatchedStatements=true&zeroDateTimeBehavior=convertToNull&useUnicode=true&characterEncoding=utf-8
+    username: sysdba
+    password: Fg001@HDW
+#    type: com.alibaba.druid.pool.DruidDataSource
+#    driver-class-name: com.mysql.cj.jdbc.Driver
+#    url: jdbc:mysql://localhost:3360/db_user?characterEncoding=utf8&serverTimezone=Asia/Shanghai&allowMultiQueries=true&rewriteBatchedStatements=true&useSSL=false
+#    username: root
+#    password: lmx8688139
     maxIdel: 60
     initialPoolSize: 2
     minPoolSize: 5
@@ -63,6 +57,8 @@
     cache-enabled: false
     #mybatis鏃ュ織杈撳嚭
     log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
+pagehelper:
+  helper-dialect: mysql
 knife:
   enable: true
 configFile:
@@ -83,7 +79,7 @@
   #鐧诲綍楠岃瘉鐮� on/off
   fontDynamicCode: on
   #鍏佽璺ㄥ煙鐨勭櫧鍚嶅崟 http://192.168.10.132:8080,http://192.168.10.109:8080
-  cors: http://localhost:8080,http://192.168.10.114:8080,,http://192.168.10.86:8080
+  cors: http://localhost:8080,http://192.168.10.114:8080,http://localhost:5173,http://192.168.10.86:8080
   #閲嶅惎瀵嗙爜
   restartPasswd: ENC(AKxTGQo6bAABeC62B8Dtxw==)
   rsa:
@@ -95,3 +91,30 @@
     defaultKey: ENC(KdXXhvt6v7BDw7MgsR4J1OgahZgjl3kEil10+147oGA=)
     iv: ENC(Gtzf6s+BRoC1iQsRLMswSlBDSMom0kWtx5+SMJgaVDg=)
   i18n: zh-CN
+logging:
+  config: classpath:config/logback-spring.xml
+#瑙嗛娴佺殑id
+video:
+  streamIds:
+     "34020000001110000001_34020000001320000001,
+      34020000001110000001_34020000001320000002,
+      34020000001110000001_34020000001320000003,
+      34020000001110000002_34020000001320000001,
+      34020000001110000002_34020000001320000002,
+      34020000001110000002_34020000001320000003,
+      34020000001320000001_34020000001320000001,
+      34020000001320000001_34020000001320000002,
+      34020000001320000002_34020000001320000001,
+      34020000001320000002_34020000001320000002,
+      34020000001320000003_34020000001320000001,
+      34020000001320000003_34020000001320000002,
+      34020000001320000004_34020000001320000001,
+      34020000001320000004_34020000001320000002,
+      34020000001320000005_34020000001320000001,
+      34020000001320000005_34020000001320000002,
+      34020000001320000006_34020000001320000001,
+      34020000001320000006_34020000001320000002,
+      34020000001320000007_34020000001320000001,
+      34020000001320000007_34020000001320000002,
+      34020000001320000008_34020000001320000001,
+      34020000001320000008_34020000001320000002"
\ No newline at end of file

--
Gitblit v1.9.1