From 38ef73fd7fc703c244ef6dd7042bfccaa9ee6f70 Mon Sep 17 00:00:00 2001 From: huang Date: Wed, 8 Apr 2026 10:45:13 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E8=A1=A5=E5=85=85=E8=B5=84=E4=BA=A7?= =?UTF-8?q?=E6=A0=87=E8=AF=86=E7=AC=A6=E6=A0=87=E5=87=86=E5=8C=96=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E6=96=87=E6=A1=A3=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/admin-openapi.yaml | 58 ++++++++++++++++++----------------------- 1 file changed, 25 insertions(+), 33 deletions(-) diff --git a/docs/admin-openapi.yaml b/docs/admin-openapi.yaml index 8b6f80c..673b3d9 100644 --- a/docs/admin-openapi.yaml +++ b/docs/admin-openapi.yaml @@ -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: