|
@@ -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 |
|
|