diff --git a/app/hdl/hdl_sms.go b/app/hdl/hdl_sms.go index fdbb6a1..a6cb9a3 100644 --- a/app/hdl/hdl_sms.go +++ b/app/hdl/hdl_sms.go @@ -71,7 +71,7 @@ func Sms(c *gin.Context) { "zone": "86", "phone": args.Phone, } - templateCode := NewSysCfgDb.SysCfgGetWithDb("templateCode") + templateCode := NewSysCfgDb.SysCfgGetWithDb("sms_code") if templateCode != "" { where["templateCode"] = templateCode }