refactor(*): 数据同步与资源删除 - 收敛服务端真相并保证删除可恢复

This commit is contained in:
ddCat
2026-08-25 20:10:11 +08:00
parent d2748243d8
commit 48dca6c796
21 changed files with 970 additions and 1784 deletions

View File

@@ -13,6 +13,7 @@ type ChannelScope string
type ChannelInterfaceType string
type ApiCallStatus string
type ResourceStatus string
type ResourceDeletionStatus string
type BillingStatus string
type CreditLedgerType string
type RedeemCodeStatus string
@@ -91,6 +92,9 @@ const (
ResourceStatusFailed ResourceStatus = "failed"
ResourceStatusDeleted ResourceStatus = "deleted"
ResourceDeletionStatusPending ResourceDeletionStatus = "pending"
ResourceDeletionStatusProcessing ResourceDeletionStatus = "processing"
BillingStatusReserved BillingStatus = "reserved"
BillingStatusRunning BillingStatus = "running"
BillingStatusSettled BillingStatus = "settled"