feat: 接入公开币种目录并统一多币种金额与语言初始化处理

This commit is contained in:
2026-05-21 15:14:00 +08:00
parent 626914feb6
commit 6b18e25766
27 changed files with 277 additions and 94 deletions

10
src/types/api/currency.ts Normal file
View File

@@ -0,0 +1,10 @@
export type PublicCurrencyRow = {
code: string;
name: string;
decimal_places: number;
is_bettable: boolean;
};
export type PublicCurrencyListData = {
items: PublicCurrencyRow[];
};