feat: 修改mybatis-plus的日志配置,去掉sql日志

This commit is contained in:
yys 2026-04-02 16:30:14 +08:00
parent e2ab5bcb13
commit e888da137e
1 changed files with 2 additions and 1 deletions

View File

@ -167,7 +167,8 @@ mybatis-plus:
map-underscore-to-camel-case: true map-underscore-to-camel-case: true
cache-enabled: true cache-enabled: true
# 这个配置会将执行的sql打印出来在开发或测试的时候可以用 # 这个配置会将执行的sql打印出来在开发或测试的时候可以用
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl # log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
log-impl: org.apache.ibatis.logging.nologging.NoLoggingImpl
# PageHelper分页插件 # PageHelper分页插件
pagehelper: pagehelper: