feat: 资产详情前代后代换货标识
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 5m17s
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 5m17s
This commit is contained in:
@@ -55,6 +55,21 @@ export interface AssetPollingStatus {
|
||||
next_poll_at?: string | null // 下次轮询时间
|
||||
}
|
||||
|
||||
// 换货关联资产
|
||||
export interface AssetExchangeTraceAsset {
|
||||
asset_type: AssetType
|
||||
asset_id: number | null
|
||||
identifier: string
|
||||
exchange_no: string
|
||||
can_view: boolean
|
||||
}
|
||||
|
||||
// 换货前后代链路
|
||||
export interface AssetExchangeTrace {
|
||||
previous_asset?: AssetExchangeTraceAsset | null
|
||||
next_asset?: AssetExchangeTraceAsset | null
|
||||
}
|
||||
|
||||
/**
|
||||
* 资产解析/详情响应
|
||||
* 对应接口:GET /api/admin/assets/resolve/:identifier
|
||||
@@ -90,6 +105,7 @@ export interface AssetResolveResponse {
|
||||
accumulated_recharge?: number // 累计充值金额(分)
|
||||
first_commission_paid?: boolean // 一次性佣金是否已发放
|
||||
polling?: AssetPollingStatus | null // 资产轮询状态
|
||||
exchange_trace?: AssetExchangeTrace | null // 换货前后代链路
|
||||
|
||||
// ===== 卡专属字段 (asset_type === 'card' 时) =====
|
||||
iccid?: string // ICCID
|
||||
|
||||
Reference in New Issue
Block a user