docs: Update architecture docs with platform infrastructure details

- Add platform infrastructure chapter to frontend-backend architecture design
- Update system architecture document with 6 new infrastructure modules
- Update AI onboarding guide with infrastructure overview
- Link to backend/src/common/README.md for detailed usage guide

Key Updates:
- Storage service (LocalAdapter + OSSAdapter)
- Logging system (Winston + JSON format)
- Cache service (Memory + Redis)
- Async job queue (Memory + Database)
- Health check endpoints
- Monitoring metrics
- Database connection pool
- Environment config management

All modules support zero-code switching between local and cloud environments.

Related: #Platform-Infrastructure
This commit is contained in:
2025-11-17 08:36:10 +08:00
parent 8bba33ac89
commit 31d555f7bb
88 changed files with 490 additions and 8 deletions

View File

@@ -886,3 +886,4 @@ Week 1结束时应达到

View File

@@ -763,3 +763,4 @@ Day 3: 文档更新 4小时
**文档结束**

View File

@@ -202,3 +202,4 @@ model Project {

View File

@@ -300,3 +300,4 @@ DROP SCHEMA IF EXISTS st_schema CASCADE;

View File

@@ -126,3 +126,4 @@ ORDER BY nspname;

View File

@@ -144,3 +144,4 @@ FROM platform_schema.users;

View File

@@ -337,3 +337,4 @@ FROM aia_schema.messages;

View File

@@ -410,3 +410,4 @@ FROM pkb_schema.batch_tasks;

View File

@@ -542,3 +542,4 @@ SELECT

View File

@@ -266,3 +266,4 @@ Write-Host "脚本执行完成!" -ForegroundColor Green

View File

@@ -555,3 +555,4 @@ const MyComponent = () => {

View File

@@ -458,3 +458,4 @@ import type { FastifyRequest, FastifyReply } from 'fastify'

View File

@@ -409,3 +409,4 @@ curl http://localhost:3001/api/v1/review

View File

@@ -448,3 +448,4 @@ modules/ ← 新代码,标准化

View File

@@ -242,3 +242,4 @@ Prisma Client在生成时已经读取了每个model的`@@schema()`标签,

View File

@@ -85,3 +85,4 @@

View File

@@ -233,3 +233,4 @@ isExternal?: boolean

View File

@@ -230,3 +230,4 @@ sed -i '1s/^\xEF\xBB\xBF//' file.txt