Billing implements reserve -> commit -> refund against bl_quota and bl_ledger with row-level locking and idempotency keys; the refund commits on its own transaction so a failed request cannot silently keep a user's quota. Task implements the unified task centre over the state machine. Identity issues and resolves users. Remaining domains are placeholders whose READMEs state what belongs there and what must not.
2 lines
86 B
Python
2 lines
86 B
Python
"""billing 域(V1):配额账本、流水、预扣三段式。不含支付。"""
|