Files
Go-Web-Template/server/service/app/register_config.go
2026-04-23 15:29:07 +08:00

16 lines
542 B
Go

package app
import systemSvc "git.echol.cn/loser/Go-Web-Template/server/service/system"
type RegisterMode = systemSvc.RegisterMode
const (
RegisterModeClosed = systemSvc.RegisterModeClosed
RegisterModeOpen = systemSvc.RegisterModeOpen
RegisterModeInvite = systemSvc.RegisterModeInvite
)
func GetRegisterMode() RegisterMode { return systemSvc.GetRegisterMode() }
func GetRegisterRequireCaptcha() bool { return systemSvc.GetRegisterRequireCaptcha() }
func GetInviteExpireHours() int { return systemSvc.GetInviteExpireHours() }