1. 清理预充值SQL

2. 查日志的脚本
This commit is contained in:
2026-05-25 14:30:09 +08:00
parent 226474b434
commit 20b5d70af9
6 changed files with 1779 additions and 11 deletions

View File

@@ -2387,7 +2387,7 @@ components:
DtoClientCreateOrderRequest:
properties:
app_type:
description: 应用类型(强充必传)(official_account:公众号, miniapp:小程序)
description: 应用类型(微信强充必传)(official_account:公众号, miniapp:小程序)
type: string
identifier:
description: 资产标识符SN/IMEI/虚拟号/ICCID/MSISDN
@@ -2401,6 +2401,9 @@ components:
type: integer
nullable: true
type: array
payment_method:
description: 支付方式(强充必传)(wechat:微信, alipay:支付宝)
type: string
required:
- identifier
- package_ids
@@ -2419,6 +2422,8 @@ components:
type: string
pay_config:
$ref: '#/components/schemas/DtoClientPayConfig'
payment_link:
$ref: '#/components/schemas/DtoClientPaymentLink'
recharge:
$ref: '#/components/schemas/DtoClientRechargeInfo'
type: object
@@ -2427,10 +2432,10 @@ components:
amount:
description: 充值金额(分)
maximum: 1e+07
minimum: 100
minimum: 1
type: integer
app_type:
description: 应用类型 (official_account:公众号, miniapp:小程序)
description: 应用类型(微信支付必传)(official_account:公众号, miniapp:小程序)
type: string
identifier:
description: 资产标识符SN/IMEI/虚拟号/ICCID/MSISDN
@@ -2438,13 +2443,12 @@ components:
minLength: 1
type: string
payment_method:
description: 支付方式 (wechat:微信支付)
description: 支付方式 (wechat:微信支付, alipay:支付宝)
type: string
required:
- identifier
- amount
- payment_method
- app_type
type: object
DtoClientExchangePendingResponse:
properties:
@@ -2656,7 +2660,7 @@ components:
description: 应用类型(微信支付必传)(official_account:公众号, miniapp:小程序)
type: string
payment_method:
description: 支付方式 (wallet:钱包, wechat:微信)
description: 支付方式 (wallet:钱包, wechat:微信, alipay:支付宝)
type: string
required:
- payment_method
@@ -2665,10 +2669,27 @@ components:
properties:
pay_config:
$ref: '#/components/schemas/DtoClientPayConfig'
payment_link:
$ref: '#/components/schemas/DtoClientPaymentLink'
payment_method:
description: 支付方式
type: string
type: object
DtoClientPaymentLink:
properties:
copy_link:
description: 复制到普通浏览器打开的支付链接(与 qr_link 相同)
type: string
pay_expire_at:
description: 支付链接过期时间RFC3339 格式)
type: string
payment_no:
description: 支付单号
type: string
qr_link:
description: 二维码内容链接,前端用该链接生成二维码
type: string
type: object
DtoClientRechargeCheckResponse:
properties:
force_recharge_amount:
@@ -2780,6 +2801,8 @@ components:
properties:
pay_config:
$ref: '#/components/schemas/DtoClientRechargePayConfig'
payment_link:
$ref: '#/components/schemas/DtoClientPaymentLink'
recharge:
$ref: '#/components/schemas/DtoClientRechargeResult'
type: object
@@ -3602,6 +3625,32 @@ components:
type: object
DtoCreateWechatConfigRequest:
properties:
ali_app_id:
description: 支付宝应用ID
maxLength: 100
type: string
ali_notify_url:
description: 支付宝异步通知地址
maxLength: 500
type: string
ali_pay_expire_minutes:
description: 支付过期分钟数 (默认30分钟)
maximum: 1440
minimum: 1
type: integer
ali_private_key:
description: 支付宝应用私钥(PEM格式)
type: string
ali_production:
description: 是否生产环境 (true:生产, false:沙箱)
type: boolean
ali_public_key:
description: 支付宝公钥(PEM格式用于验签)
type: string
ali_return_url:
description: 支付宝同步跳转地址
maxLength: 500
type: string
description:
description: 配置描述
maxLength: 500
@@ -3666,7 +3715,7 @@ components:
maxLength: 200
type: string
provider_type:
description: 支付渠道类型 (wechat:微信直连, fuiou:富友)
description: 支付渠道类型 (wechat:微信直连v3, wechat_v2:微信直连v2, fuiou:富友)
type: string
wx_api_v2_key:
description: 微信APIv2密钥
@@ -8626,6 +8675,39 @@ components:
type: object
DtoUpdateWechatConfigParams:
properties:
ali_app_id:
description: 支付宝应用ID
maxLength: 100
nullable: true
type: string
ali_notify_url:
description: 支付宝异步通知地址
maxLength: 500
nullable: true
type: string
ali_pay_expire_minutes:
description: 支付过期分钟数
maximum: 1440
minimum: 1
nullable: true
type: integer
ali_private_key:
description: 支付宝应用私钥(PEM格式)
nullable: true
type: string
ali_production:
description: 是否生产环境 (true:生产, false:沙箱)
nullable: true
type: boolean
ali_public_key:
description: 支付宝公钥(PEM格式用于验签)
nullable: true
type: string
ali_return_url:
description: 支付宝同步跳转地址
maxLength: 500
nullable: true
type: string
description:
description: 配置描述
maxLength: 500
@@ -8706,7 +8788,7 @@ components:
nullable: true
type: string
provider_type:
description: 支付渠道类型 (wechat:微信直连, fuiou:富友)
description: 支付渠道类型 (wechat:微信直连v3, wechat_v2:微信直连v2, fuiou:富友)
nullable: true
type: string
wx_api_v2_key:
@@ -8890,6 +8972,27 @@ components:
type: object
DtoWechatConfigResponse:
properties:
ali_app_id:
description: 支付宝应用ID
type: string
ali_notify_url:
description: 支付宝异步通知地址
type: string
ali_pay_expire_minutes:
description: 支付过期分钟数
type: integer
ali_private_key:
description: 支付宝应用私钥(配置状态)
type: string
ali_production:
description: 是否生产环境
type: boolean
ali_public_key:
description: 支付宝公钥(配置状态)
type: string
ali_return_url:
description: 支付宝同步跳转地址
type: string
created_at:
description: 创建时间
type: string
@@ -8949,7 +9052,7 @@ components:
description: 公众号Token(已脱敏)
type: string
provider_type:
description: 支付渠道类型 (wechat:微信直连, fuiou:富友)
description: 支付渠道类型 (wechat:微信直连v3, wechat_v2:微信直连v2, fuiou:富友)
type: string
updated_at:
description: 更新时间
@@ -23253,11 +23356,11 @@ paths:
maximum: 100
minimum: 1
type: integer
- description: 支付渠道类型 (wechat:微信直连, fuiou:富友)
- description: 支付渠道类型 (wechat:微信直连v3, wechat_v2:微信直连v2, fuiou:富友)
in: query
name: provider_type
schema:
description: 支付渠道类型 (wechat:微信直连, fuiou:富友)
description: 支付渠道类型 (wechat:微信直连v3, wechat_v2:微信直连v2, fuiou:富友)
nullable: true
type: string
- description: 是否激活 (true:已激活, false:未激活)