用户系统增加自定义页脚

This commit is contained in:
GoEdgeLab
2022-12-28 16:36:37 +08:00
parent 9723851500
commit 51c6977123

View File

@@ -10,7 +10,8 @@ import (
type UserUIConfig struct {
ProductName string `json:"productName"` // 产品名
UserSystemName string `json:"userSystemName"` // 管理员系统名称
ShowOpenSourceInfo bool `json:"showOpenSourceInfo"` // 是否显示开源信息
ShowPageFooter bool `json:"showPageFooter"` // 是否显示页脚
PageFooterHTML string `json:"pageFooterHTML"` // 页脚HTML
ShowVersion bool `json:"showVersion"` // 是否显示版本号
Version string `json:"version"` // 显示的版本号
ShowFinance bool `json:"showFinance"` // 是否显示财务相关信息
@@ -32,7 +33,7 @@ func DefaultUserUIConfig() *UserUIConfig {
var config = &UserUIConfig{
ProductName: "GoEdge",
UserSystemName: "GoEdge用户系统",
ShowOpenSourceInfo: true,
ShowPageFooter: false,
ShowVersion: true,
ShowFinance: true,
BandwidthUnit: BandwidthUnitBit,