504 B
504 B
后端架构文档
技术栈与理由
- Spring Boot/Cloud(成熟生态、易扩展)
- MySQL(事务与一致性保障)
- Redis(缓存与分布式特性)
- MQ(削峰填谷、解耦)
服务划分
- Auth、User、RBAC、Workflow、Payment、Report、File 等
时序示意(登录鉴权)
sequenceDiagram
participant C as Client
participant G as API Gateway
participant A as Auth Service
C->>G: /auth/login
G->>A: 认证请求
A-->>G: 令牌
G-->>C: 令牌返回