fix(auth): guard temporary token refresh and translate bill flow

This commit is contained in:
gitea committed 2026-09-08 12:08:12 +08:00
1 parent 2b467dc076
commit 3f015d8e22
12 files changed
+238 -20

No files matched your search

+2 -1
View File
@@ -6,6 +6,7 @@ import {
searchAndFormatBills,
getBillByCodeOrId,
getBillFlow,
formatBillFlowOperator,
getBillRisk,
getBillReferences,
getBillRelations,
@@ -339,7 +340,7 @@ export async function handleBillCommand(
entry.time ? new Date(entry.time).toLocaleString("zh-CN") : "-",
entry.nodeName || "-",
entry.action || "-",
entry.operator?.name || (entry.automatic ? "系统" : "-"),
formatBillFlowOperator(entry.operator, entry.automatic, entry.operator?.id?.toLowerCase().includes("ebot")),
entry.durationMs !== undefined ? `${Math.round(entry.durationMs / 1000)} 秒` : "-",
entry.skipped ? "自动跳过" : entry.automatic ? "自动" : "",
entry.comment || "-",