feat:完善信息

This commit is contained in:
henry
2021-09-30 16:20:00 +08:00
parent 161df42060
commit bd788b8b7e
7 changed files with 118 additions and 37 deletions

View 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: "科技经纪人",
}