diff --git a/app/operator/hdl/hdl_login.go b/app/operator/hdl/hdl_login.go index 138b942..df57336 100644 --- a/app/operator/hdl/hdl_login.go +++ b/app/operator/hdl/hdl_login.go @@ -1,7 +1,9 @@ package hdl import ( + "applet/app/comm/db" "applet/app/comm/e" + svc2 "applet/app/comm/svc" "applet/app/operator/md" "applet/app/operator/svc" "github.com/gin-gonic/gin" @@ -22,5 +24,12 @@ func Sms(c *gin.Context) { svc.Sms(c) } func Base(c *gin.Context) { - + res := map[string]string{ + "enterprise_wechat_qrcode": svc2.ImageFormat(c, db.SysCfgGet(c, "camp_enterprise_wechat_qrcode")), + "own_wechat_qrcode": svc2.ImageFormat(c, db.SysCfgGet(c, "camp_own_wechat_qrcode")), + "icp_first_str": db.SysCfgGet(c, "camp_icp_first_str"), + "icp_second_str": db.SysCfgGet(c, "camp_icp_second_str"), + } + e.OutSuc(c, res, nil) + return }