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