feat: 手动实名和套餐列表退款
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 5m53s

This commit is contained in:
sexygoat
2026-04-23 18:13:07 +08:00
parent 719db517f2
commit cd2ca96873
12 changed files with 539 additions and 180 deletions

View File

@@ -216,6 +216,7 @@ export interface AssetPackageUsageRecord {
master_usage_id?: number | null // 主套餐 ID加油包时有值
priority?: number // 优先级
created_at?: string // 创建时间
order_no?: string // 订单号
}
/**
@@ -412,3 +413,23 @@ export interface AssetOrdersResponse {
previous_generations?: GenerationOrders[] // 前代订单(仅 include_previous=true 时有)
truncated: boolean // 是否截断(换货链超过 10 代)
}
// ========== 更新实名状态 ==========
/**
* 更新实名状态请求
*/
export interface UpdateAssetRealnameStatusRequest {
real_name_status: 0 | 1 // 实名状态 (0:未实名, 1:已实名)
}
/**
* 更新实名状态响应
*/
export interface DtoUpdateAssetRealnameStatusResponse {
asset_id: number // 资产ID
asset_type: string // 资产类型 (card:IoT卡)
first_realname_at: string | null // 首次实名时间(仅已实名时可能有值)
real_name_status: number // 更新后的实名状态 (0:未实名, 1:已实名)
real_name_status_name: string // 实名状态名称(中文)
}