Browse Source

更新

master
huangjiajun 1 month ago
parent
commit
c43b13b006
1 changed files with 5 additions and 4 deletions
  1. +5
    -4
      app/hdl/hdl_login.go

+ 5
- 4
app/hdl/hdl_login.go View File

@@ -20,12 +20,13 @@ import (
func LoginBase(c *gin.Context) {
NewSysCfgDb := implement3.NewSysCfgDb(svc.MasterDb(c), c.GetString("mid"))
logo := NewSysCfgDb.SysCfgGetWithDb("agent_logo")
re := NewSysCfgDb.SysCfgFindWithDb("seo_agent_logo", "seo_agent_title")
re := NewSysCfgDb.SysCfgFindWithDb("agent_login_logo", "seo_agent_logo", "seo_agent_title")

res := map[string]string{
"logo": logo,
"seo_logo": re["seo_agent_logo"],
"seo_title": re["seo_agent_title"],
"logo": logo,
"login_logo": re["agent_login_logo"],
"seo_logo": re["seo_agent_logo"],
"seo_title": re["seo_agent_title"],
}
e.OutSuc(c, res, nil)
return


Loading…
Cancel
Save