From ba0052d4522775abcae78c4053a12408e78ac895 Mon Sep 17 00:00:00 2001 From: JEECG <445654970@qq.com> Date: Wed, 13 Aug 2025 13:55:13 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=AF=E6=8C=81lazy-initialization=E5=90=AF?= =?UTF-8?q?=E5=8A=A8=EF=BC=8C=E9=A1=B9=E7=9B=AE=E5=A4=A7=E4=BA=86=E5=90=8E?= =?UTF-8?q?=E5=90=AF=E5=8A=A8=E4=BC=9A=E6=9B=B4=E5=BF=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/application-dev.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/jeecg-boot/jeecg-module-system/jeecg-system-start/src/main/resources/application-dev.yml b/jeecg-boot/jeecg-module-system/jeecg-system-start/src/main/resources/application-dev.yml index 1b039cd38..4203db9b3 100644 --- a/jeecg-boot/jeecg-module-system/jeecg-system-start/src/main/resources/application-dev.yml +++ b/jeecg-boot/jeecg-module-system/jeecg-system-start/src/main/resources/application-dev.yml @@ -25,6 +25,9 @@ management: include: metrics,jeecghttptrace spring: +# main: +# # 启动加速 (建议开发环境,开启后flyway自动升级失效) +# lazy-initialization: true flyway: # 是否启用flyway enabled: true @@ -46,7 +49,7 @@ spring: mail.smtp.writetimeout: 10000 # 写入超时(毫秒) mail.smtp.auth: true smtp.ssl.enable: true - mail.debug: true # 启用调试模式(查看详细日志) +# mail.debug: true # 启用调试模式(查看详细日志) ## quartz定时任务,采用数据库方式 quartz: job-store-type: jdbc @@ -180,7 +183,7 @@ mybatis-plus: table-underline: true configuration: # 这个配置会将执行的sql打印出来,在开发或测试的时候可以用 - #log-impl: org.apache.ibatis.logging.stdout.StdOutImpl + log-impl: org.apache.ibatis.logging.stdout.StdOutImpl # 返回类型为Map,显示null对应的字段 call-setters-on-nulls: true #jeecg专用配置 @@ -292,6 +295,7 @@ logging: level: org.flywaydb: debug org.jeecg.modules.system.mapper: info + org.jeecg.modules.demo.test.mapper: info #swagger knife4j: #开启增强配置