Browse Source

更新

master
huangjiajun 2 months ago
parent
commit
a0ca7c19e8
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      app/hdl/hdl_login.go

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

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

res := map[string]string{ res := map[string]string{
"logo": logo,
"logo": logo,
"seo_logo": re["seo_platform_logo"],
"seo_title": re["seo_platform_title"],
} }
e.OutSuc(c, res, nil) e.OutSuc(c, res, nil)
return return


Loading…
Cancel
Save