Skip to content

Commit

Permalink
config value
Browse files Browse the repository at this point in the history
  • Loading branch information
bbbbbbbbbbbbba committed Aug 6, 2019
1 parent ef58e94 commit 8fb4fe0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions controllers/api/config_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ type ConfigController struct {

func (this *ConfigController) GetConfigs() *simple.JsonResult {
var (
siteTitle = cache.SysConfigCache.Get(model.SysConfigSiteTitle)
siteDescription = cache.SysConfigCache.Get(model.SysConfigSiteDescription)
siteKeywords = cache.SysConfigCache.Get(model.SysConfigSiteKeywords)
siteTitle = cache.SysConfigCache.GetValue(model.SysConfigSiteTitle)
siteDescription = cache.SysConfigCache.GetValue(model.SysConfigSiteDescription)
siteKeywords = cache.SysConfigCache.GetValue(model.SysConfigSiteKeywords)
)

return simple.JsonData(iris.Map{
Expand Down

0 comments on commit 8fb4fe0

Please sign in to comment.