Browse Source

更新

master
huangjiajun 1 month ago
parent
commit
96f6609d95
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,11 +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("medium_logo") logo := NewSysCfgDb.SysCfgGetWithDb("medium_logo")
re := NewSysCfgDb.SysCfgFindWithDb("seo_medium_logo", "seo_medium_title")
re := NewSysCfgDb.SysCfgFindWithDb("medium_login_logo", "seo_medium_logo", "seo_medium_title")
res := map[string]string{ res := map[string]string{
"logo": logo,
"seo_logo": re["seo_medium_logo"],
"seo_title": re["seo_medium_title"],
"logo": logo,
"login_logo": re["medium_login_logo"],
"seo_logo": re["seo_medium_logo"],
"seo_title": re["seo_medium_title"],
} }
e.OutSuc(c, res, nil) e.OutSuc(c, res, nil)
return return


Loading…
Cancel
Save