chore(bootstrap): 更新依赖注入和 API 文档
- Bootstrap 注册 RechargeHandler 和 RechargeService - Bootstrap 注册 RechargeStore 数据访问层 - 更新 PaymentCallback 依赖注入(添加 RechargeService) - 更新 OpenAPI 文档生成器注册充值接口 - 同步 admin-openapi.yaml 文档(新增充值和代购预检接口)
This commit is contained in:
@@ -1,10 +1,5 @@
|
||||
components:
|
||||
schemas:
|
||||
AppBindWechatRequest:
|
||||
properties:
|
||||
code:
|
||||
type: string
|
||||
type: object
|
||||
AppLoginRequest:
|
||||
properties:
|
||||
code:
|
||||
@@ -1222,6 +1217,22 @@ components:
|
||||
- perm_code
|
||||
- perm_type
|
||||
type: object
|
||||
DtoCreateRechargeRequest:
|
||||
properties:
|
||||
amount:
|
||||
description: 充值金额(分)
|
||||
type: integer
|
||||
payment_method:
|
||||
description: 支付方式
|
||||
type: string
|
||||
resource_id:
|
||||
description: 资源ID
|
||||
minimum: 0
|
||||
type: integer
|
||||
resource_type:
|
||||
description: 资源类型
|
||||
type: string
|
||||
type: object
|
||||
DtoCreateRoleRequest:
|
||||
properties:
|
||||
role_desc:
|
||||
@@ -2441,9 +2452,22 @@ components:
|
||||
properties:
|
||||
access_token:
|
||||
type: string
|
||||
buttons:
|
||||
description: 按钮权限码
|
||||
items:
|
||||
type: string
|
||||
nullable: true
|
||||
type: array
|
||||
expires_in:
|
||||
type: integer
|
||||
menus:
|
||||
description: 菜单树
|
||||
items:
|
||||
$ref: '#/components/schemas/DtoMenuNode'
|
||||
nullable: true
|
||||
type: array
|
||||
permissions:
|
||||
description: 所有权限码(向后兼容)
|
||||
items:
|
||||
type: string
|
||||
nullable: true
|
||||
@@ -2453,6 +2477,31 @@ components:
|
||||
user:
|
||||
$ref: '#/components/schemas/DtoUserInfo'
|
||||
type: object
|
||||
DtoMenuNode:
|
||||
properties:
|
||||
children:
|
||||
description: 子菜单
|
||||
items:
|
||||
$ref: '#/components/schemas/DtoMenuNode'
|
||||
nullable: true
|
||||
type: array
|
||||
id:
|
||||
description: 权限ID
|
||||
minimum: 0
|
||||
type: integer
|
||||
name:
|
||||
description: 菜单名称
|
||||
type: string
|
||||
perm_code:
|
||||
description: 权限码
|
||||
type: string
|
||||
sort:
|
||||
description: 排序值
|
||||
type: integer
|
||||
url:
|
||||
description: 路由路径
|
||||
type: string
|
||||
type: object
|
||||
DtoMyCommissionRecordItem:
|
||||
properties:
|
||||
amount:
|
||||
@@ -2934,6 +2983,37 @@ components:
|
||||
description: 请求路径
|
||||
type: string
|
||||
type: object
|
||||
DtoPersonalCustomerResponse:
|
||||
properties:
|
||||
avatar_url:
|
||||
description: 头像URL
|
||||
type: string
|
||||
created_at:
|
||||
description: 创建时间
|
||||
type: string
|
||||
id:
|
||||
description: 客户ID
|
||||
minimum: 0
|
||||
type: integer
|
||||
nickname:
|
||||
description: 昵称
|
||||
type: string
|
||||
phone:
|
||||
description: 手机号
|
||||
type: string
|
||||
status:
|
||||
description: 状态 (0:禁用, 1:启用)
|
||||
type: integer
|
||||
updated_at:
|
||||
description: 更新时间
|
||||
type: string
|
||||
wx_open_id:
|
||||
description: 微信OpenID
|
||||
type: string
|
||||
wx_union_id:
|
||||
description: 微信UnionID
|
||||
type: string
|
||||
type: object
|
||||
DtoPriceAdjustment:
|
||||
properties:
|
||||
type:
|
||||
@@ -2946,6 +3026,50 @@ components:
|
||||
- type
|
||||
- value
|
||||
type: object
|
||||
DtoPurchaseCheckRequest:
|
||||
properties:
|
||||
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
|
||||
resource_id:
|
||||
description: 资源ID (IoT卡ID或设备ID)
|
||||
minimum: 0
|
||||
type: integer
|
||||
required:
|
||||
- order_type
|
||||
- resource_id
|
||||
- package_ids
|
||||
type: object
|
||||
DtoPurchaseCheckResponse:
|
||||
properties:
|
||||
actual_payment:
|
||||
description: 实际支付金额(分)
|
||||
type: integer
|
||||
force_recharge_amount:
|
||||
description: 强充金额(分)
|
||||
type: integer
|
||||
message:
|
||||
description: 提示信息
|
||||
type: string
|
||||
need_force_recharge:
|
||||
description: 是否需要强充
|
||||
type: boolean
|
||||
total_package_amount:
|
||||
description: 套餐总价(分)
|
||||
type: integer
|
||||
wallet_credit:
|
||||
description: 钱包到账金额(分)
|
||||
type: integer
|
||||
type: object
|
||||
DtoRecallCardsReq:
|
||||
properties:
|
||||
iccids:
|
||||
@@ -3119,6 +3243,113 @@ components:
|
||||
nullable: true
|
||||
type: array
|
||||
type: object
|
||||
DtoRechargeCheckResponse:
|
||||
properties:
|
||||
current_accumulated:
|
||||
description: 当前累计充值金额(分)
|
||||
type: integer
|
||||
first_commission_paid:
|
||||
description: 一次性佣金是否已发放
|
||||
type: boolean
|
||||
force_recharge_amount:
|
||||
description: 强充金额(分)
|
||||
type: integer
|
||||
max_amount:
|
||||
description: 最大充值金额(分)
|
||||
type: integer
|
||||
message:
|
||||
description: 提示信息
|
||||
type: string
|
||||
min_amount:
|
||||
description: 最小充值金额(分)
|
||||
type: integer
|
||||
need_force_recharge:
|
||||
description: 是否需要强充
|
||||
type: boolean
|
||||
threshold:
|
||||
description: 佣金触发阈值(分)
|
||||
type: integer
|
||||
trigger_type:
|
||||
description: 触发类型
|
||||
type: string
|
||||
type: object
|
||||
DtoRechargeListResponse:
|
||||
properties:
|
||||
list:
|
||||
description: 列表数据
|
||||
items:
|
||||
$ref: '#/components/schemas/DtoRechargeResponse'
|
||||
nullable: true
|
||||
type: array
|
||||
page:
|
||||
description: 当前页码
|
||||
type: integer
|
||||
page_size:
|
||||
description: 每页数量
|
||||
type: integer
|
||||
total:
|
||||
description: 总记录数
|
||||
type: integer
|
||||
total_pages:
|
||||
description: 总页数
|
||||
type: integer
|
||||
type: object
|
||||
DtoRechargeResponse:
|
||||
properties:
|
||||
amount:
|
||||
description: 充值金额(分)
|
||||
type: integer
|
||||
completed_at:
|
||||
description: 完成时间
|
||||
format: date-time
|
||||
nullable: true
|
||||
type: string
|
||||
created_at:
|
||||
description: 创建时间
|
||||
format: date-time
|
||||
type: string
|
||||
id:
|
||||
description: 充值订单ID
|
||||
minimum: 0
|
||||
type: integer
|
||||
paid_at:
|
||||
description: 支付时间
|
||||
format: date-time
|
||||
nullable: true
|
||||
type: string
|
||||
payment_channel:
|
||||
description: 支付渠道
|
||||
nullable: true
|
||||
type: string
|
||||
payment_method:
|
||||
description: 支付方式
|
||||
type: string
|
||||
payment_transaction_id:
|
||||
description: 第三方支付交易号
|
||||
nullable: true
|
||||
type: string
|
||||
recharge_no:
|
||||
description: 充值订单号
|
||||
type: string
|
||||
status:
|
||||
description: 充值状态
|
||||
type: integer
|
||||
status_text:
|
||||
description: 状态文本
|
||||
type: string
|
||||
updated_at:
|
||||
description: 更新时间
|
||||
format: date-time
|
||||
type: string
|
||||
user_id:
|
||||
description: 用户ID
|
||||
minimum: 0
|
||||
type: integer
|
||||
wallet_id:
|
||||
description: 钱包ID
|
||||
minimum: 0
|
||||
type: integer
|
||||
type: object
|
||||
DtoRefreshTokenRequest:
|
||||
properties:
|
||||
refresh_token:
|
||||
@@ -4224,6 +4455,73 @@ components:
|
||||
description: 用户名
|
||||
type: string
|
||||
type: object
|
||||
DtoWechatH5Detail:
|
||||
properties:
|
||||
type:
|
||||
description: 场景类型 (iOS:苹果, Android:安卓, Wap:浏览器)
|
||||
type: string
|
||||
type: object
|
||||
DtoWechatH5SceneInfo:
|
||||
properties:
|
||||
h5_info:
|
||||
$ref: '#/components/schemas/DtoWechatH5Detail'
|
||||
payer_client_ip:
|
||||
description: 用户终端IP
|
||||
type: string
|
||||
required:
|
||||
- payer_client_ip
|
||||
type: object
|
||||
DtoWechatOAuthRequest:
|
||||
properties:
|
||||
code:
|
||||
description: 微信授权码
|
||||
type: string
|
||||
required:
|
||||
- code
|
||||
type: object
|
||||
DtoWechatOAuthResponse:
|
||||
properties:
|
||||
access_token:
|
||||
description: 访问令牌
|
||||
type: string
|
||||
customer:
|
||||
$ref: '#/components/schemas/DtoPersonalCustomerResponse'
|
||||
expires_in:
|
||||
description: 令牌有效期(秒)
|
||||
type: integer
|
||||
type: object
|
||||
DtoWechatPayH5Params:
|
||||
properties:
|
||||
scene_info:
|
||||
$ref: '#/components/schemas/DtoWechatH5SceneInfo'
|
||||
required:
|
||||
- scene_info
|
||||
type: object
|
||||
DtoWechatPayH5Response:
|
||||
properties:
|
||||
h5_url:
|
||||
description: 微信支付跳转URL
|
||||
type: string
|
||||
type: object
|
||||
DtoWechatPayJSAPIParams:
|
||||
properties:
|
||||
openid:
|
||||
description: 用户OpenID
|
||||
type: string
|
||||
required:
|
||||
- openid
|
||||
type: object
|
||||
DtoWechatPayJSAPIResponse:
|
||||
properties:
|
||||
pay_config:
|
||||
additionalProperties: {}
|
||||
description: JSSDK支付配置
|
||||
nullable: true
|
||||
type: object
|
||||
prepay_id:
|
||||
description: 预支付交易会话标识
|
||||
type: string
|
||||
type: object
|
||||
DtoWithdrawalApprovalResp:
|
||||
properties:
|
||||
id:
|
||||
@@ -10107,6 +10405,69 @@ paths:
|
||||
summary: 取消订单
|
||||
tags:
|
||||
- 订单管理
|
||||
/api/admin/orders/purchase-check:
|
||||
post:
|
||||
requestBody:
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/DtoPurchaseCheckRequest'
|
||||
responses:
|
||||
"200":
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
properties:
|
||||
code:
|
||||
description: 响应码
|
||||
example: 0
|
||||
type: integer
|
||||
data:
|
||||
$ref: '#/components/schemas/DtoPurchaseCheckResponse'
|
||||
msg:
|
||||
description: 响应消息
|
||||
example: success
|
||||
type: string
|
||||
timestamp:
|
||||
description: 时间戳
|
||||
format: date-time
|
||||
type: string
|
||||
required:
|
||||
- code
|
||||
- msg
|
||||
- data
|
||||
- timestamp
|
||||
type: object
|
||||
description: 成功
|
||||
"400":
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/ErrorResponse'
|
||||
description: 请求参数错误
|
||||
"401":
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/ErrorResponse'
|
||||
description: 未认证或认证已过期
|
||||
"403":
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/ErrorResponse'
|
||||
description: 无权访问
|
||||
"500":
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/ErrorResponse'
|
||||
description: 服务器内部错误
|
||||
security:
|
||||
- BearerAuth: []
|
||||
summary: 套餐购买预检
|
||||
tags:
|
||||
- 订单管理
|
||||
/api/admin/package-series:
|
||||
get:
|
||||
parameters:
|
||||
@@ -14547,7 +14908,7 @@ paths:
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/AppBindWechatRequest'
|
||||
$ref: '#/components/schemas/DtoWechatOAuthRequest'
|
||||
responses:
|
||||
"400":
|
||||
content:
|
||||
@@ -14748,6 +15109,56 @@ paths:
|
||||
summary: 更新个人资料
|
||||
tags:
|
||||
- 个人客户 - 账户
|
||||
/api/c/v1/wechat/auth:
|
||||
post:
|
||||
description: 使用微信授权码登录,自动创建或关联用户
|
||||
requestBody:
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/DtoWechatOAuthRequest'
|
||||
responses:
|
||||
"200":
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
properties:
|
||||
code:
|
||||
description: 响应码
|
||||
example: 0
|
||||
type: integer
|
||||
data:
|
||||
$ref: '#/components/schemas/DtoWechatOAuthResponse'
|
||||
msg:
|
||||
description: 响应消息
|
||||
example: success
|
||||
type: string
|
||||
timestamp:
|
||||
description: 时间戳
|
||||
format: date-time
|
||||
type: string
|
||||
required:
|
||||
- code
|
||||
- msg
|
||||
- data
|
||||
- timestamp
|
||||
type: object
|
||||
description: 成功
|
||||
"400":
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/ErrorResponse'
|
||||
description: 请求参数错误
|
||||
"500":
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/ErrorResponse'
|
||||
description: 服务器内部错误
|
||||
summary: 微信授权登录
|
||||
tags:
|
||||
- 个人客户 - 认证
|
||||
/api/callback/alipay:
|
||||
post:
|
||||
responses:
|
||||
@@ -15509,6 +15920,150 @@ paths:
|
||||
summary: 钱包支付
|
||||
tags:
|
||||
- H5 订单
|
||||
/api/h5/orders/{id}/wechat-pay/h5:
|
||||
post:
|
||||
parameters:
|
||||
- description: 订单ID
|
||||
in: path
|
||||
name: id
|
||||
required: true
|
||||
schema:
|
||||
description: 订单ID
|
||||
minimum: 0
|
||||
type: integer
|
||||
requestBody:
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/DtoWechatPayH5Params'
|
||||
responses:
|
||||
"200":
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
properties:
|
||||
code:
|
||||
description: 响应码
|
||||
example: 0
|
||||
type: integer
|
||||
data:
|
||||
$ref: '#/components/schemas/DtoWechatPayH5Response'
|
||||
msg:
|
||||
description: 响应消息
|
||||
example: success
|
||||
type: string
|
||||
timestamp:
|
||||
description: 时间戳
|
||||
format: date-time
|
||||
type: string
|
||||
required:
|
||||
- code
|
||||
- msg
|
||||
- data
|
||||
- timestamp
|
||||
type: object
|
||||
description: 成功
|
||||
"400":
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/ErrorResponse'
|
||||
description: 请求参数错误
|
||||
"401":
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/ErrorResponse'
|
||||
description: 未认证或认证已过期
|
||||
"403":
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/ErrorResponse'
|
||||
description: 无权访问
|
||||
"500":
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/ErrorResponse'
|
||||
description: 服务器内部错误
|
||||
security:
|
||||
- BearerAuth: []
|
||||
summary: 微信 H5 支付
|
||||
tags:
|
||||
- H5 订单
|
||||
/api/h5/orders/{id}/wechat-pay/jsapi:
|
||||
post:
|
||||
parameters:
|
||||
- description: 订单ID
|
||||
in: path
|
||||
name: id
|
||||
required: true
|
||||
schema:
|
||||
description: 订单ID
|
||||
minimum: 0
|
||||
type: integer
|
||||
requestBody:
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/DtoWechatPayJSAPIParams'
|
||||
responses:
|
||||
"200":
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
properties:
|
||||
code:
|
||||
description: 响应码
|
||||
example: 0
|
||||
type: integer
|
||||
data:
|
||||
$ref: '#/components/schemas/DtoWechatPayJSAPIResponse'
|
||||
msg:
|
||||
description: 响应消息
|
||||
example: success
|
||||
type: string
|
||||
timestamp:
|
||||
description: 时间戳
|
||||
format: date-time
|
||||
type: string
|
||||
required:
|
||||
- code
|
||||
- msg
|
||||
- data
|
||||
- timestamp
|
||||
type: object
|
||||
description: 成功
|
||||
"400":
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/ErrorResponse'
|
||||
description: 请求参数错误
|
||||
"401":
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/ErrorResponse'
|
||||
description: 未认证或认证已过期
|
||||
"403":
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/ErrorResponse'
|
||||
description: 无权访问
|
||||
"500":
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/ErrorResponse'
|
||||
description: 服务器内部错误
|
||||
security:
|
||||
- BearerAuth: []
|
||||
summary: 微信 JSAPI 支付
|
||||
tags:
|
||||
- H5 订单
|
||||
/api/h5/password:
|
||||
put:
|
||||
requestBody:
|
||||
@@ -15595,6 +16150,310 @@ paths:
|
||||
summary: 刷新 Token
|
||||
tags:
|
||||
- H5 认证
|
||||
/api/h5/wallets/recharge:
|
||||
post:
|
||||
requestBody:
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/DtoCreateRechargeRequest'
|
||||
responses:
|
||||
"200":
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
properties:
|
||||
code:
|
||||
description: 响应码
|
||||
example: 0
|
||||
type: integer
|
||||
data:
|
||||
$ref: '#/components/schemas/DtoRechargeResponse'
|
||||
msg:
|
||||
description: 响应消息
|
||||
example: success
|
||||
type: string
|
||||
timestamp:
|
||||
description: 时间戳
|
||||
format: date-time
|
||||
type: string
|
||||
required:
|
||||
- code
|
||||
- msg
|
||||
- data
|
||||
- timestamp
|
||||
type: object
|
||||
description: 成功
|
||||
"400":
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/ErrorResponse'
|
||||
description: 请求参数错误
|
||||
"401":
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/ErrorResponse'
|
||||
description: 未认证或认证已过期
|
||||
"403":
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/ErrorResponse'
|
||||
description: 无权访问
|
||||
"500":
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/ErrorResponse'
|
||||
description: 服务器内部错误
|
||||
security:
|
||||
- BearerAuth: []
|
||||
summary: 创建充值订单
|
||||
tags:
|
||||
- H5 充值
|
||||
/api/h5/wallets/recharge-check:
|
||||
get:
|
||||
parameters:
|
||||
- description: 资源类型
|
||||
in: query
|
||||
name: resource_type
|
||||
schema:
|
||||
description: 资源类型
|
||||
type: string
|
||||
- description: 资源ID
|
||||
in: query
|
||||
name: resource_id
|
||||
schema:
|
||||
description: 资源ID
|
||||
minimum: 0
|
||||
type: integer
|
||||
responses:
|
||||
"200":
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
properties:
|
||||
code:
|
||||
description: 响应码
|
||||
example: 0
|
||||
type: integer
|
||||
data:
|
||||
$ref: '#/components/schemas/DtoRechargeCheckResponse'
|
||||
msg:
|
||||
description: 响应消息
|
||||
example: success
|
||||
type: string
|
||||
timestamp:
|
||||
description: 时间戳
|
||||
format: date-time
|
||||
type: string
|
||||
required:
|
||||
- code
|
||||
- msg
|
||||
- data
|
||||
- timestamp
|
||||
type: object
|
||||
description: 成功
|
||||
"400":
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/ErrorResponse'
|
||||
description: 请求参数错误
|
||||
"401":
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/ErrorResponse'
|
||||
description: 未认证或认证已过期
|
||||
"403":
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/ErrorResponse'
|
||||
description: 无权访问
|
||||
"500":
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/ErrorResponse'
|
||||
description: 服务器内部错误
|
||||
security:
|
||||
- BearerAuth: []
|
||||
summary: 充值预检
|
||||
tags:
|
||||
- H5 充值
|
||||
/api/h5/wallets/recharges:
|
||||
get:
|
||||
parameters:
|
||||
- description: 页码
|
||||
in: query
|
||||
name: page
|
||||
schema:
|
||||
description: 页码
|
||||
type: integer
|
||||
- description: 每页数量
|
||||
in: query
|
||||
name: page_size
|
||||
schema:
|
||||
description: 每页数量
|
||||
type: integer
|
||||
- description: 钱包ID
|
||||
in: query
|
||||
name: wallet_id
|
||||
schema:
|
||||
description: 钱包ID
|
||||
minimum: 0
|
||||
nullable: true
|
||||
type: integer
|
||||
- description: 状态
|
||||
in: query
|
||||
name: status
|
||||
schema:
|
||||
description: 状态
|
||||
nullable: true
|
||||
type: integer
|
||||
- description: 开始时间
|
||||
in: query
|
||||
name: start_time
|
||||
schema:
|
||||
description: 开始时间
|
||||
format: date-time
|
||||
nullable: true
|
||||
type: string
|
||||
- description: 结束时间
|
||||
in: query
|
||||
name: end_time
|
||||
schema:
|
||||
description: 结束时间
|
||||
format: date-time
|
||||
nullable: true
|
||||
type: string
|
||||
responses:
|
||||
"200":
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
properties:
|
||||
code:
|
||||
description: 响应码
|
||||
example: 0
|
||||
type: integer
|
||||
data:
|
||||
$ref: '#/components/schemas/DtoRechargeListResponse'
|
||||
msg:
|
||||
description: 响应消息
|
||||
example: success
|
||||
type: string
|
||||
timestamp:
|
||||
description: 时间戳
|
||||
format: date-time
|
||||
type: string
|
||||
required:
|
||||
- code
|
||||
- msg
|
||||
- data
|
||||
- timestamp
|
||||
type: object
|
||||
description: 成功
|
||||
"400":
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/ErrorResponse'
|
||||
description: 请求参数错误
|
||||
"401":
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/ErrorResponse'
|
||||
description: 未认证或认证已过期
|
||||
"403":
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/ErrorResponse'
|
||||
description: 无权访问
|
||||
"500":
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/ErrorResponse'
|
||||
description: 服务器内部错误
|
||||
security:
|
||||
- BearerAuth: []
|
||||
summary: 获取充值订单列表
|
||||
tags:
|
||||
- H5 充值
|
||||
/api/h5/wallets/recharges/{id}:
|
||||
get:
|
||||
parameters:
|
||||
- description: 充值订单ID
|
||||
in: path
|
||||
name: id
|
||||
required: true
|
||||
schema:
|
||||
description: 充值订单ID
|
||||
minimum: 0
|
||||
type: integer
|
||||
responses:
|
||||
"200":
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
properties:
|
||||
code:
|
||||
description: 响应码
|
||||
example: 0
|
||||
type: integer
|
||||
data:
|
||||
$ref: '#/components/schemas/DtoRechargeResponse'
|
||||
msg:
|
||||
description: 响应消息
|
||||
example: success
|
||||
type: string
|
||||
timestamp:
|
||||
description: 时间戳
|
||||
format: date-time
|
||||
type: string
|
||||
required:
|
||||
- code
|
||||
- msg
|
||||
- data
|
||||
- timestamp
|
||||
type: object
|
||||
description: 成功
|
||||
"400":
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/ErrorResponse'
|
||||
description: 请求参数错误
|
||||
"401":
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/ErrorResponse'
|
||||
description: 未认证或认证已过期
|
||||
"403":
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/ErrorResponse'
|
||||
description: 无权访问
|
||||
"500":
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/ErrorResponse'
|
||||
description: 服务器内部错误
|
||||
security:
|
||||
- BearerAuth: []
|
||||
summary: 获取充值订单详情
|
||||
tags:
|
||||
- H5 充值
|
||||
/health:
|
||||
get:
|
||||
responses:
|
||||
|
||||
Reference in New Issue
Block a user