新增几大中心功能

This commit is contained in:
Administrator
2026-04-23 15:29:07 +08:00
parent 5c2a146a44
commit c6354ee065
123 changed files with 13074 additions and 229 deletions

View File

@@ -0,0 +1,15 @@
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() }