修复金额的问题
All checks were successful
构建并部署到测试环境(无 SSH) / build-and-deploy (push) Successful in 7m30s

This commit is contained in:
2026-04-23 10:09:23 +08:00
parent 10a35625a5
commit 6b1fbf4a92
17 changed files with 637 additions and 16 deletions

View File

@@ -933,13 +933,16 @@ components:
$ref: '#/components/schemas/DtoBoundCardInfo'
type: array
current_month_usage_mb:
description: 系统累计的自然月流量MBasset_type=card时有效
description: 系统自然月累计流量(MBasset_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: 运营商当前周期累计流量读数(MBasset_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: