feat: 实现平台抽成、提现审批、异步任务集成及安全审计功能
This commit is contained in:
@@ -402,7 +402,7 @@ func ContentAccessStatusItems() []requests.KV {
|
||||
// orders
|
||||
|
||||
// swagger:enum OrderType
|
||||
// ENUM( content_purchase, recharge )
|
||||
// ENUM( content_purchase, recharge, withdrawal )
|
||||
type OrderType string
|
||||
|
||||
// Description returns the Chinese label for the specific enum value.
|
||||
@@ -412,6 +412,8 @@ func (t OrderType) Description() string {
|
||||
return "购买内容"
|
||||
case OrderTypeRecharge:
|
||||
return "充值"
|
||||
case OrderTypeWithdrawal:
|
||||
return "提现"
|
||||
default:
|
||||
return "未知类型"
|
||||
}
|
||||
@@ -464,7 +466,7 @@ func OrderStatusItems() []requests.KV {
|
||||
// tenant_ledgers
|
||||
|
||||
// swagger:enum TenantLedgerType
|
||||
// ENUM( debit_purchase, credit_refund, freeze, unfreeze, adjustment )
|
||||
// ENUM( debit_purchase, credit_refund, credit_withdrawal, freeze, unfreeze, adjustment )
|
||||
type TenantLedgerType string
|
||||
|
||||
// Description returns the Chinese label for the specific enum value.
|
||||
@@ -474,6 +476,8 @@ func (t TenantLedgerType) Description() string {
|
||||
return "购买扣款"
|
||||
case TenantLedgerTypeCreditRefund:
|
||||
return "退款回滚"
|
||||
case TenantLedgerTypeCreditWithdrawal:
|
||||
return "提现扣款"
|
||||
case TenantLedgerTypeFreeze:
|
||||
return "冻结"
|
||||
case TenantLedgerTypeUnfreeze:
|
||||
|
||||
Reference in New Issue
Block a user