添加后端代码、数据库文档和FRP配置

This commit is contained in:
2026-01-30 08:59:06 +08:00
parent 37a6b409ed
commit c09ce065fe
210 changed files with 8560 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
server:
port: 8080
servlet:
context-path: /api
spring:
profiles:
active: dev
application:
name: pet-hospital
jackson:
time-zone: GMT+8
date-format: yyyy-MM-dd HH:mm:ss
mybatis-plus:
configuration:
map-underscore-to-camel-case: true
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
global-config:
db-config:
id-type: auto
logic-delete-field: deleted
logic-delete-value: 1
logic-not-delete-value: 0
mapper-locations: classpath*:mapper/**/*.xml
# JWT配置
jwt:
secret: pet-hospital-secret-key-2024-guanpengfei-graduate-design
expiration: 86400000 # 24小时
# 文件上传配置
file:
upload-path: /tmp/pet-hospital/uploads/
max-size: 10MB