集中订单状态常量

This commit is contained in:
yml
2026-06-09 20:01:37 +08:00
parent 609b49f92b
commit 0990652f8b
7 changed files with 128 additions and 68 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ func (r *Repository) prepareRefund(order *model.RentalOrder, amountCent int64, b
if r.refundFunc == nil {
return nil, ErrDependencyUnavailable
}
order.RefundStatus = "pending"
order.RefundStatus = refundStatusPending
order.RefundAmountCent = amountCent
order.RefundedAt = nil
return &refundAction{