From d5f7db6873c1b9804cddd381f58e719344fae903 Mon Sep 17 00:00:00 2001
From: zhangfeng <1603559716@qq.com>
Date: 星期一, 24 七月 2023 13:33:36 +0800
Subject: [PATCH] 配置文件修改

---
 src/main/resources/application.yml |   39 +++++++++++++++++++++------------------
 1 files changed, 21 insertions(+), 18 deletions(-)

diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml
index a97433d..428a5d4 100644
--- a/src/main/resources/application.yml
+++ b/src/main/resources/application.yml
@@ -1,31 +1,33 @@
+# swagger生产环境中禁止显示
+swagger: 
+  show: false
 # mysql 多数据源
 spring:
   application:
   # 环境 dev|prod|online
   profiles:
-    active: dev
+    active: prod
 #    active: prod
 #    active: test
 #    active: online
 #    active: test-local
 
   #redis
-  redis:
-    database: 0
-    host: 10.187.1.202
-    port: 6379
-    password: ZhongtaiRedis@103
-    redisson:
-      pool:
-        max-active: 12
-        min-idle: 6
-
-    jedis:
-      pool:
-        max-idle: 8
-        max-active: 8
-        max-wait: -1ms
-        min-idle: 1
+#  redis:
+#    database: 0
+#    host: 10.187.1.202
+#    port: 6379
+#    password: ZhongtaiRedis@103
+#    redisson:
+#      pool:
+#        max-active: 12
+#        min-idle: 6
+#    jedis:
+#      pool:
+#        max-idle: 8
+#        max-active: 8
+#        max-wait: -1ms
+#        min-idle: 1
   #security
   security:
     user:
@@ -54,13 +56,14 @@
   mapper-locations: classpath*:com/gk/hotwork/**/*.xml
   type-aliases-package: com.gk.hotwork.Domain
   type-enums-package: com.gk.hotwork.Domain.Enum
+  configuration:
+    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
 
 #线程池配置
 threadPool:
   corePoolSize: 20
   maxPoolSize: 20
   queueCapacity: 10000
-
 logging:
   level:
     com.gk.hotwork: info

--
Gitblit v1.9.2