多个自定义内容

This commit is contained in:
微凉
2020-12-28 11:22:54 +08:00
parent bacbf7bc1b
commit 02e665ae37
2 changed files with 7 additions and 2 deletions

View File

@ -4,7 +4,11 @@ type Config struct {
Info struct{
Title string `yaml:"title" json:"title"`
SiteUrl string `yaml:"site_url" json:"site_url"`//网站url
BackendUrl string `yaml:"backend_url" json:"backend_url"`//后端地址
Logo string `yaml:"logo" json:"logo"`
FooterText string `yaml:"footer_text" json:"footer_text"`
FooterUrl string `yaml:"footer_url" json:"footer_url"`
MusicImg string `yaml:"music_img" json:"music_img"`
} `yaml:"info"`
Server struct{
Port string `yaml:"port"`//端口