feat: complete cmpp gateway delivery recovery workflows

This commit is contained in:
hectorzhao
2026-07-08 16:30:06 +08:00
parent cc628d0214
commit 8144f08652
60 changed files with 8901 additions and 94 deletions
+9
View File
@@ -84,6 +84,7 @@ export function AdminHome() {
const averageSuccessRate = dashboard?.today.successRate ?? 0;
const todaySpend = (dashboard?.today.spendCents ?? 0) / 100;
const activeConnectionCount = dashboard?.gatewayConnections.reduce((sum, item) => sum + (item._sum.currentConnections ?? 0), 0) ?? 0;
const downstreamAlertCount = dashboard?.downstreamDeliverySummary?.alertCount ?? 0;
const sendTrendOption = useMemo(
() => createLineOption({
@@ -253,6 +254,14 @@ export function AdminHome() {
<small>线</small>
</div>
</div>
<div className="mini-status-card">
<RadioTower size={22} />
<div>
<span></span>
<strong>{downstreamAlertCount} </strong>
<small></small>
</div>
</div>
</div>
</div>
</div>