feat: 资产同步状态与同步轨迹入口
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 4m43s

This commit is contained in:
luo
2026-07-21 09:57:14 +08:00
parent 09225dd8bc
commit eddfd157ad
10 changed files with 208 additions and 44 deletions

View File

@@ -46,6 +46,15 @@ export interface AssetResolveParams {
include_usage_summary?: boolean // 是否返回当前世代流量汇总字段
}
// 资产轮询状态
export interface AssetPollingStatus {
enabled: boolean // 是否启用轮询
activity_level: string // 活跃级别
last_activity_at?: string | null // 最后活跃时间
last_activity_scene?: string | null // 最后活跃场景
next_poll_at?: string | null // 下次轮询时间
}
/**
* 资产解析/详情响应
* 对应接口GET /api/admin/assets/resolve/:identifier
@@ -80,6 +89,7 @@ export interface AssetResolveResponse {
updated_at: string // 更新时间
accumulated_recharge?: number // 累计充值金额(分)
first_commission_paid?: boolean // 一次性佣金是否已发放
polling?: AssetPollingStatus | null // 资产轮询状态
// ===== 卡专属字段 (asset_type === 'card' 时) =====
iccid?: string // ICCID