feat: 新增卡视角以及设备视角的实名同步时间,卡状态同步时间,流量同步时间
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 4m56s

This commit is contained in:
sexygoat
2026-05-18 12:23:35 +08:00
parent 877c741d72
commit 894aea0e74
18 changed files with 544 additions and 63 deletions

View File

@@ -60,7 +60,7 @@ export interface AgentRechargeListResponse {
// 创建代理充值订单请求
export interface CreateAgentRechargeRequest {
amount: number // 充值金额(单位:分),范围 10000 ~ 100000000
amount: number // 充值金额(单位:分),最小 1即 ¥0.01
payment_method: AgentRechargePaymentMethod
shop_id: number
payment_voucher_key?: string // 线下支付凭证payment_method=offline 时必填)

View File

@@ -122,6 +122,9 @@ export interface AssetBoundCard {
slot_position: number // 插槽位置
is_current?: boolean // 是否为设备当前使用的卡
gateway_extend?: string // Gateway 卡状态扩展字段,原样返回上游 extend
last_data_check_at?: string | null // 流量同步时间
last_real_name_check_at?: string | null // 实名同步时间
last_card_status_check_at?: string | null // 卡状态同步时间
}
// ========== 资产实时状态响应 ==========
@@ -179,7 +182,10 @@ export interface AssetRealtimeStatusResponse {
realname_policy?: string // 实名认证策略(仅 card
current_month_usage_mb?: number // 本月已用流量 MB仅 card
last_gateway_reading_mb?: number // 运营商周期月内已用流量 MB仅 card
last_sync_time?: string // 最后同步时间(仅 card
last_sync_time?: string | null // 最后同步时间(仅 card
last_data_check_at?: string | null // 流量同步时间
last_real_name_check_at?: string | null // 实名同步时间
last_card_status_check_at?: string | null // 卡状态同步时间
// ===== 设备专属字段 =====
device_protect_status?: DeviceProtectStatus // 保护期(仅 device