开始尝试进行业务化模板

This commit is contained in:
2025-03-25 23:43:01 +08:00
parent 6c33113092
commit bbf7a2a5d8
15 changed files with 320 additions and 104 deletions

View File

@@ -1,12 +1,18 @@
spring:
datasource:
url: jdbc:mysql://localhost:3307/main?useSSL=false&allowPublicKeyRetrieval=true
url: jdbc:h2:file:./database;DB_CLOSE_ON_EXIT=FALSE
username: test
password: test
driver-class-name: com.mysql.cj.jdbc.Driver
driver-class-name: org.h2.Driver
jpa:
show-sql: true
generate-ddl: true
servlet:
multipart:
max-file-size: 10MB
max-request-size: 20MB
jackson:
date-format: 'yyyy-MM-dd HH:mm:ss'
elide:
json-api:
enabled: true