feat: 添加简单模式功能

新增简单模式设置,适合个人使用场景:
- 隐藏多用户管理相关菜单(用户管理、兑换码等)
- 自动关闭用户注册功能
- 管理员并发数自动设为无限制(99999)
- 侧边栏根据模式动态调整菜单项

同时优化分组页面的"专属分组"功能,添加帮助提示说明使用场景
This commit is contained in:
shaw
2025-12-28 22:19:18 +08:00
parent fb9d087838
commit 7d4b7deea9
16 changed files with 378 additions and 90 deletions

View File

@@ -25,6 +25,8 @@ type SystemSettings struct {
DefaultConcurrency int
DefaultBalance float64
SimpleMode bool // 简单模式
}
type PublicSettings struct {
@@ -39,4 +41,5 @@ type PublicSettings struct {
ContactInfo string
DocUrl string
Version string
SimpleMode bool // 简单模式
}