doc: 增加 .env 的注释

This commit is contained in:
zenfun
2025-12-24 14:51:57 +08:00
parent 7f160a8d2a
commit 38d2329991
3 changed files with 44 additions and 23 deletions

View File

@@ -6,7 +6,7 @@ EZ-API 网关系统的管理中心和控制平面。
EZ-API 是“控制平面”,负责管理事实来源 (Source of Truth)。
它主要承担:
1. **资源管理**Master/Key/Provider/Model/Binding/Namespace 的 CRUD 与批量操作。
1. **资源管理**Master/Key/ProviderGroup/APIKey/Model/Binding/Namespace 的 CRUD 与批量操作。
2. **状态同步**:将配置快照与 Feature Flags 推送到 Redis供 Balancer 使用。
3. **日志与统计**:日志摄取/统计、操作日志、实时计数回写。
4. **运行配置**CORS、模型注册表、配额重置等运维能力。
@@ -36,7 +36,8 @@ EZ-API 是“控制平面”,负责管理事实来源 (Source of Truth)。
- `/admin/masters`CRUD + batch + manage
- `/admin/masters/:id/realtime`
- `/admin/masters/:id/keys`
- `/admin/providers`CRUD + test + fetch-models + batch
- `/admin/provider-groups`CRUD
- `/admin/api-keys`CRUD + batch
- `/admin/models`CRUD + batch
- `/admin/bindings`CRUD + batch
- `/admin/namespaces`CRUD