This commit is contained in:
@@ -933,13 +933,16 @@ components:
|
||||
$ref: '#/components/schemas/DtoBoundCardInfo'
|
||||
type: array
|
||||
current_month_usage_mb:
|
||||
description: 系统累计的自然月流量MB(asset_type=card时有效)
|
||||
description: 系统自然月累计流量(MB,asset_type=card时有效,不等于运营商周期口径)
|
||||
type: number
|
||||
device_protect_status:
|
||||
description: 保护期状态(asset_type=device时有效):none/stop/start
|
||||
type: string
|
||||
device_realtime:
|
||||
$ref: '#/components/schemas/DtoDeviceGatewayInfo'
|
||||
last_gateway_reading_mb:
|
||||
description: 运营商当前周期累计流量读数(MB,asset_type=card时有效,运营商口径展示建议读取该字段)
|
||||
type: number
|
||||
last_sync_time:
|
||||
description: 最后同步时间(asset_type=card时有效)
|
||||
format: date-time
|
||||
@@ -3226,6 +3229,9 @@ components:
|
||||
msisdn:
|
||||
description: 接入号
|
||||
type: string
|
||||
network_status:
|
||||
description: 网络状态:0停机 1开机(asset_type=card时有效)
|
||||
type: integer
|
||||
realname_policy:
|
||||
description: 实名认证策略 (none:无需实名, before_order:先实名后充值/购买, after_order:先充值/购买后实名)
|
||||
type: string
|
||||
@@ -4370,7 +4376,7 @@ components:
|
||||
minLength: 1
|
||||
type: string
|
||||
realname_policy:
|
||||
description: 实名认证策略 (none:无需实名, before_order:先实名后充值/购买, after_order:先充值/购买后实名),默认 none
|
||||
description: 实名认证策略 (none:无需实名, before_order:先实名后充值/购买, after_order:先充值/购买后实名),默认 after_order
|
||||
type: string
|
||||
required:
|
||||
- file_key
|
||||
@@ -4407,7 +4413,7 @@ components:
|
||||
minLength: 1
|
||||
type: string
|
||||
realname_policy:
|
||||
description: 实名认证策略 (none:无需实名, before_order:先实名后充值/购买, after_order:先充值/购买后实名),默认 none
|
||||
description: 实名认证策略 (none:无需实名, before_order:先实名后充值/购买, after_order:先充值/购买后实名),默认 after_order
|
||||
type: string
|
||||
required:
|
||||
- carrier_id
|
||||
@@ -6871,7 +6877,7 @@ components:
|
||||
nullable: true
|
||||
type: string
|
||||
current_month_usage_mb:
|
||||
description: 本月已用流量(MB)
|
||||
description: 系统自然月累计流量(MB,不等于运营商周期口径)
|
||||
type: number
|
||||
data_usage_mb:
|
||||
description: 累计流量使用(MB)
|
||||
@@ -6897,6 +6903,9 @@ components:
|
||||
format: date-time
|
||||
nullable: true
|
||||
type: string
|
||||
last_gateway_reading_mb:
|
||||
description: 运营商当前周期累计流量读数(MB,展示运营商口径时使用)
|
||||
type: number
|
||||
last_month_total_mb:
|
||||
description: 上月流量总量(MB)
|
||||
type: number
|
||||
@@ -9610,14 +9619,38 @@ paths:
|
||||
- 资产管理
|
||||
/api/admin/assets/{identifier}/packages:
|
||||
get:
|
||||
description: 查询该资产所有套餐记录,含虚流量换算结果。支持分页。
|
||||
description: 查询该资产所有套餐记录,含虚流量换算结果。支持分页与 status 状态筛选。
|
||||
parameters:
|
||||
- description: 资产标识符(ICCID 或 VirtualNo)
|
||||
- description: 页码(默认1)
|
||||
in: query
|
||||
name: page
|
||||
schema:
|
||||
description: 页码(默认1)
|
||||
minimum: 1
|
||||
type: integer
|
||||
- description: 每页条数(默认50,最大100)
|
||||
in: query
|
||||
name: page_size
|
||||
schema:
|
||||
description: 每页条数(默认50,最大100)
|
||||
maximum: 100
|
||||
minimum: 1
|
||||
type: integer
|
||||
- description: 套餐状态 (0:待生效, 1:生效中, 2:已用完, 3:已过期, 4:已失效)
|
||||
in: query
|
||||
name: status
|
||||
schema:
|
||||
description: 套餐状态 (0:待生效, 1:生效中, 2:已用完, 3:已过期, 4:已失效)
|
||||
maximum: 4
|
||||
minimum: 0
|
||||
nullable: true
|
||||
type: integer
|
||||
- description: 资产标识符(虚拟号/ICCID/IMEI/SN/MSISDN)
|
||||
in: path
|
||||
name: identifier
|
||||
required: true
|
||||
schema:
|
||||
description: 资产标识符(ICCID 或 VirtualNo)
|
||||
description: 资产标识符(虚拟号/ICCID/IMEI/SN/MSISDN)
|
||||
type: string
|
||||
responses:
|
||||
"200":
|
||||
@@ -15023,6 +15056,13 @@ paths:
|
||||
description: ICCID结束号
|
||||
maxLength: 20
|
||||
type: string
|
||||
- description: 运营商名称(模糊查询)
|
||||
in: query
|
||||
name: carrier_name
|
||||
schema:
|
||||
description: 运营商名称(模糊查询)
|
||||
maxLength: 100
|
||||
type: string
|
||||
responses:
|
||||
"200":
|
||||
content:
|
||||
|
||||
Reference in New Issue
Block a user