feat: 后台线下支付订单强制上传支付凭证
All checks were successful
构建并部署到测试环境(无 SSH) / build-and-deploy (push) Successful in 7m15s

在后台创建订单接口中新增 payment_voucher_key 字段,线下支付方式
下该字段为必填,存储对象存储 file_key,便于后续追溯与审计。

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-08 16:45:06 +08:00
parent 78d6aded9b
commit cc56e27c01
6 changed files with 31 additions and 5 deletions

View File

@@ -2220,6 +2220,10 @@ components:
payment_method:
description: 支付方式 (wallet:钱包支付, offline:线下支付)
type: string
payment_voucher_key:
description: 线下支付凭证对象存储file_keypayment_method=offline时必填通过/storage/upload-url上传图片后获得
maxLength: 500
type: string
required:
- identifier
- package_ids
@@ -4945,7 +4949,7 @@ components:
nullable: true
type: string
payment_method:
description: 支付方式 (wallet:钱包支付, wechat:微信支付, alipay:支付宝支付)
description: 支付方式 (wallet:钱包支付, wechat:微信支付, alipay:支付宝支付, offline:线下支付)
type: string
payment_status:
description: 支付状态 (1:待支付, 2:已支付, 3:已取消, 4:已退款)
@@ -4953,6 +4957,9 @@ components:
payment_status_text:
description: 支付状态文本
type: string
payment_voucher_key:
description: 线下支付凭证对象存储file_key仅线下支付订单有值
type: string
purchase_remark:
description: 购买备注
type: string