瀏覽代碼

更新

master
huangjiajun 2 月之前
父節點
當前提交
96f6609d95
共有 1 個文件被更改,包括 5 次插入4 次删除
  1. +5
    -4
      app/hdl/hdl_login.go

+ 5
- 4
app/hdl/hdl_login.go 查看文件

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


Loading…
取消
儲存