chore: stabilize lint and verify builds
This commit is contained in:
@@ -1262,6 +1262,40 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"/super/v1/finance/recharge-codes/activate": {
|
||||
"post": {
|
||||
"description": "Batch activate recharge codes",
|
||||
"consumes": [
|
||||
"application/json"
|
||||
],
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"Finance"
|
||||
],
|
||||
"summary": "Activate recharge codes",
|
||||
"parameters": [
|
||||
{
|
||||
"description": "Activate form",
|
||||
"name": "form",
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"$ref": "#/definitions/dto.RechargeCodeActivateForm"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "OK",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/dto.RechargeCodeActivateResponse"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/super/v1/health/overview": {
|
||||
"get": {
|
||||
"description": "Platform health overview",
|
||||
@@ -3616,6 +3650,48 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"/super/v1/users/{id}/wallet/credit": {
|
||||
"post": {
|
||||
"description": "Credit user wallet balance",
|
||||
"consumes": [
|
||||
"application/json"
|
||||
],
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"User"
|
||||
],
|
||||
"summary": "Credit user wallet",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "integer",
|
||||
"format": "int64",
|
||||
"description": "User ID",
|
||||
"name": "id",
|
||||
"in": "path",
|
||||
"required": true
|
||||
},
|
||||
{
|
||||
"description": "Credit form",
|
||||
"name": "form",
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"$ref": "#/definitions/dto.SuperWalletCreditForm"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "OK",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/super/v1/withdrawals": {
|
||||
"get": {
|
||||
"description": "List withdrawal orders across tenants",
|
||||
@@ -5299,40 +5375,6 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/v1/t/{tenantCode}/webhook/payment/notify": {
|
||||
"post": {
|
||||
"description": "Payment Webhook",
|
||||
"consumes": [
|
||||
"application/json"
|
||||
],
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"Transaction"
|
||||
],
|
||||
"summary": "Payment Webhook",
|
||||
"parameters": [
|
||||
{
|
||||
"description": "Webhook Data",
|
||||
"name": "form",
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"$ref": "#/definitions/dto.PaymentWebhookForm"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "success",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"definitions": {
|
||||
@@ -6315,7 +6357,6 @@
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"method": {
|
||||
"description": "Method 支付方式(alipay/balance)。",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
@@ -6323,8 +6364,7 @@
|
||||
"dto.OrderPayResponse": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"pay_params": {
|
||||
"description": "PayParams 支付参数(透传给前端)。",
|
||||
"status": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
@@ -6400,19 +6440,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"dto.PaymentWebhookForm": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"external_id": {
|
||||
"description": "ExternalID 第三方支付流水号。",
|
||||
"type": "string"
|
||||
},
|
||||
"order_id": {
|
||||
"description": "OrderID 订单ID。",
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
},
|
||||
"dto.RealNameForm": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@@ -6426,15 +6453,87 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"dto.RechargeCodeActivateForm": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"amount"
|
||||
],
|
||||
"properties": {
|
||||
"amount": {
|
||||
"description": "Amount 单码充值金额(元)。",
|
||||
"type": "number"
|
||||
},
|
||||
"quantity": {
|
||||
"description": "Quantity 生成数量(默认 1,最大 500)。",
|
||||
"type": "integer"
|
||||
},
|
||||
"remark": {
|
||||
"description": "Remark 备注信息(用于审计展示)。",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"dto.RechargeCodeActivateResponse": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"items": {
|
||||
"description": "Items 本次生成的充值码列表。",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/dto.RechargeCodeItem"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"dto.RechargeCodeItem": {
|
||||
"type": "object",
|
||||
"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"
|
||||
}
|
||||
}
|
||||
},
|
||||
"dto.RechargeForm": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"amount": {
|
||||
"description": "Amount 充值金额(单位元)。",
|
||||
"type": "number"
|
||||
},
|
||||
"method": {
|
||||
"description": "Method 充值方式(alipay)。",
|
||||
"code": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
@@ -6442,13 +6541,11 @@
|
||||
"dto.RechargeResponse": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"order_id": {
|
||||
"description": "OrderID 充值订单ID。",
|
||||
"type": "integer"
|
||||
"amount": {
|
||||
"type": "number"
|
||||
},
|
||||
"pay_params": {
|
||||
"description": "PayParams 支付参数(透传给前端)。",
|
||||
"type": "string"
|
||||
"order_id": {
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -8895,6 +8992,22 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"dto.SuperWalletCreditForm": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"amount"
|
||||
],
|
||||
"properties": {
|
||||
"amount": {
|
||||
"description": "Amount 充值金额(元)。",
|
||||
"type": "number"
|
||||
},
|
||||
"remark": {
|
||||
"description": "Remark 备注信息(用于审计展示)。",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"dto.SuperWalletResponse": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
||||
Reference in New Issue
Block a user