重构增加模型枚举值定义
This commit is contained in:
9
web/domains/refund/types.go
Normal file
9
web/domains/refund/types.go
Normal file
@@ -0,0 +1,9 @@
|
||||
package refund
|
||||
|
||||
type Status int32
|
||||
|
||||
const (
|
||||
StatusHandling Status = iota + 1 // 待处理
|
||||
StatusSuccess // 已退款
|
||||
StatusRefused // 已拒绝
|
||||
)
|
||||
Reference in New Issue
Block a user