feat: 添加汇率服务和缓存服务,优化数据源和日志服务

refactor: 重构数据源工厂和类型定义,提升代码可维护性

fix: 修复类型转换和状态机文档中的错误

docs: 更新服务架构文档,添加新的服务闭环流程

test: 添加汇率服务单元测试

chore: 清理无用代码和注释,优化代码结构
This commit is contained in:
2026-03-19 14:19:01 +08:00
parent 0dac26d781
commit aa2cf560c6
120 changed files with 33383 additions and 4347 deletions

View File

@@ -108,6 +108,16 @@ pending
---
## Task任务状态
pending
→ running
→ success
→ failed
→ cancelled
---
## 状态变更原则
- 所有状态变更必须通过 Service
@@ -130,3 +140,4 @@ pending
- 支付状态:支付渠道反馈、人工处理
- 账单状态:系统确认、支付结果、人工处理
- 结算状态:系统处理、支付结果、人工处理
- 任务状态:任务触发、执行结果、人工取消