feat: 添加订单详情和退款功能,更新用户角色管理,增强超级管理员鉴权

This commit is contained in:
2025-12-24 09:48:31 +08:00
parent fcbc6bd394
commit 1e1132718c
17 changed files with 586 additions and 6 deletions

View File

@@ -0,0 +1,10 @@
package dto
type SuperOrderRefundForm struct {
// Force indicates bypassing the default refund window check (paid_at + 24h).
Force bool `json:"force,omitempty"`
// Reason is the human-readable refund reason used for audit.
Reason string `json:"reason,omitempty"`
// IdempotencyKey ensures refund request is processed at most once.
IdempotencyKey string `json:"idempotency_key,omitempty"`
}