代码初始化
This commit is contained in:
11
consts/wallet/wallet_log_type.go
Normal file
11
consts/wallet/wallet_log_type.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package wallet
|
||||
|
||||
// WalletLogType 钱包日志操作类型
|
||||
type WalletLogType string
|
||||
|
||||
const (
|
||||
WalletLogTypeIncome WalletLogType = "income" // 收入
|
||||
WalletLogTypeExpense WalletLogType = "expense" // 支出
|
||||
WalletLogTypeFreeze WalletLogType = "freeze" // 冻结
|
||||
WalletLogTypeUnfreeze WalletLogType = "unfreeze" // 解冻
|
||||
)
|
||||
10
consts/wallet/wallet_status.go
Normal file
10
consts/wallet/wallet_status.go
Normal file
@@ -0,0 +1,10 @@
|
||||
package wallet
|
||||
|
||||
// WalletStatus 钱包状态
|
||||
type WalletStatus int
|
||||
|
||||
const (
|
||||
WalletStatusDisabled WalletStatus = 0 // 禁用
|
||||
WalletStatusEnabled WalletStatus = 1 // 启用
|
||||
WalletStatusFrozen WalletStatus = -1 // 冻结
|
||||
)
|
||||
Reference in New Issue
Block a user