|
|
@@ -20,11 +20,12 @@ import ( |
|
|
|
func LoginBase(c *gin.Context) { |
|
|
|
NewSysCfgDb := implement3.NewSysCfgDb(svc.MasterDb(c), c.GetString("mid")) |
|
|
|
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{ |
|
|
|
"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) |
|
|
|
return |
|
|
|