pull/137/head
ruibaby 2019-03-07 22:06:25 +08:00
parent 735f5363f4
commit 06df6fa93c
3 changed files with 11 additions and 5 deletions

View File

@ -33,7 +33,6 @@
<java.version>1.8</java.version>
<oh-my-email.version>0.0.4</oh-my-email.version>
<lombok.version>1.18.4</lombok.version>
<ehcache.version>3.6.3</ehcache.version>
<hutool.version>4.5.0</hutool.version>
<upyun-java-sdk.version>4.0.1</upyun-java-sdk.version>
<qiniu-java-sdk.version>7.2.18</qiniu-java-sdk.version>
@ -121,9 +120,8 @@
<!-- EhCache -->
<dependency>
<groupId>org.ehcache</groupId>
<groupId>net.sf.ehcache</groupId>
<artifactId>ehcache</artifactId>
<version>${ehcache.version}</version>
</dependency>
<!-- hutool工具包 -->

View File

@ -10,8 +10,6 @@ server:
session:
timeout: 86400s
spring:
cache:
type: none
output:
ansi:
enabled: always
@ -60,6 +58,11 @@ spring:
# 多语言资源文件路径
messages:
basename: i18n/messages
cache:
type: ehcache
ehcache:
config: classpath:ehcache.xml
logging:
level:
cc.ryanc.halo: DEBUG

View File

@ -60,6 +60,11 @@ spring:
# 多语言资源文件路径
messages:
basename: i18n/messages
cache:
type: ehcache
ehcache:
config: classpath:ehcache.xml
logging:
level:
cc.ryanc.halo: INFO