feat:完善信息
This commit is contained in:
21
app/basic/config/tenant.go
Normal file
21
app/basic/config/tenant.go
Normal file
@ -0,0 +1,21 @@
|
||||
package config
|
||||
|
||||
// TenantUserIdentity 租户用户身份信息
|
||||
type TenantUserIdentity int
|
||||
|
||||
const (
|
||||
TenantUserIdentityForPerson int = 0 // 0
|
||||
TenantUserIdentityForCompany int = 1 // 1
|
||||
TenantUserIdentityForExpert int = 1 << 1 // 2
|
||||
TenantUserIdentityForResearch int = 1 << 2 // 4
|
||||
TenantUserIdentityForLaboratory int = 1 << 3 // 8
|
||||
TenantUserIdentityForAgent int = 1 << 4 // 16
|
||||
)
|
||||
|
||||
// TenantUserIdentityData 用户身份信息
|
||||
var TenantUserIdentityData = map[int]string{
|
||||
TenantUserIdentityForPerson: "个人",
|
||||
TenantUserIdentityForCompany: "企业", TenantUserIdentityForExpert: "专家",
|
||||
TenantUserIdentityForResearch: "研究机构", TenantUserIdentityForLaboratory: "实验室",
|
||||
TenantUserIdentityForAgent: "科技经纪人",
|
||||
}
|
Reference in New Issue
Block a user