SpringBoot配置连接mysql
123456spring.datasource.url=jdbc:mysql://域名或者IP:mysql端口/数据库名称?autoReconnect=true&useUnicode=true&characterEnc...
- Java
- 2021-03-04 23:23:24
SpringBoot配置mybatis打印sql
1234# 开启日志打印(sql)logging.level.com.selenium.mapper=debug# 下划线转驼峰mybatis.configuration.map-underscore-to-camel-case=tr...
- Java
- 2021-03-04 23:21:47
SpringBoot中Date时间格式化
123//加在实体Bean中的Date属性上方。自动格式化时间@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")pr...
- Java
- 2021-03-04 23:16:43
1