1.4.5.2
This commit is contained in:
32
EdgeCommon/pkg/userconfigs/user_identity_constants.go
Normal file
32
EdgeCommon/pkg/userconfigs/user_identity_constants.go
Normal file
@@ -0,0 +1,32 @@
|
||||
// Copyright 2022 Liuxiangchao iwind.liu@gmail.com. All rights reserved. Official site: https://goedge.cn .
|
||||
|
||||
package userconfigs
|
||||
|
||||
// 认证状态
|
||||
|
||||
type UserIdentityStatus = string
|
||||
|
||||
const (
|
||||
UserIdentityStatusNone UserIdentityStatus = "none"
|
||||
UserIdentityStatusSubmitted UserIdentityStatus = "submitted"
|
||||
UserIdentityStatusRejected UserIdentityStatus = "rejected"
|
||||
UserIdentityStatusVerified UserIdentityStatus = "verified"
|
||||
)
|
||||
|
||||
// 认证类型
|
||||
|
||||
type UserIdentityType = string
|
||||
|
||||
const (
|
||||
UserIdentityTypeIDCard UserIdentityType = "idCard"
|
||||
UserIdentityTypeEnterpriseLicense UserIdentityType = "enterpriseLicense"
|
||||
)
|
||||
|
||||
// 组织类型
|
||||
|
||||
type UserIdentityOrgType = string
|
||||
|
||||
const (
|
||||
UserIdentityOrgTypeEnterprise UserIdentityOrgType = "enterprise"
|
||||
UserIdentityOrgTypeIndividual UserIdentityOrgType = "individual"
|
||||
)
|
||||
Reference in New Issue
Block a user