用户创建服务时刻自动添加到分组、自动添加统计功能、设置是否需要绑定套餐

This commit is contained in:
GoEdgeLab
2022-01-05 15:55:25 +08:00
parent e70c5acc0b
commit bf650cc383
3 changed files with 19 additions and 1 deletions

View File

@@ -5,7 +5,6 @@ package userconfigs
type UserRegisterConfig struct {
IsOn bool `yaml:"isOn" json:"isOn"` // 是否启用用户注册
ClusterId int64 `yaml:"clusterId" json:"clusterId"` // 用户创建服务集群
ServerGroupIds []int64 `yaml:"serverGroupIds" json:"serverGroupIds"` // 用户注册的服务所在分组
ComplexPassword bool `yaml:"complexPassword" json:"complexPassword"` // 必须使用复杂密码
Features []string `yaml:"features" json:"features"` // 默认启用的功能
RequireVerification bool `yaml:"requireVerification" json:"requireVerification"` // 是否需要审核