From 1a2af24f0352e3a6d0f25a5dabdf475252f2abf8 Mon Sep 17 00:00:00 2001
From: zhuo <2089219845@qq.com>
Date: 星期二, 04 三月 2025 10:08:22 +0800
Subject: [PATCH] 日志文件修改

---
 ruoyi-admin/src/main/resources/application.yml |   44 ++++++++++++++++++++++++++------------------
 1 files changed, 26 insertions(+), 18 deletions(-)

diff --git a/ruoyi-admin/src/main/resources/application.yml b/ruoyi-admin/src/main/resources/application.yml
index cb2179d..acdb6fb 100644
--- a/ruoyi-admin/src/main/resources/application.yml
+++ b/ruoyi-admin/src/main/resources/application.yml
@@ -33,8 +33,9 @@
 
 # 鏃ュ織閰嶇疆
 logging:
+  file-location: /javaWork/lims-ruoyi
   level:
-    com.ruoyi: debug
+    com.ruoyi: info
     org.springframework: warn
 
 # 鐢ㄦ埛閰嶇疆
@@ -53,6 +54,10 @@
     basename: i18n/messages
   profiles:
     active: druid
+  # 鍏ㄥ眬鏃堕棿澶勭悊 LocalDateTime鏃堕棿搴忓垪鍙�
+  jackson:
+    date-format: yyyy-MM-dd HH:mm:ss
+    time-zone: GMT+8
   # 鏂囦欢涓婁紶
   servlet:
     multipart:
@@ -61,10 +66,10 @@
       # 璁剧疆鎬讳笂浼犵殑鏂囦欢澶у皬
       max-request-size: 20MB
   # 鏈嶅姟妯″潡
-  devtools:
-    restart:
-      # 鐑儴缃插紑鍏�
-      enabled: true
+#  devtools:
+#    restart:
+#      # 鐑儴缃插紑鍏�
+#      enabled: false
   # redis 閰嶇疆
   redis:
     # 鍦板潃
@@ -74,7 +79,7 @@
     # 鏁版嵁搴撶储寮�
     database: 0
     # 瀵嗙爜
-    password:
+#    password: 123456
     # 杩炴帴瓒呮椂鏃堕棿
     timeout: 10s
     lettuce:
@@ -95,16 +100,7 @@
   # 浠ょ墝瀵嗛挜
   secret: abcdefghijklmnopqrstuvwxyz
   # 浠ょ墝鏈夋晥鏈燂紙榛樿30鍒嗛挓锛�
-  expireTime: 30
-
-# MyBatis閰嶇疆
-mybatis:
-  # 鎼滅储鎸囧畾鍖呭埆鍚�
-  typeAliasesPackage: com.ruoyi.**.domain
-  # 閰嶇疆mapper鐨勬壂鎻忥紝鎵惧埌鎵�鏈夌殑mapper.xml鏄犲皠鏂囦欢
-  mapperLocations: classpath*:mapper/**/*Mapper.xml
-  # 鍔犺浇鍏ㄥ眬鐨勯厤缃枃浠�
-  configLocation: classpath:mybatis/mybatis-config.xml
+  expireTime: 450
 
 # PageHelper鍒嗛〉鎻掍欢
 pagehelper:
@@ -116,8 +112,6 @@
 swagger:
   # 鏄惁寮�鍚痵wagger
   enabled: true
-  # 璇锋眰鍓嶇紑
-  pathMapping: /dev-api
 
 # 闃叉XSS鏀诲嚮
 xss:
@@ -127,3 +121,17 @@
   excludes: /system/notice
   # 鍖归厤閾炬帴
   urlPatterns: /system/*,/monitor/*,/tool/*
+
+# mybatis-plus閰嶇疆
+mybatis-plus:
+  mapper-locations: classpath*:mapper/**/*Mapper.xml
+  type-aliases-package: com.ruoyi.**.domain
+  global-config:
+    banner: off
+    db-config:
+      id-type: auto
+  configuration:
+    map-underscore-to-camel-case: true
+    cache-enabled: false
+    log-impl: # org.apache.ibatis.logging.stdout.StdOutImpl
+

--
Gitblit v1.9.3