代码初始化

This commit is contained in:
2026-04-02 10:22:36 +08:00
commit 7394983236
35 changed files with 3014 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
package wallet
// WalletLogType 钱包日志操作类型
type WalletLogType string
const (
WalletLogTypeIncome WalletLogType = "income" // 收入
WalletLogTypeExpense WalletLogType = "expense" // 支出
WalletLogTypeFreeze WalletLogType = "freeze" // 冻结
WalletLogTypeUnfreeze WalletLogType = "unfreeze" // 解冻
)

View File

@@ -0,0 +1,10 @@
package wallet
// WalletStatus 钱包状态
type WalletStatus int
const (
WalletStatusDisabled WalletStatus = 0 // 禁用
WalletStatusEnabled WalletStatus = 1 // 启用
WalletStatusFrozen WalletStatus = -1 // 冻结
)