docs: 补充资产标识符标准化接口文档更新

This commit is contained in:
2026-04-08 10:45:13 +08:00
parent 303bffbe84
commit 38ef73fd7f

View File

@@ -2201,6 +2201,30 @@ components:
- password
- user_type
type: object
DtoCreateAdminOrderRequest:
properties:
identifier:
description: 资产标识符ICCID 或 VirtualNo
maxLength: 100
minLength: 1
type: string
package_ids:
description: 套餐ID列表
items:
minimum: 0
type: integer
maxItems: 10
minItems: 1
nullable: true
type: array
payment_method:
description: 支付方式 (wallet:钱包支付, offline:线下支付)
type: string
required:
- identifier
- package_ids
- payment_method
type: object
DtoCreateAgentRechargeRequest:
properties:
amount:
@@ -2427,38 +2451,6 @@ components:
description: 提现单号
type: string
type: object
DtoCreateOrderRequest:
properties:
device_id:
description: 设备ID(设备购买时必填)
minimum: 0
nullable: true
type: integer
iot_card_id:
description: IoT卡ID(单卡购买时必填)
minimum: 0
nullable: true
type: integer
order_type:
description: 订单类型 (single_card:单卡购买, device:设备购买)
type: string
package_ids:
description: 套餐ID列表
items:
minimum: 0
type: integer
maxItems: 10
minItems: 1
nullable: true
type: array
payment_method:
description: 支付方式 (wallet:钱包支付, wechat:微信支付, alipay:支付宝支付)
type: string
required:
- order_type
- package_ids
- payment_method
type: object
DtoCreatePackageRequest:
properties:
calendar_type:
@@ -15396,7 +15388,7 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/DtoCreateOrderRequest'
$ref: '#/components/schemas/DtoCreateAdminOrderRequest'
responses:
"200":
content: