docs: 补充资产标识符标准化接口文档更新
This commit is contained in:
@@ -2201,6 +2201,30 @@ components:
|
|||||||
- password
|
- password
|
||||||
- user_type
|
- user_type
|
||||||
type: object
|
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:
|
DtoCreateAgentRechargeRequest:
|
||||||
properties:
|
properties:
|
||||||
amount:
|
amount:
|
||||||
@@ -2427,38 +2451,6 @@ components:
|
|||||||
description: 提现单号
|
description: 提现单号
|
||||||
type: string
|
type: string
|
||||||
type: object
|
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:
|
DtoCreatePackageRequest:
|
||||||
properties:
|
properties:
|
||||||
calendar_type:
|
calendar_type:
|
||||||
@@ -15396,7 +15388,7 @@ paths:
|
|||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/DtoCreateOrderRequest'
|
$ref: '#/components/schemas/DtoCreateAdminOrderRequest'
|
||||||
responses:
|
responses:
|
||||||
"200":
|
"200":
|
||||||
content:
|
content:
|
||||||
|
|||||||
Reference in New Issue
Block a user