支持结账多轮协商与按实际消耗双比例结算

允许双方最多 6 轮修改结账方案;哈夫币按实际消耗与 buyer/seller 比例计价,打超从押金扣,押金不足禁止自动完结并引导人工争议。同步收紧结账明细展示密度。
This commit is contained in:
yml2213
2026-07-18 20:35:16 +08:00
parent 98772867a7
commit 1a4776bba0
19 changed files with 713 additions and 140 deletions
@@ -41,6 +41,12 @@ const (
checkoutStatusAccepted = "accepted"
checkoutStatusDisputed = "disputed"
checkoutTurnOwner = "owner"
checkoutTurnRenter = "renter"
// checkoutMaxRounds 结账协商最大提案轮次(含租客首提)
checkoutMaxRounds = 6
refundStatusPending = "pending"
refundStatusPendingReview = "pending_review"
refundStatusRefunded = "refunded"