Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { rest.RestConf Auth rest.AuthConf RedisConf redis.RedisConf CoreRpc zrpc.RpcClientConf JobRpc zrpc.RpcClientConf McmsRpc zrpc.RpcClientConf Captcha captcha.Conf DatabaseConf config.DatabaseConf CasbinConf casbin.CasbinConf I18nConf i18n.Conf ProjectConf ProjectConf CROSConf config.CROSConf }
type ProjectConf ¶ added in v1.0.9
type ProjectConf struct { DefaultRoleId uint64 `json:",default=1"` DefaultDepartmentId uint64 `json:",default=1"` DefaultPositionId uint64 `json:",default=1"` EmailCaptchaExpiredTime int `json:",default=600"` SmsTemplateId string `json:",optional"` SmsAppId string `json:",optional"` SmsSignName string `json:",optional"` RegisterVerify string `json:",default=captcha,options=[captcha,email,sms,sms_or_email]"` LoginVerify string `json:",default=captcha,options=[captcha,email,sms,sms_or_email,all]"` ResetVerify string `json:",default=email,options=[email,sms,sms_or_email]"` AllowInit bool `json:",default=true"` }
Click to show internal directories.
Click to hide internal directories.