Skip to content

Commit

Permalink
Merge pull request #32 from besscroft/dev
Browse files Browse the repository at this point in the history
fix:修复参数验证和缓存问题
  • Loading branch information
besscroft authored Sep 16, 2023
2 parents 1387633 + b5b1b0e commit b17bbff
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
7 changes: 4 additions & 3 deletions heming-admin/src/main/resources/application-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,10 @@ spring:
connection-test-query: select 1
# 缓存
cache:
type: redis
caffeine:
spec: maximumSize=500,initialCapacity=100,expireAfterAccess=600s
type: REDIS
redis:
timeToLive: 68400000
cacheNullValues: true

# MyBatis配置
mybatis:
Expand Down
4 changes: 4 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@
<artifactId>spring-boot-configuration-processor</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-validation</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
Expand Down

1 comment on commit b17bbff

@vercel
Copy link

@vercel vercel bot commented on b17bbff Sep 16, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

heming-fast – ./

heming-fast-git-main-besscroft.vercel.app
heming-fast-besscroft.vercel.app
fast.heming.dev

Please sign in to comment.