Browse Source

更新

master
huangjiajun 1 month ago
parent
commit
da550d9392
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      app/hdl/hdl_sms.go

+ 4
- 0
app/hdl/hdl_sms.go View File

@@ -71,6 +71,10 @@ func Sms(c *gin.Context) {
"zone": "86", "zone": "86",
"phone": args.Phone, "phone": args.Phone,
} }
templateCode := NewSysCfgDb.SysCfgGetWithDb("templateCode")
if templateCode != "" {
where["templateCode"] = templateCode
}
send, err := sms.SmsMobApiSend(where) send, err := sms.SmsMobApiSend(where)
if err != nil { if err != nil {
e.OutErr(c, 400, err.Error()) e.OutErr(c, 400, err.Error())


Loading…
Cancel
Save