feat: 补全客户端订单和资产 DTO _name 字段,修复代码格式

This commit is contained in:
2026-04-14 11:19:57 +08:00
parent 42c5ec912f
commit c35542f911
6 changed files with 164 additions and 97 deletions

View File

@@ -76,6 +76,9 @@ components:
status:
description: 状态 (0:禁用, 1:启用)
type: integer
status_name:
description: 状态名称(中文)
type: string
updated_at:
description: 更新时间
type: string
@@ -604,6 +607,9 @@ components:
activation_status:
description: 激活状态0:未激活, 1:已激活)
type: integer
activation_status_name:
description: 激活状态名称(中文)
type: string
asset_id:
description: 资产ID
minimum: 0
@@ -625,6 +631,9 @@ components:
bound_device_no:
description: 绑定的设备虚拟号
type: string
bound_phone:
description: 当前登录用户绑定的手机号
type: string
card_category:
description: 卡业务类型normal:普通卡, industry:行业卡)
type: string
@@ -684,6 +693,9 @@ components:
network_status:
description: 网络状态0:停机, 1:开机)
type: integer
network_status_name:
description: 网络状态名称(中文)
type: string
package_remain_mb:
description: 当前剩余虚流量(MB),已按虚流量比例换算
type: number
@@ -696,12 +708,18 @@ components:
real_name_status:
description: 实名状态0:未实名, 1:已实名)
type: integer
real_name_status_name:
description: 实名状态名称(中文)
type: string
sn:
description: 设备序列号
type: string
status:
description: 状态1:在库, 2:已分销, 3:已激活, 4:已停用)
type: integer
status_name:
description: 状态名称(中文)
type: string
virtual_no:
description: 虚拟号
type: string
@@ -948,9 +966,6 @@ components:
type: object
DtoAssetResolveResponse:
properties:
accumulated_recharge:
description: 累计充值金额(分)
type: integer
activated_at:
description: 激活时间
format: date-time
@@ -1023,9 +1038,6 @@ components:
enable_polling:
description: 是否参与轮询
type: boolean
first_commission_paid:
description: 一次性佣金是否已发放
type: boolean
iccid:
description: 卡ICCIDasset_type=card时有效
type: string
@@ -1103,8 +1115,11 @@ components:
description: 固件版本号(设备类型时有效)
type: string
status:
description: 资产状态
description: 资产状态 (1:在库, 2:已分销, 3:已激活, 4:已停用)
type: integer
status_name:
description: 资产状态名称(中文)
type: string
supplier:
description: 供应商
type: string
@@ -1807,6 +1822,9 @@ components:
payment_status:
description: 支付状态 (1:待支付, 2:已支付, 3:已取消, 4:已退款)
type: integer
payment_status_name:
description: 支付状态名称(中文)
type: string
total_amount:
description: 订单总金额(分)
type: integer
@@ -1826,6 +1844,9 @@ components:
payment_status:
description: 支付状态 (1:待支付, 2:已支付, 3:已取消, 4:已退款)
type: integer
payment_status_name:
description: 支付状态名称(中文)
type: string
total_amount:
description: 订单总金额(分)
type: integer
@@ -1851,6 +1872,9 @@ components:
payment_status:
description: 支付状态 (1:待支付, 2:已支付, 3:已取消, 4:已退款)
type: integer
payment_status_name:
description: 支付状态名称(中文)
type: string
total_amount:
description: 订单总金额(分)
type: integer
@@ -2005,6 +2029,9 @@ components:
status:
description: 状态 (0:待支付, 1:已支付, 2:已关闭)
type: integer
status_name:
description: 状态名称(中文)
type: string
type: object
DtoClientRechargeListItem:
properties:
@@ -3160,6 +3187,9 @@ components:
status:
description: 卡状态 (1:在库, 2:已分销, 3:已激活, 4:已停用)
type: integer
status_name:
description: 卡状态名称(中文)
type: string
type: object
DtoDeviceCardItem:
properties:
@@ -3656,9 +3686,6 @@ components:
type: object
DtoDeviceResponse:
properties:
accumulated_recharge:
description: 累计充值金额(分)
type: integer
activated_at:
description: 激活时间
format: date-time
@@ -3683,9 +3710,6 @@ components:
device_type:
description: 设备类型
type: string
first_commission_paid:
description: 一次性佣金是否已发放
type: boolean
id:
description: 设备ID
minimum: 0
@@ -4911,6 +4935,9 @@ components:
commission_status:
description: 佣金状态 (1:待计算, 2:已计算)
type: integer
commission_status_name:
description: 佣金状态名称(中文)
type: string
created_at:
description: 创建时间
format: date-time
@@ -5085,9 +5112,15 @@ components:
shelf_status:
description: 上架状态 (1:上架, 2:下架)
type: integer
shelf_status_name:
description: 上架状态名称(中文)
type: string
status:
description: 状态 (0:禁用, 1:启用)
type: integer
status_name:
description: 状态名称(中文)
type: string
suggested_retail_price:
description: 建议售价(分)
type: integer
@@ -5965,6 +5998,9 @@ components:
status:
description: 状态 (1:待审批, 2:已通过, 3:已拒绝, 4:已退回)
type: integer
status_name:
description: 状态名称(中文)
type: string
updated_at:
description: 更新时间
type: string
@@ -6349,6 +6385,9 @@ components:
status:
description: 状态 (0:禁用, 1:启用)
type: integer
status_name:
description: 状态名称(中文)
type: string
updated_at:
description: 更新时间
type: string
@@ -6648,9 +6687,6 @@ components:
type: object
DtoStandaloneIotCardResponse:
properties:
accumulated_recharge:
description: 累计充值金额(分)
type: integer
activated_at:
description: 激活时间
format: date-time
@@ -6659,6 +6695,9 @@ components:
activation_status:
description: 激活状态 (0:未激活, 1:已激活)
type: integer
activation_status_name:
description: 激活状态名称(中文)
type: string
batch_no:
description: 批次号
type: string
@@ -6696,9 +6735,6 @@ components:
enable_polling:
description: 是否参与轮询
type: boolean
first_commission_paid:
description: 一次性佣金是否已发放
type: boolean
iccid:
description: ICCID
type: string
@@ -6728,9 +6764,15 @@ components:
network_status:
description: 网络状态 (0:停机, 1:开机)
type: integer
network_status_name:
description: 网络状态名称(中文)
type: string
real_name_status:
description: 实名状态 (0:未实名, 1:已实名)
type: integer
real_name_status_name:
description: 实名状态名称(中文)
type: string
series_id:
description: 套餐系列ID
minimum: 0
@@ -6750,6 +6792,9 @@ components:
status:
description: 状态 (1:在库, 2:已分销, 3:已激活, 4:已停用)
type: integer
status_name:
description: 状态名称(中文)
type: string
supplier:
description: 供应商
type: string