Browse Source

更新

master
huangjiajun 2 months ago
parent
commit
b8cea03c34
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",
"phone": args.Phone,
}
templateCode := NewSysCfgDb.SysCfgGetWithDb("templateCode")
if templateCode != "" {
where["templateCode"] = templateCode
}
send, err := sms.SmsMobApiSend(where)
if err != nil {
e.OutErr(c, 400, err.Error())


Loading…
Cancel
Save