feat: add card rotation, customer lookup, and concurrent eligibility checks

Add encrypted card pool management, persisted card and outbound rotation, and per-card decline cooldowns. Improve customer and redemption-code lookup, recovery controls, and filtering; rebuild frontend assets and refresh mock screenshots.

Give read-only eligibility checks four independent slots so payment processing no longer blocks them. Cover concurrency, slot cleanup, card rotation, and lookup behavior with tests.
This commit is contained in:
mizorewww committed 2026-10-04 11:44:38 +08:00
1 parent 92f09423c3
commit 83ac3f00ae
47 files changed
+3033 -501

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
export const codeStatus: Record<
string,
{ label: string; color: "default" | "primary" | "success" | "warning" }
> = {
active: { label: "可使用", color: "primary" },
processing: { label: "处理中", color: "primary" },
succeeded: { label: "已完成", color: "success" },
review: { label: "待核实", color: "warning" },
revoked: { label: "已停用", color: "default" },
};