From c43b13b006a531e24ca6d7eb3256947321123322 Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Fri, 27 Sep 2024 11:35:52 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/hdl/hdl_login.go | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/app/hdl/hdl_login.go b/app/hdl/hdl_login.go index d1305d9..070e06b 100644 --- a/app/hdl/hdl_login.go +++ b/app/hdl/hdl_login.go @@ -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