docs: 重构文档结构,分离学习笔记和 MVP 架构设计

**变更概述:**
- 将 MVP 架构设计文档独立到项目根目录 `mvp/`
- 整理 `docs/` 为纯学习和分析文档目录
- 按类型分类:learning(学习)、analysis(分析)、reports(报告)、guides(指南)

**目录结构:**
```
mvp/                          # MVP 架构设计(独立)
├── README.md                 # 数据库设计总览
├── architecture/             # 架构文档
│   ├── agent-architecture-mvp.md
│   ├── implementation-plan.md
│   └── ...
└── tables/                   # 数据表设计

docs/                         # 学习和分析文档
├── learning/                 # 学习笔记(00-08 编号)
├── analysis/                 # 分析笔记 + 重构计划
├── reports/                  # 临时报告
└── guides/                   # 指南文档
```

**详细变更:**
- docs/README.md → mvp/README.md(数据库设计入口)
- docs/architecture/ → mvp/architecture/(架构设计)
- docs/tables/ → mvp/tables/(数据表设计)
- docs/学习笔记-*.md → docs/learning/07-*.md, 08-*.md
- docs/项目学习路径.md → docs/learning/00-*.md
- docs/功能分析报告.md → docs/analysis/
- docs/修复报告-*.md → docs/reports/
- docs/日志配置*.md → docs/guides/ 或 docs/reports/
- docs/design/ → docs/analysis/(问题分析和重构计划)
This commit is contained in:
zhuyongxin
2026-06-23 14:14:51 +08:00
parent caef477cec
commit 60be51f4a5
25 changed files with 339 additions and 606 deletions
+48 -1
View File
@@ -35,6 +35,51 @@ model-routing:
embedding: siliconflow
spring:
# =====================================================
# 数据源配置 (MySQL)
# =====================================================
datasource:
url: jdbc:mysql://119.29.78.52:33306/superbiz_agent?useUnicode=true&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
username: root
password: '!Fucker123..'
driver-class-name: com.mysql.cj.jdbc.Driver
# =====================================================
# JPA 配置
# =====================================================
jpa:
hibernate:
ddl-auto: validate # Flyway 管理表结构,这里使用 validate
show-sql: true
properties:
hibernate:
format_sql: true
dialect: org.hibernate.dialect.MySQL8Dialect
# =====================================================
# Flyway 数据库迁移配置
# =====================================================
flyway:
enabled: true
baseline-on-migrate: true
locations: classpath:db/migration
# =====================================================
# Redis 配置
# =====================================================
data:
redis:
host: 119.29.78.52
port: 6379
password: ''
database: 0
timeout: 3000
lettuce:
pool:
max-active: 8
max-idle: 8
min-idle: 0
ai:
# --- Chat: DeepSeek (原生) ---
deepseek:
@@ -91,8 +136,10 @@ logging:
file: "%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n"
level:
root: INFO
org.example: DEBUG # 本项目包日志级别设为 DEBUG
com.superbiz.agent: DEBUG # 本项目包日志级别设为 DEBUG
org.springframework.ai: DEBUG # Spring AI 日志
org.springframework.data: INFO # Spring Data 日志
org.hibernate: INFO # Hibernate 日志
com.alibaba.cloud: INFO
logback:
rollingpolicy: