mirror of
https://github.com/simon-ding/polaris.git
synced 2026-03-15 22:20:52 +08:00
add setting, alertbox, etc
This commit is contained in:
@@ -29,5 +29,5 @@ func (s *Server) GetSetting(c *gin.Context) (interface{}, error) {
|
||||
}
|
||||
v := s.db.GetSetting(q)
|
||||
log.Infof("get value for key %v: %v", q, v)
|
||||
return v, nil
|
||||
return gin.H{q: v}, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user