mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-11-04 21:50:26 +08:00
用户系统增加自定义页脚
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user