Files
sexygoat 14832f5c6f
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 4m30s
fix: 拖拽上传
2026-05-18 13:11:40 +08:00

21 lines
1.0 KiB
Markdown

## ADDED Requirements
### Requirement: Recharge Voucher Drag Upload
The system SHALL support drag-and-drop image selection for payment vouchers in the admin recharge order creation dialog within asset information.
#### Scenario: Drag image into recharge voucher upload area
- **GIVEN** 用户正在后台“资产信息”中创建线下支付充值订单
- **WHEN** 用户将一张符合要求的图片拖入支付凭证上传区
- **THEN** 系统 MUST 接受该图片作为支付凭证待上传文件
- **AND** 系统 MUST 继续沿用现有异步上传流程上传该文件
- **AND** 上传完成后系统 MUST 保存返回的 `payment_voucher_key`
#### Scenario: Click-to-select still works for recharge voucher upload
- **GIVEN** 用户正在后台“资产信息”中创建线下支付充值订单
- **WHEN** 用户点击支付凭证上传区选择一张符合要求的图片
- **THEN** 系统 MUST 继续支持原有点击选择行为
- **AND** 系统 MUST NOT 因新增拖拽能力破坏原有单文件限制、类型校验和大小校验