feat: 增强 Sub2API 运维最短路径

This commit is contained in:
Codex
2026-07-16 19:09:48 +02:00
parent 4b1d0c34fa
commit f20ea126ec
12 changed files with 230 additions and 14 deletions
@@ -331,6 +331,8 @@ def account_summary(detail, include_rules=False, token=None):
"currentConcurrency": detail.get("current_concurrency"),
"loadFactor": detail.get("load_factor"),
"priority": detail.get("priority"),
"createdAt": detail.get("created_at"),
"updatedAt": detail.get("updated_at"),
"prioritySemantics": {"order": "lower-is-higher", "highest": 0},
"tempUnschedulable": {key: policy[key] for key in ("enabled", "ruleCount", "statusCodes")},
"matchingTemplate": matching_template(credentials),