target/classes/application.properties
(完整代码) 1KBspring.datasource.username=root
spring.datasource.password=123456
spring.datasource.url=jdbc:mysql://localhost:3306/userfiles?useUnicode=true&characterEncoding=utf-8&useSSL=true&serverTimezone=UTC
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
#spring.thymeleaf.cache=true
mybatis.mapper-locations=classpath:mapper/*.xml
mybatis.type-aliases-package=: cn.hxh.files.mapper
logging.level.root = info
logging.level.cn.hxh.files.mapper=debug
#pagehelper分页插件配置
pagehelper.helperDialect=mysql
pagehelper.reasonable=true
pagehelper.supportMethodsArguments=true
pagehelper.params=count=countSql
###ThymeLeaf配置
#spring:
#thymeleaf:
##模板的模式,支持 HTML, XML TEXT JAVASCRIPT
#mode: HTML5
##编码 可不用配置
#encoding: UTF-8
##内容类别,可不用配置
#content-type: text/html
##开发配置为false,避免修改模板还要重启服务器
#cache: false
##配置模板路径,默认是templates,可以不用配置
#prefix: classpath:/templates
spring.thymeleaf.cache=false
spring.thymeleaf.mode=HTML5
spring.thymeleaf.encoding=UTF-8
spring.thymeleaf.servlet.content-type=text/html
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
