chore: stabilize lint and verify builds
This commit is contained in:
@@ -714,13 +714,11 @@ definitions:
|
||||
dto.OrderPayForm:
|
||||
properties:
|
||||
method:
|
||||
description: Method 支付方式(alipay/balance)。
|
||||
type: string
|
||||
type: object
|
||||
dto.OrderPayResponse:
|
||||
properties:
|
||||
pay_params:
|
||||
description: PayParams 支付参数(透传给前端)。
|
||||
status:
|
||||
type: string
|
||||
type: object
|
||||
dto.OrderStatisticsResponse:
|
||||
@@ -771,15 +769,6 @@ definitions:
|
||||
description: Name 租户名称。
|
||||
type: string
|
||||
type: object
|
||||
dto.PaymentWebhookForm:
|
||||
properties:
|
||||
external_id:
|
||||
description: ExternalID 第三方支付流水号。
|
||||
type: string
|
||||
order_id:
|
||||
description: OrderID 订单ID。
|
||||
type: integer
|
||||
type: object
|
||||
dto.RealNameForm:
|
||||
properties:
|
||||
id_card:
|
||||
@@ -789,23 +778,72 @@ definitions:
|
||||
description: Realname 真实姓名。
|
||||
type: string
|
||||
type: object
|
||||
dto.RechargeForm:
|
||||
dto.RechargeCodeActivateForm:
|
||||
properties:
|
||||
amount:
|
||||
description: Amount 充值金额(单位元)。
|
||||
description: Amount 单码充值金额(元)。
|
||||
type: number
|
||||
method:
|
||||
description: Method 充值方式(alipay)。
|
||||
quantity:
|
||||
description: Quantity 生成数量(默认 1,最大 500)。
|
||||
type: integer
|
||||
remark:
|
||||
description: Remark 备注信息(用于审计展示)。
|
||||
type: string
|
||||
required:
|
||||
- amount
|
||||
type: object
|
||||
dto.RechargeCodeActivateResponse:
|
||||
properties:
|
||||
items:
|
||||
description: Items 本次生成的充值码列表。
|
||||
items:
|
||||
$ref: '#/definitions/dto.RechargeCodeItem'
|
||||
type: array
|
||||
type: object
|
||||
dto.RechargeCodeItem:
|
||||
properties:
|
||||
activated_at:
|
||||
description: ActivatedAt 激活时间(RFC3339)。
|
||||
type: string
|
||||
activated_by:
|
||||
description: ActivatedBy 激活操作者ID。
|
||||
type: integer
|
||||
amount:
|
||||
description: Amount 充值金额(元)。
|
||||
type: number
|
||||
code:
|
||||
description: Code 充值码明文。
|
||||
type: string
|
||||
id:
|
||||
description: ID 充值码ID。
|
||||
type: integer
|
||||
redeemed_at:
|
||||
description: RedeemedAt 兑换时间(RFC3339)。
|
||||
type: string
|
||||
redeemed_by:
|
||||
description: RedeemedBy 兑换用户ID。
|
||||
type: integer
|
||||
redeemed_order_id:
|
||||
description: RedeemedOrderID 兑换生成的充值订单ID。
|
||||
type: integer
|
||||
remark:
|
||||
description: Remark 激活备注信息。
|
||||
type: string
|
||||
status:
|
||||
description: Status 充值码状态(active/redeemed)。
|
||||
type: string
|
||||
type: object
|
||||
dto.RechargeForm:
|
||||
properties:
|
||||
code:
|
||||
type: string
|
||||
type: object
|
||||
dto.RechargeResponse:
|
||||
properties:
|
||||
amount:
|
||||
type: number
|
||||
order_id:
|
||||
description: OrderID 充值订单ID。
|
||||
type: integer
|
||||
pay_params:
|
||||
description: PayParams 支付参数(透传给前端)。
|
||||
type: string
|
||||
type: object
|
||||
dto.ReportExportResponse:
|
||||
properties:
|
||||
@@ -2511,6 +2549,17 @@ definitions:
|
||||
description: VerifiedAt 实名认证时间(RFC3339)。
|
||||
type: string
|
||||
type: object
|
||||
dto.SuperWalletCreditForm:
|
||||
properties:
|
||||
amount:
|
||||
description: Amount 充值金额(元)。
|
||||
type: number
|
||||
remark:
|
||||
description: Remark 备注信息(用于审计展示)。
|
||||
type: string
|
||||
required:
|
||||
- amount
|
||||
type: object
|
||||
dto.SuperWalletResponse:
|
||||
properties:
|
||||
balance:
|
||||
@@ -4108,6 +4157,28 @@ paths:
|
||||
summary: List ledgers
|
||||
tags:
|
||||
- Finance
|
||||
/super/v1/finance/recharge-codes/activate:
|
||||
post:
|
||||
consumes:
|
||||
- application/json
|
||||
description: Batch activate recharge codes
|
||||
parameters:
|
||||
- description: Activate form
|
||||
in: body
|
||||
name: form
|
||||
required: true
|
||||
schema:
|
||||
$ref: '#/definitions/dto.RechargeCodeActivateForm'
|
||||
produces:
|
||||
- application/json
|
||||
responses:
|
||||
"200":
|
||||
description: OK
|
||||
schema:
|
||||
$ref: '#/definitions/dto.RechargeCodeActivateResponse'
|
||||
summary: Activate recharge codes
|
||||
tags:
|
||||
- Finance
|
||||
/super/v1/health/overview:
|
||||
get:
|
||||
consumes:
|
||||
@@ -5583,6 +5654,34 @@ paths:
|
||||
summary: Get user wallet
|
||||
tags:
|
||||
- User
|
||||
/super/v1/users/{id}/wallet/credit:
|
||||
post:
|
||||
consumes:
|
||||
- application/json
|
||||
description: Credit user wallet balance
|
||||
parameters:
|
||||
- description: User ID
|
||||
format: int64
|
||||
in: path
|
||||
name: id
|
||||
required: true
|
||||
type: integer
|
||||
- description: Credit form
|
||||
in: body
|
||||
name: form
|
||||
required: true
|
||||
schema:
|
||||
$ref: '#/definitions/dto.SuperWalletCreditForm'
|
||||
produces:
|
||||
- application/json
|
||||
responses:
|
||||
"200":
|
||||
description: OK
|
||||
schema:
|
||||
type: string
|
||||
summary: Credit user wallet
|
||||
tags:
|
||||
- User
|
||||
/super/v1/users/statistics:
|
||||
get:
|
||||
consumes:
|
||||
@@ -6715,28 +6814,6 @@ paths:
|
||||
summary: Upload part
|
||||
tags:
|
||||
- Common
|
||||
/v1/t/{tenantCode}/webhook/payment/notify:
|
||||
post:
|
||||
consumes:
|
||||
- application/json
|
||||
description: Payment Webhook
|
||||
parameters:
|
||||
- description: Webhook Data
|
||||
in: body
|
||||
name: form
|
||||
required: true
|
||||
schema:
|
||||
$ref: '#/definitions/dto.PaymentWebhookForm'
|
||||
produces:
|
||||
- application/json
|
||||
responses:
|
||||
"200":
|
||||
description: success
|
||||
schema:
|
||||
type: string
|
||||
summary: Payment Webhook
|
||||
tags:
|
||||
- Transaction
|
||||
securityDefinitions:
|
||||
BasicAuth:
|
||||
type: basic
|
||||
|
||||
Reference in New Issue
Block a user