feat: 管理后台自定义代码

This commit is contained in:
naiba committed 2024-08-14 00:24:17 +08:00
1 parent da8fb57268
commit daab64d232
14 files changed
+43 -20

No files matched your search

+7 -6
View File
@@ -80,12 +80,13 @@ type Config struct {
Debug bool // debug模式开关
Language string // 系统语言,默认 zh-CN
Site struct {
Brand string // 站点名称
CookieName string // 浏览器 Cookie 名称
Theme string
DashboardTheme string
CustomCode string
ViewPassword string // 前台查看密码
Brand string // 站点名称
CookieName string // 浏览器 Cookie 名称
Theme string
DashboardTheme string
CustomCode string
CustomCodeDashboard string
ViewPassword string // 前台查看密码
}
Oauth2 struct {
Type string