新增运营商
Some checks failed
构建并部署前端到测试环境 / build-and-deploy (push) Failing after 8s

This commit is contained in:
sexygoat
2026-03-31 16:55:54 +08:00
parent 3372be99b8
commit 01f81c2178
6 changed files with 666 additions and 555 deletions

View File

@@ -19,6 +19,7 @@ export interface Carrier {
carrier_name: string
carrier_type: CarrierType
description?: string
data_reset_day?: number | null // 上游流量重置日(1-28)
status: number
created_at: string
updated_at: string
@@ -37,12 +38,14 @@ export interface CreateCarrierParams {
carrier_name: string
carrier_type: CarrierType
description?: string
data_reset_day?: number | null // 上游流量重置日(1-28)
}
// 更新运营商请求参数
export interface UpdateCarrierParams {
carrier_name?: string
description?: string
data_reset_day?: number | null // 上游流量重置日(1-28)
}
// 更新运营商状态参数

View File

@@ -85,6 +85,7 @@ export interface DeviceCardBinding {
carrier_name: string // 运营商名称
slot_position: number // 插槽位置 (1-4)
status: number // 卡状态 (1:在库, 2:已分销, 3:已激活, 4:已停用)
network_status: number // 网络状态 (0:停机, 1:开机)
bind_time: string | null // 绑定时间
is_current?: boolean // 是否为设备当前使用的卡
}