修复当前卡不对的问题

This commit is contained in:
2026-05-06 10:19:21 +08:00
parent 21b73a750d
commit 001f8caf35
3 changed files with 34 additions and 8 deletions

View File

@@ -658,6 +658,16 @@ components:
current_package:
description: 当前套餐名称(无套餐时为空)
type: string
current_package_activated_at:
description: 当前主套餐开始时间
format: date-time
nullable: true
type: string
current_package_expires_at:
description: 当前主套餐过期时间
format: date-time
nullable: true
type: string
current_package_usage_id:
description: 当前主套餐的套餐使用记录ID无主套餐时为 null
minimum: 0
@@ -1179,6 +1189,16 @@ components:
current_package:
description: 当前套餐名称(无套餐时为空)
type: string
current_package_activated_at:
description: 当前主套餐开始时间
format: date-time
nullable: true
type: string
current_package_expires_at:
description: 当前主套餐过期时间
format: date-time
nullable: true
type: string
current_package_usage_id:
description: 当前主套餐的套餐使用记录ID无主套餐时为 null
minimum: 0
@@ -13591,6 +13611,7 @@ paths:
- 文件格式:仅支持 .xlsx (Excel 2007+)
- 必须包含列(首行为表头):
- `virtual_no`: 设备虚拟号(**必填**,全局唯一;**为空的行记为失败,不再静默跳过**
- `sn`: 设备 SN
- `device_name`: 设备名称
- `device_model`: 设备型号
- `device_type`: 设备类型
@@ -13599,6 +13620,7 @@ paths:
- `max_sim_slots`: 最大插槽数默认4范围1-4
- `iccid_1` ~ `iccid_4`: 固定槽位的卡 ICCID`iccid_1`=槽1`iccid_2`=槽2`iccid_3`=槽3`iccid_4`=槽4卡必须已存在且未绑定
- 槽位规则:中间留空不会触发前移补位;如果 `max_sim_slots=2`,则 `iccid_3`、`iccid_4` 必须留空,否则该行失败
- 固定列顺序:`virtual_no`、`sn`、`device_name`、`device_model`、`device_type`、`imei`、`manufacturer`、`max_sim_slots`、`iccid_1`、`iccid_2`、`iccid_3`、`iccid_4`
- 列格式:设置为文本格式(避免长数字被转为科学记数法)
requestBody:
content: