feat: 资产同步状态与同步轨迹入口
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 4m43s
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 4m43s
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user