- 号主交接超时(owner_timeout)后允许补提交交接说明,避免临时延误导致订单卡死 - 后台新增"重置交接"动作,可将超时订单恢复为待号主交接并刷新计时 - 交接超时改以进入待交接时刻为基准计算,新增 handoff_started_at 字段 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
62 lines
2.2 KiB
Go
62 lines
2.2 KiB
Go
package order
|
|
|
|
const (
|
|
orderStatusPendingPayment = "pending_payment"
|
|
orderStatusPendingHandoff = "pending_handoff"
|
|
orderStatusRenting = "renting"
|
|
orderStatusOverdue = "overdue"
|
|
orderStatusPendingCheckoutConfirm = "pending_checkout_confirm"
|
|
orderStatusPendingCheckoutAccept = "pending_checkout_accept"
|
|
orderStatusCheckoutDisputing = "checkout_disputing"
|
|
orderStatusCompleted = "completed"
|
|
orderStatusCancelled = "cancelled"
|
|
orderStatusClosed = "closed"
|
|
orderStatusAbnormal = "abnormal"
|
|
|
|
handoffStatusNone = "none"
|
|
handoffStatusPendingOwner = "pending_owner"
|
|
handoffStatusPendingRenterConfirm = "pending_renter_confirm"
|
|
handoffStatusReceived = "received"
|
|
handoffStatusReturnOverdue = "return_overdue"
|
|
handoffStatusPendingOwnerCheckout = "pending_owner_checkout"
|
|
handoffStatusPendingRenterCheckout = "pending_renter_checkout"
|
|
handoffStatusReturned = "returned"
|
|
handoffStatusOwnerTimeout = "owner_timeout"
|
|
handoffStatusCancelled = "cancelled"
|
|
handoffStatusAdminClosed = "admin_closed"
|
|
handoffStatusAdminAbnormal = "admin_abnormal"
|
|
|
|
settlementStatusUnsettled = "unsettled"
|
|
settlementStatusPending = "pending"
|
|
settlementStatusSettled = "settled"
|
|
settlementStatusClosed = "closed"
|
|
|
|
checkoutStatusSubmitted = "submitted"
|
|
checkoutStatusCountered = "countered"
|
|
checkoutStatusAccepted = "accepted"
|
|
checkoutStatusDisputed = "disputed"
|
|
|
|
refundStatusPending = "pending"
|
|
refundStatusRefunded = "refunded"
|
|
|
|
listingReviewStatusApproved = "approved"
|
|
|
|
listingStatusPublished = "published"
|
|
listingStatusRented = "rented"
|
|
listingStatusOffline = "offline"
|
|
listingStatusAbnormal = "abnormal"
|
|
|
|
accountStatusPublished = "published"
|
|
accountStatusRented = "rented"
|
|
accountStatusOffline = "offline"
|
|
accountStatusAbnormal = "abnormal"
|
|
|
|
walletBizOwnerIncome = "owner_income"
|
|
walletBizDepositCompensation = "deposit_compensation"
|
|
|
|
refundBizCancel = "cancel_refund"
|
|
refundBizAdminClose = "admin_close_refund"
|
|
refundBizAdmin = "admin_refund"
|
|
refundBizCheckout = "checkout_refund"
|
|
)
|