feat(架构): 完善基础架构设计

This commit is contained in:
2025-07-02 16:17:59 +08:00
parent 03e615a8fd
commit 5b4392894f
89 changed files with 18555 additions and 3521 deletions

39
configs/env.testing.yaml Normal file
View File

@@ -0,0 +1,39 @@
# 🧪 测试环境配置
# 只包含与默认配置不同的配置项
# ===========================================
# 🌍 环境标识
# ===========================================
app:
env: testing
# ===========================================
# 🌐 服务器配置
# ===========================================
server:
mode: test
# ===========================================
# 🗄️ 数据库配置
# ===========================================
database:
password: test_password
name: tyapi_test
# ===========================================
# 📦 Redis配置
# ===========================================
redis:
db: 15
# ===========================================
# 📝 日志配置
# ===========================================
logger:
level: debug
# ===========================================
# 🔐 JWT配置
# ===========================================
jwt:
secret: test-jwt-secret-key-for-testing-only