重构增加模型枚举值定义
This commit is contained in:
9
web/domains/user/types.go
Normal file
9
web/domains/user/types.go
Normal file
@@ -0,0 +1,9 @@
|
||||
package user
|
||||
|
||||
type IdType int32
|
||||
|
||||
const (
|
||||
IdTypeNone IdType = iota // 未认证
|
||||
IdTypePersonal // 个人认证
|
||||
IdTypeEnterprise // 企业认证
|
||||
)
|
||||
Reference in New Issue
Block a user