huangjiajun hace 2 semanas
padre
commit
cb6feab4f7
Se han modificado 1 ficheros con 10 adiciones y 1 borrados
  1. +10
    -1
      app/operator/hdl/hdl_login.go

+ 10
- 1
app/operator/hdl/hdl_login.go Ver fichero

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

Cargando…
Cancelar
Guardar