Browse Source

基本设置

master
huangjiajun 1 day ago
parent
commit
2cfe269edf
2 changed files with 4 additions and 0 deletions
  1. +3
    -0
      app/hdl/hdl_config.go
  2. +1
    -0
      app/md/md_config.go

+ 3
- 0
app/hdl/hdl_config.go View File

@@ -55,6 +55,9 @@ func Config(c *gin.Context) {
SeoLogo: svc.GetOssUrl(svc.GetSysCfgStr("seo_logo")),
WebLogo: svc.GetOssUrl(svc.GetSysCfgStr("web_logo")),
}
link := svc.GetSysCfgStr("kuaizhan_url")
link += "?type=download"
res.DownViewUrl = link
e.OutSuc(c, res, nil)
return
}


+ 1
- 0
app/md/md_config.go View File

@@ -10,6 +10,7 @@ type ConfigResp struct {
OssUrl string `json:"oss_url" example:"阿里云图片链接"`
Guide []Guide `json:"guide"`
DownUrl string `json:"down_url"`
DownViewUrl string `json:"down_view_url"`
Seo Seo `json:"seo"`
}
type Seo struct {


Loading…
Cancel
Save