重构增加模型枚举值定义
This commit is contained in:
9
web/domains/bill/types.go
Normal file
9
web/domains/bill/types.go
Normal file
@@ -0,0 +1,9 @@
|
||||
package bill
|
||||
|
||||
type Type int32
|
||||
|
||||
const (
|
||||
TypeConsume Type = iota + 1 // 消费
|
||||
TypeRefund // 退款
|
||||
TypeRecharge // 充值
|
||||
)
|
||||
Reference in New Issue
Block a user