chore(集成验证): gofmt 修复 DTO 格式并重新生成 OpenAPI 文档
All checks were successful
构建并部署到测试环境(无 SSH) / build-and-deploy (push) Successful in 8m3s

- 修复 ListStandaloneIotCardRequest 和 ListDeviceRequest 字段对齐格式
- 重新生成 docs/admin-openapi.yaml,两个列表接口均新增 has_active_package 参数
- go build ./cmd/api、go build ./cmd/worker 均通过验证

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-19 12:10:59 +08:00
parent 9f5c5c3680
commit e2301d5f3b
3 changed files with 52 additions and 25 deletions

View File

@@ -4675,7 +4675,7 @@ components:
description: 状态名称
type: string
virtual_no:
description: 设备虚拟号
description: 虚拟号
type: string
type: object
DtoEnterpriseCardPageResult:
@@ -13249,6 +13249,13 @@ paths:
format: date-time
nullable: true
type: string
- description: 是否有生效中的套餐true:有生效中主套餐, false:无生效中主套餐)
in: query
name: has_active_package
schema:
description: 是否有生效中的套餐true:有生效中主套餐, false:无生效中主套餐)
nullable: true
type: boolean
responses:
"200":
content:
@@ -14925,11 +14932,17 @@ paths:
schema:
description: ICCID模糊查询
type: string
- description: 虚拟号(模糊查询)
- description: 虚拟号(模糊查询)
in: query
name: virtual_no
schema:
description: 虚拟号(模糊查询)
description: 虚拟号(模糊查询)
type: string
- description: 手机号(模糊查询)
in: query
name: msisdn
schema:
description: 手机号(模糊查询)
type: string
- description: 企业ID
in: path
@@ -16538,6 +16551,13 @@ paths:
description: ICCID(模糊查询)
maxLength: 20
type: string
- description: 卡虚拟号(模糊查询)
in: query
name: virtual_no
schema:
description: 卡虚拟号(模糊查询)
maxLength: 100
type: string
- description: 卡接入号(模糊查询)
in: query
name: msisdn
@@ -16581,6 +16601,13 @@ paths:
description: 是否有换卡记录 (true:有换卡记录, false:无换卡记录)
nullable: true
type: boolean
- description: 是否有生效中的套餐 (true:有生效中套餐, false:无生效中套餐, 不传:不过滤)
in: query
name: has_active_package
schema:
description: 是否有生效中的套餐 (true:有生效中套餐, false:无生效中套餐, 不传:不过滤)
nullable: true
type: boolean
- description: ICCID起始号
in: query
name: iccid_start