|
@@ -8,8 +8,13 @@ server.connection-timeout=18000000s
|
|
# ####################################################################################################
|
|
# ####################################################################################################
|
|
# thymeleaf 配置
|
|
# thymeleaf 配置
|
|
spring.thymeleaf.cache=false
|
|
spring.thymeleaf.cache=false
|
|
-spring.thymeleaf.jackson.time-zone=GMT+8
|
|
|
|
-spring.thymeleaf.jackson.date-format=yyyy-MM-dd HH:mm:ss
|
|
|
|
|
|
+spring.thymeleaf.suffix=.html
|
|
|
|
+## 模板引擎找寻的静态资源文件夹
|
|
|
|
+spring.thymeleaf.prefix=classpath:/templates/
|
|
|
|
+spring.thymeleaf.encoding=UTF-8
|
|
|
|
+spring.thymeleaf.mode=HTML5
|
|
|
|
+## 用于静态页面间的跳转(静态资源的存放文件夹)
|
|
|
|
+spring.resources.static-locations=classpath:/META-INF/resources/,classpath:/resources/,classpath:/static/,classpath:/public/,classpath:/templates/
|
|
# ####################################################################################################
|
|
# ####################################################################################################
|
|
# 数据源配置
|
|
# 数据源配置
|
|
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
|
|
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
|
|
@@ -32,7 +37,6 @@ logging.level.com.hssx.website.mapper = debug
|
|
spring.session.store-type=none
|
|
spring.session.store-type=none
|
|
# ####################################################################################################
|
|
# ####################################################################################################
|
|
#成功页面跳转
|
|
#成功页面跳转
|
|
-spring.thymeleaf.prefix=classpath:/static/
|
|
|
|
######################################################################################################
|
|
######################################################################################################
|
|
## redis 配置
|
|
## redis 配置
|
|
#spring.redis.host=localhost
|
|
#spring.redis.host=localhost
|