fix: 生产环境不再打印全部 SQL

This commit is contained in:
2026-10-09 10:52:20 +08:00
parent e506c4d751
commit af13bd57b7
3 changed files with 13 additions and 3 deletions
+2 -2
View File
@@ -23,8 +23,8 @@ spring:
date-format: yyyy-MM-dd'T'HH:mm:ss'Z'
mybatis-plus:
configuration:
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
# log-impl: org.apache.ibatis.logging.slf4j.Slf4jImpl
# 使用 Slf4j 输出 SQL:由各环境的 logging.level 决定是否打印,生产默认不打印
log-impl: org.apache.ibatis.logging.slf4j.Slf4jImpl
############## Sa-Token 配置 (文档: https://sa-token.cc) ##############
sa-token: