Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Company = company{ PermissionType: PermissionType, }
View Source
var ( PermissionType = func(modules co_interface.IConfig) *permissionType[co_interface.IConfig] { result := permissionTypeMap.GetOrSet(modules.GetConfig().KeyIndex, &permissionType[co_interface.IConfig]{ modules: modules, enumMap: kmap.New[string, Permission](), ViewDetail: base_permission.NewInIdentifier("ViewDetail", "查看明细", ""), ViewMobile: base_permission.NewInIdentifier("ViewMobile", "查看手机号", ""), Create: base_permission.NewInIdentifier("Create", "新增", ""), Update: base_permission.NewInIdentifier("Update", "更新", ""), List: base_permission.NewInIdentifier("List", "列表", ""), SetLogo: base_permission.NewInIdentifier("SetLogo", "设置LOGO", ""), SetState: base_permission.NewInIdentifier("SetState", "设置状态", ""), SetAdminUser: base_permission.NewInIdentifier("SetAdminUser", "设置管理员", ""), ViewLicense: base_permission.NewInIdentifier("ViewLicense", "查看认证信息", "查看公司认证信息"), AuditLicense: base_permission.NewInIdentifier("AuditLicense", "审核认证信息", "审核公司认证信息"), UpdateLicense: base_permission.NewInIdentifier("UpdateLicense", "更新认证信息", "更新公司认证信息"), }) for k, v := range gconv.Map(result) { result.enumMap.Set(k, v.(Permission)) } return result } )
Functions ¶
This section is empty.
Types ¶
type Permission ¶
type Permission = base_permission.IPermission
Click to show internal directories.
Click to hide internal directories.