提供浏览器控制台,并补齐列表接口供页面读取。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-10-10 22:20:45 +08:00
parent 2a847263f2
commit 78601aae5e
8 changed files with 1020 additions and 4 deletions
+18
View File
@@ -49,6 +49,10 @@ class NodeOut(APIModel):
callback_url: str | None
class NodeView(NodeOut):
wallet_address: str
class HeartbeatIn(APIModel):
sn: SN
@@ -151,6 +155,20 @@ class WithdrawalOut(APIModel):
updated_at: datetime
class WithdrawalView(WithdrawalOut):
wallet_address: str
class BalanceOut(APIModel):
wallet_address: str
available_points: MoneyText
class SummaryOut(APIModel):
users: int
nodes: int
online: int
offline: int
authorized_amount: MoneyText
settled_points: MoneyText
pending_withdrawals: MoneyText