mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2026-01-03 17:46:36 +08:00
实现基础的实名认证功能
This commit is contained in:
@@ -2,6 +2,8 @@
|
||||
|
||||
package userconfigs
|
||||
|
||||
// 认证状态
|
||||
|
||||
type UserIdentityStatus = string
|
||||
|
||||
const (
|
||||
@@ -11,8 +13,20 @@ const (
|
||||
UserIdentityStatusVerified UserIdentityStatus = "verified"
|
||||
)
|
||||
|
||||
// 认证类型
|
||||
|
||||
type UserIdentityType = string
|
||||
|
||||
const (
|
||||
UserIdentityTypeIDCard UserIdentityType = "idCard"
|
||||
UserIdentityTypeIDCard UserIdentityType = "idCard"
|
||||
UserIdentityTypeEnterpriseLicense UserIdentityType = "enterpriseLicense"
|
||||
)
|
||||
|
||||
// 组织类型
|
||||
|
||||
type UserIdentityOrgType = string
|
||||
|
||||
const (
|
||||
UserIdentityOrgTypeEnterprise UserIdentityOrgType = "enterprise"
|
||||
UserIdentityOrgTypeIndividual UserIdentityOrgType = "individual"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user