SpringBoot请求后台让控制台日志中显示SQL 在application.yml中Mybatis配置下写上下面一段即可配置成功 configuration: log-impl: org.apache.ibatis.logging.stdout.StdOutImpl效果如下: