Update: cache module, security modules and build

This commit is contained in:
likingcode
2026-03-18 15:18:41 +08:00
parent 4a0737ddeb
commit d257e3595d
48 changed files with 2076 additions and 822 deletions

View File

@@ -0,0 +1,29 @@
# Learn profile: keep dependencies and runtime simple for first-round learning
spring:
config:
activate:
on-profile: learn
datasource:
url: jdbc:h2:mem:springboot_scaffold_learn;MODE=MYSQL;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE
driver-class-name: org.h2.Driver
username: sa
password:
h2:
console:
enabled: true
app:
profile: learn
enabled-modules:
- ioc
- aop
- mybatis
- transaction
- users
auth:
type: none
learning-note: "learn 模式默认不开启鉴权,专注 Spring 核心学习"
cache:
type: caffeine